diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-11-06 12:21:28 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-11-06 12:24:43 +0100 |
commit | 1f3f933edf06ddc7dcb8e474fd845c99d8be01f9 (patch) | |
tree | 51d2ce0a645a1b600eb849690b6ca57ee9323351 /gdk/gdkwindow.c | |
parent | 21189b9f7e158fe629b0924bf9ca74d66a5a8d76 (diff) | |
download | gtk+-1f3f933edf06ddc7dcb8e474fd845c99d8be01f9.tar.gz |
GdkX11GLContext: Use bitblit for swap if no buffer age support
If buffer age is undefined and the updated area is not the whole
window then we use bit-blits instead of swap-buffers to end the
frame.
This allows us to not repaint the entire window unnecessarily if
buffer_age is not supported, like e.g. with DRI2.
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r-- | gdk/gdkwindow.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index bc9856975b..5970ee38e7 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3108,9 +3108,6 @@ gdk_window_end_paint (GdkWindow *window) gdk_gl_context_end_frame (window->gl_paint_context, window->current_paint.region, window->active_update_area); - - if (epoxy_has_gl_extension ("GL_GREMEDY_frame_terminator")) - glFrameTerminatorGREMEDY(); } else { |