forked from GNOME/gtk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GdkGLContext: Never use glXSwapIntervalSGI on composited WMs
Delaying the copy of the backbuffer to the front buffer until the vblank doesn't make sense when the frontbuffer is not the real screen, as the copy will not flicker anyway. It is the responsibility of the compositor to sync *its* drawing of the window to the vblank. The other reason to delay to vblank is to avoid rendering all the time and sync each frame to the actual frame rate. However, we already handle this in Gtk+ via the frame clock, so this should not be needed.
- Loading branch information
1 parent
cc61ddb
commit 06fcaa2
Showing
2 changed files
with
18 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