summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-07-26 15:50:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-07-26 16:00:43 +0100
commit91faf9c1cf79f44b48c0f14d2d551a68bf38b5a5 (patch)
treee861a74cc04c860327df558388c7846a144dd6c8 /src/cairo-xcb-private.h
parenta69335a84eb9225b477cc8c753470eb3805b852c (diff)
downloadcairo-91faf9c1cf79f44b48c0f14d2d551a68bf38b5a5.tar.gz
composite: Pass unbounded extents to initialisation
For an unbounded surface we cannot assume (0, 0, surface_width, surface_height) as that is wrong and causes the operation to appear clipped. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r--src/cairo-xcb-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h
index 5b3e2b434..d9f443cd5 100644
--- a/src/cairo-xcb-private.h
+++ b/src/cairo-xcb-private.h
@@ -373,6 +373,10 @@ _cairo_xcb_surface_create_internal (cairo_xcb_screen_t *screen,
int width,
int height);
+cairo_private cairo_bool_t
+_cairo_xcb_surface_get_extents (void *abstract_surface,
+ cairo_rectangle_int_t *extents);
+
cairo_private cairo_int_status_t
_cairo_xcb_surface_cairo_paint (cairo_xcb_surface_t *surface,
cairo_operator_t op,