forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1484812 - Use SwapBuffersWithDamage on EGL platforms (Wayland/And…
…roid) r=jnicol,mstange,jgilbert EGL_KHR_swap_buffers_with_damage (or EGL_EXT_swap_buffers_with_damage) is an EGL extension that allows the application to inform the display server (system compositor) which areas of the window have changed. This commit implements support for that extension in the layers compositor. The layers compositor always renders the whole frame, so we're only getting the benefit of not redrawing unchanged areas *in the system compositor*, not actually doing partial invalidation/compositing, but that makes the implementation simpler (no need to track buffer age). Differential Revision: https://phabricator.services.mozilla.com/D51517
- Loading branch information
1 parent
628d88a
commit 95ccb8d
Showing
7 changed files
with
87 additions
and
2 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
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
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