[gtk+/gtk-3-14] gdk_window_end_paint: Flush destination surface after paint
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] gdk_window_end_paint: Flush destination surface after paint
- Date: Mon, 10 Nov 2014 14:32:52 +0000 (UTC)
commit a32967731122f50636eb88d62c4948a76a586bdb
Author: Alexander Larsson <alexl redhat com>
Date: Mon Nov 10 15:24:14 2014 +0100
gdk_window_end_paint: Flush destination surface after paint
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).
(cherry picked from commit 90555e06beb929c4491a58b6136aa9f0f8ae1fae)
gdk/gdkwindow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index ae29609..b6ac2d9 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2864,6 +2864,8 @@ gdk_window_end_paint (GdkWindow *window)
cairo_destroy (cr);
cairo_region_destroy (full_clip);
+
+ cairo_surface_flush (surface);
}
gdk_window_free_current_paint (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]