diff options
author | Uli Schlachter <psychon@znc.in> | 2011-07-08 17:09:45 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2011-07-09 09:42:22 +0200 |
commit | e775db35d9306b74867f981a08d253562b15cffd (patch) | |
tree | 1f2623f57e37b1a08c5611bef46b74f57508adb5 /src/cairo-xcb-private.h | |
parent | 5b9205cc52f50f997c9cd6c5a64faf783d83310f (diff) | |
download | cairo-e775db35d9306b74867f981a08d253562b15cffd.tar.gz |
xcb: Move cairo_xcb_picture_t to cairo-xcb-private.h
The next commit will make cairo-xcb-screen.c use this struct and add new
members. Splitting off the move into its own commits makes that easier to
understand.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xcb-private.h')
-rw-r--r-- | src/cairo-xcb-private.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h index 45b7bbee1..82e05c3cf 100644 --- a/src/cairo-xcb-private.h +++ b/src/cairo-xcb-private.h @@ -63,6 +63,7 @@ typedef struct _cairo_xcb_connection cairo_xcb_connection_t; typedef struct _cairo_xcb_font cairo_xcb_font_t; typedef struct _cairo_xcb_screen cairo_xcb_screen_t; typedef struct _cairo_xcb_surface cairo_xcb_surface_t; +typedef struct _cairo_xcb_picture cairo_xcb_picture_t; typedef struct _cairo_xcb_shm_mem_pool cairo_xcb_shm_mem_pool_t; typedef struct _cairo_xcb_shm_info cairo_xcb_shm_info_t; @@ -105,6 +106,25 @@ struct _cairo_xcb_surface { cairo_list_t link; }; +struct _cairo_xcb_picture { + cairo_surface_t base; + + cairo_xcb_screen_t *screen; + xcb_render_picture_t picture; + xcb_render_pictformat_t xrender_format; + pixman_format_code_t pixman_format; + + int width, height; + + cairo_extend_t extend; + cairo_filter_t filter; + cairo_bool_t has_component_alpha; + xcb_render_transform_t transform; + + int x0, y0; + int x, y; +}; + #if CAIRO_HAS_XLIB_XCB_FUNCTIONS typedef struct _cairo_xlib_xcb_surface { cairo_surface_t base; |