diff options
Diffstat (limited to 'common/canvas_utils.h')
-rw-r--r-- | common/canvas_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/canvas_utils.h b/common/canvas_utils.h index 1c78ffa..b81a6f9 100644 --- a/common/canvas_utils.h +++ b/common/canvas_utils.h @@ -30,8 +30,14 @@ typedef struct PixmanData { HANDLE mutex; #endif uint8_t *data; + pixman_format_code_t format; } PixmanData; +void spice_pixman_image_set_format(pixman_image_t *image, + pixman_format_code_t format); +pixman_format_code_t spice_pixman_image_get_format(pixman_image_t *image); + + #ifdef WIN32 pixman_image_t *surface_create(HDC dc, pixman_format_code_t format, int width, int height, int top_down); |