diff options
author | Uli Schlachter <psychon@znc.in> | 2011-01-26 21:10:59 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2011-01-26 21:10:59 +0100 |
commit | 00b1eac4b0df7a169ce0796850ed7a17bef69416 (patch) | |
tree | 4c3a803f406f00a209958e1d6930d56dfa373932 /src/cairo-xcb-connection.c | |
parent | 9e7ce0c3525064aa32da90be89e805aff6829c9b (diff) | |
download | cairo-00b1eac4b0df7a169ce0796850ed7a17bef69416.tar.gz |
xcb: Document all public functions
These docs are based upon cairo-xlib and the existing documentations for
cairo_xcb_surface_create_with_xrender_format.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-connection.c')
-rw-r--r-- | src/cairo-xcb-connection.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c index 73f70b1b3..809833756 100644 --- a/src/cairo-xcb-connection.c +++ b/src/cairo-xcb-connection.c @@ -792,6 +792,19 @@ _cairo_xcb_connection_get_xid (cairo_xcb_connection_t *connection) /* public (debug) interface */ +/** + * cairo_xcb_device_debug_cap_xshm_version: + * @device: a #cairo_device_t for the XCB backend + * @major_version: major version to restrict to + * @minor_version: minor version to restrict to + * + * Restricts all future XCB surfaces for this devices to the specified version + * of the SHM extension. This function exists solely for debugging purpose. + * It let's you find out how cairo would behave with an older version of + * the SHM extension. + * + * Use the special values -1 and -1 for disabling the SHM extension. + **/ void cairo_xcb_device_debug_cap_xshm_version (cairo_device_t *device, int major_version, @@ -811,6 +824,19 @@ cairo_xcb_device_debug_cap_xshm_version (cairo_device_t *device, } } +/** + * cairo_xcb_device_debug_cap_xrender_version: + * @device: a #cairo_device_t for the XCB backend + * @major_version: major version to restrict to + * @minor_version: minor version to restrict to + * + * Restricts all future XCB surfaces for this devices to the specified version + * of the RENDER extension. This function exists solely for debugging purpose. + * It let's you find out how cairo would behave with an older version of + * the RENDER extension. + * + * Use the special values -1 and -1 for disabling the RENDER extension. + **/ void cairo_xcb_device_debug_cap_xrender_version (cairo_device_t *device, int major_version, |