[cairo] [PATCH 2/6] xlib: Add symbols to indicate if XRender supports GOOD/BEST filtering
Bill Spitzak
spitzak at gmail.com
Thu Oct 9 19:46:12 PDT 2014
Currently these are always false, but if some version of xlib uses
a pixman supporting filtering they could be changed to return true
for that version.
---
src/cairo-xlib-private.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h
index 822c85b..6d37896 100644
--- a/src/cairo-xlib-private.h
+++ b/src/cairo-xlib-private.h
@@ -373,6 +373,8 @@ _cairo_xlib_font_close (cairo_xlib_font_t *font);
#define CAIRO_RENDER_HAS_PICTURE_TRANSFORM(surface) CAIRO_RENDER_AT_LEAST((surface), 0, 6)
#define CAIRO_RENDER_HAS_FILTERS(surface) CAIRO_RENDER_AT_LEAST((surface), 0, 6)
+#define CAIRO_RENDER_HAS_FILTER_GOOD(surface) FALSE
+#define CAIRO_RENDER_HAS_FILTER_BEST(surface) FALSE
#define CAIRO_RENDER_HAS_EXTENDED_REPEAT(surface) CAIRO_RENDER_AT_LEAST((surface), 0, 10)
#define CAIRO_RENDER_HAS_GRADIENTS(surface) CAIRO_RENDER_AT_LEAST((surface), 0, 10)
--
1.7.9.5
More information about the cairo
mailing list