[Webkit-unassigned] [Bug 272455] New: [GTK][WPE] Ensure that WebGL changes trigger a single composition
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 10 06:47:56 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=272455
Bug ID: 272455
Summary: [GTK][WPE] Ensure that WebGL changes trigger a single
composition
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: magomez at igalia.com
CC: bugs-noreply at webkitgtk.org
When there are WebGL changes, the canvas indicates that it needs to be displayed, which triggers a layerFlush:
- During this layerflush, Nicosia::GCGLANGLELayer::swapBuffersIfNeeded() is called, which pushes a new buffer into TextureMapperPlatformLayerProxy[GL|DMABuf]. In response to this, the proxy requests a composition directly to the compositor to show the new content.
- At the end of the layerFlush, a composition to show the modified content is always made.
- This causes that we have 2 compositions requested. Depending on the conditions, these two requests can be merged into a single one or trigger two different compositions, which is a waste or resources and can desync the equilibrium between the main thread and the composition.
We need to ensure that WebGL changes request a single composition.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240410/5d2e048e/attachment.htm>
More information about the webkit-unassigned
mailing list