mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 17:18:42 +02:00
xlib-xcb: Wrap cairo_xlib_device_debug_cap_xrender_version
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
7e3c963191
commit
716a79bfcb
1 changed files with 16 additions and 0 deletions
|
|
@ -794,6 +794,22 @@ cairo_xlib_surface_get_height (cairo_surface_t *abstract_surface)
|
|||
return surface->xcb->height;
|
||||
}
|
||||
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue