From 1f3f933edf06ddc7dcb8e474fd845c99d8be01f9 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 6 Nov 2014 12:21:28 +0100 Subject: 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. --- gdk/gdkwindow.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdk/gdkwindow.c') 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 { -- cgit v1.2.1