[cairo-commit] src/cairo-xlib-xcb-surface.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Feb 22 13:34:40 PST 2012


 src/cairo-xlib-xcb-surface.c |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

New commits:
commit 716a79bfcbc97401a9c43434783068b40da9a1f4
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Feb 22 21:33:43 2012 +0000

    xlib-xcb: Wrap cairo_xlib_device_debug_cap_xrender_version
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-xlib-xcb-surface.c b/src/cairo-xlib-xcb-surface.c
index 0260a0f..2f8fb4c 100644
--- a/src/cairo-xlib-xcb-surface.c
+++ b/src/cairo-xlib-xcb-surface.c
@@ -795,6 +795,22 @@ cairo_xlib_surface_get_height (cairo_surface_t *abstract_surface)
 }
 
 void
+cairo_xlib_device_debug_cap_xrender_version (cairo_device_t *device,
+					     int major, int minor)
+{
+    cairo_xlib_xcb_display_t *display = (cairo_xlib_xcb_display_t *) device;
+
+    if (device == NULL || device->status)
+	return;
+
+    if (device->backend->type != CAIRO_DEVICE_TYPE_XLIB)
+	return;
+
+    cairo_xcb_device_debug_cap_xrender_version (display->xcb_device,
+						major, minor);
+}
+
+void
 cairo_xlib_device_debug_set_precision (cairo_device_t *device,
 				       int precision)
 {


More information about the cairo-commit mailing list