[gtk+/wip/mir-gdkgl] mir: don't swap buffers when painting with gl
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/mir-gdkgl] mir: don't swap buffers when painting with gl
- Date: Wed, 19 Nov 2014 13:41:25 +0000 (UTC)
commit 53a9f3800ab692902707daf6c66bdc32ff99a008
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Wed Nov 19 14:41:05 2014 +0100
mir: don't swap buffers when painting with gl
This seems to break forever the egl_swap_buffers_with_damage support,
but fixes rendering issues we had before.
gdk/mir/gdkmirwindowimpl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/mir/gdkmirwindowimpl.c b/gdk/mir/gdkmirwindowimpl.c
index 90d4720..18f837e 100644
--- a/gdk/mir/gdkmirwindowimpl.c
+++ b/gdk/mir/gdkmirwindowimpl.c
@@ -677,7 +677,7 @@ gdk_mir_window_impl_end_paint (GdkWindow *window)
GdkMirWindowImpl *impl = GDK_MIR_WINDOW_IMPL (window->impl);
//g_printerr ("gdk_mir_window_impl_end_paint window=%p\n", window);
- if (impl->visible)
+ if (impl->visible && !window->current_paint.use_gl)
send_buffer (window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]