Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1674bd87b1631d974563c1b390ad3c8c1ebbfdb4 https://github.com/WebKit/WebKit/commit/1674bd87b1631d974563c1b390ad3c8c1ebbfdb4 Author: Kimmo Kinnunen <kkinnu...@apple.com> Date: 2025-04-14 (Mon, 14 Apr 2025)
Changed paths: M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferSetProxy.cpp Log Message: ----------- GPUP: Drawing spends time in obtaining refs of connection and backend for RemoteDisplayListRecorderProxy https://bugs.webkit.org/show_bug.cgi?id=291361 rdar://148979640 Reviewed by Simon Fraser. For each function that needs RemoteRenderingBackend, convert the weak pointer to strong one only once. For send functions, resolve the connection once upon need and keep using it until crash. Remove the stored connection on disconnect(). * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp: (WebKit::RemoteDisplayListRecorderProxy::send): (WebKit::RemoteDisplayListRecorderProxy::recordResourceUse): (WebKit::RemoteDisplayListRecorderProxy::disconnect): (WebKit::RemoteDisplayListRecorderProxy::connection const): Deleted. * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h: * Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferSetProxy.cpp: (WebKit::RemoteImageBufferSetProxy::disconnect): Canonical link: https://commits.webkit.org/293678@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes