Bug 272663 - [GTK][WPE] Sync WebGL content with fences when available
Summary: [GTK][WPE] Sync WebGL content with fences when available
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Miguel Gomez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-15 02:41 PDT by Miguel Gomez
Modified: 2024-04-15 05:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Gomez 2024-04-15 02:41:48 PDT
We need to ensure that the WebGL content rendered is finished when it's accessed from the compositor thread to perform the composition. In order to that, we need to add a fence when a new WebGL buffer is pushed, and wait for that fence before the buffer is painted.
Comment 1 Miguel Gomez 2024-04-15 03:40:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/27252
Comment 2 EWS 2024-04-15 05:23:44 PDT
Committed 277495@main (930c92835e20): <https://commits.webkit.org/277495@main>

Reviewed commits have been landed. Closing PR #27252 and removing active labels.