RESOLVED FIXED277134
[GTK][WPE] Use glWaitSync instead of glClientWaitSync in GLFence when possible
https://bugs.webkit.org/show_bug.cgi?id=277134
Summary [GTK][WPE] Use glWaitSync instead of glClientWaitSync in GLFence when possible
Miguel Gomez
Reported 2024-07-26 02:37:36 PDT
There are 2 funcions to wait for a gl fence. One is glClientWaitSync, which blocks until the fence is signalled, and the other is glWaitSync, which doesn't block, but stops the gl command execution of that context until the fence is signalled. The second method renders a better performance in the cases when it can be used. GLFence only supports glClientWaitSync at the moment. We need to add glWaitSync as well and make the calls to wait to use one method or the other as needed.
Attachments
Miguel Gomez
Comment 1 2024-07-26 03:18:57 PDT
Miguel Gomez
Comment 2 2024-07-26 04:58:58 PDT
EWS
Comment 3 2024-07-26 05:28:06 PDT
Committed 281396@main (0df52bc9b273): <https://commits.webkit.org/281396@main> Reviewed commits have been landed. Closing PR #31284 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.