[cairo] [PATCH 2/3] gl/msaa: Ignore the antialiasing property of the clip.

Martin Robinson mrobinson at igalia.com
Thu Dec 15 10:49:27 PST 2011


If the clip suggests anti-aliasing and we don't support it,
draw the clip anyway. Currently disabling anti-aliasing does
not disable anti-aliasing on certain clips.
---
 src/cairo-gl-msaa-compositor.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/cairo-gl-msaa-compositor.c b/src/cairo-gl-msaa-compositor.c
index bfd23d4..1f3c006 100644
--- a/src/cairo-gl-msaa-compositor.c
+++ b/src/cairo-gl-msaa-compositor.c
@@ -141,11 +141,6 @@ _draw_clip (cairo_gl_context_t		*ctx,
     if (unlikely (status))
 	return status;

-    if (antialias != CAIRO_ANTIALIAS_NONE) {
-	_cairo_polygon_fini (&polygon);
-	return CAIRO_INT_STATUS_UNSUPPORTED;
-    }
-
     _cairo_traps_init (&traps);
     status = _cairo_bentley_ottmann_tessellate_polygon (&traps,
 							&polygon,
-- 
1.7.5.4



More information about the cairo mailing list