mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/WebGL: Use eglWaitUntilWorkScheduledANGLE instead of glFlush
With the Metal backend, glFlush flushes the command buffer, but doesn't wait for the commands to be scheduled on the GPU. eglWaitUntilWorkScheduledANGLE does wait, hence the name. This fixes flickering on Rive animations rendered with WebGL.
This commit is contained in:
parent
426cd455bc
commit
3139f6a25a
Notes:
github-actions[bot]
2025-06-09 21:41:43 +00:00
Author: https://github.com/Lubrsi
Commit: 3139f6a25a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4056
Reviewed-by: https://github.com/ADKaster
4 changed files with 29 additions and 20 deletions
|
@ -31,6 +31,8 @@ public:
|
|||
|
||||
void make_current();
|
||||
|
||||
void present(bool preserve_drawing_buffer);
|
||||
|
||||
void set_size(Gfx::IntSize const&);
|
||||
|
||||
RefPtr<Gfx::PaintingSurface> surface();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue