[gtk+/wip/otte/rendernode: 23/29] gsk: Don't overdraw with transparent
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/rendernode: 23/29] gsk: Don't overdraw with transparent
- Date: Thu, 22 Dec 2016 03:29:56 +0000 (UTC)
commit b1278c366626bc11a7943a82a29833275857f585
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 21 18:14:51 2016 +0100
gsk: Don't overdraw with transparent
That code doesn't do anything.
And what the code should be doing (clearing the abckground) isn't
necessary as cairo drawing is guaranteed to clear the surface.
gsk/gskcairorenderer.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gsk/gskcairorenderer.c b/gsk/gskcairorenderer.c
index 3a83b65..4589755 100644
--- a/gsk/gskcairorenderer.c
+++ b/gsk/gskcairorenderer.c
@@ -65,12 +65,6 @@ gsk_cairo_renderer_render (GskRenderer *renderer,
gsk_renderer_get_viewport (renderer, &self->viewport);
- cairo_save (cr);
- cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
- cairo_set_source_rgba (cr, 0, 0, 0, 0);
- cairo_paint (cr);
- cairo_restore (cr);
-
if (GSK_RENDER_MODE_CHECK (GEOMETRY))
{
cairo_save (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]