-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
egl-swap: support eglSwapBuffersWithDamage with damage_thread
If we have a damage thread, we were previously ignoring all of the damage rectangles provided by the client. This uses a small lock-free ring-buffer between the producer and consumer threads to pass the damage region to the damage thread where they will ultimately be passed to the underlying EGL implementation. This fixes GTK 4 sending appropriate damage regions with NVIDIA when EGL is used on Wayland.
- Loading branch information
Showing
3 changed files
with
125 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters