aboutsummaryrefslogtreecommitdiff
path: root/include/xcb/render.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2015-02-22 21:39:56 +0100
committermarha <marha@users.sourceforge.net>2015-02-22 21:39:56 +0100
commit462f18c7b25fe3e467f837647d07ab0a78aa8d2b (patch)
treefc8013c0a1bac05a1945846c1697e973f4c35013 /include/xcb/render.h
parent36f711ee12b6dd5184198abed3aa551efb585587 (diff)
downloadvcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.gz
vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.bz2
vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.zip
Merged origin/release (checked in because wanted to merge new stuff)
Diffstat (limited to 'include/xcb/render.h')
-rw-r--r--include/xcb/render.h387
1 files changed, 383 insertions, 4 deletions
diff --git a/include/xcb/render.h b/include/xcb/render.h
index 0fe0cb8bd..cee2a0987 100644
--- a/include/xcb/render.h
+++ b/include/xcb/render.h
@@ -575,6 +575,25 @@ typedef struct xcb_render_query_pict_index_values_reply_t {
uint8_t pad1[20]; /**< */
} xcb_render_query_pict_index_values_reply_t;
+/**
+ * @brief xcb_render_create_picture_value_list_t
+ **/
+typedef struct xcb_render_create_picture_value_list_t {
+ uint32_t repeat; /**< */
+ xcb_render_picture_t alphamap; /**< */
+ int32_t alphaxorigin; /**< */
+ int32_t alphayorigin; /**< */
+ int32_t clipxorigin; /**< */
+ int32_t clipyorigin; /**< */
+ xcb_pixmap_t clipmask; /**< */
+ uint32_t graphicsexposure; /**< */
+ uint32_t subwindowmode; /**< */
+ uint32_t polyedge; /**< */
+ uint32_t polymode; /**< */
+ xcb_atom_t dither; /**< */
+ uint32_t componentalpha; /**< */
+} xcb_render_create_picture_value_list_t;
+
/** Opcode for xcb_render_create_picture. */
#define XCB_RENDER_CREATE_PICTURE 4
@@ -591,6 +610,25 @@ typedef struct xcb_render_create_picture_request_t {
uint32_t value_mask; /**< */
} xcb_render_create_picture_request_t;
+/**
+ * @brief xcb_render_change_picture_value_list_t
+ **/
+typedef struct xcb_render_change_picture_value_list_t {
+ uint32_t repeat; /**< */
+ xcb_render_picture_t alphamap; /**< */
+ int32_t alphaxorigin; /**< */
+ int32_t alphayorigin; /**< */
+ int32_t clipxorigin; /**< */
+ int32_t clipyorigin; /**< */
+ xcb_pixmap_t clipmask; /**< */
+ uint32_t graphicsexposure; /**< */
+ uint32_t subwindowmode; /**< */
+ uint32_t polyedge; /**< */
+ uint32_t polymode; /**< */
+ xcb_atom_t dither; /**< */
+ uint32_t componentalpha; /**< */
+} xcb_render_change_picture_value_list_t;
+
/** Opcode for xcb_render_change_picture. */
#define XCB_RENDER_CHANGE_PICTURE 5
@@ -1714,6 +1752,20 @@ xcb_render_query_pict_index_values_reply (xcb_connection_t
xcb_generic_error_t **e /**< */);
int
+xcb_render_create_picture_value_list_serialize (void **_buffer /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_create_picture_value_list_t *_aux /**< */);
+
+int
+xcb_render_create_picture_value_list_unpack (const void *_buffer /**< */,
+ uint32_t value_mask /**< */,
+ xcb_render_create_picture_value_list_t *_aux /**< */);
+
+int
+xcb_render_create_picture_value_list_sizeof (const void *_buffer /**< */,
+ uint32_t value_mask /**< */);
+
+int
xcb_render_create_picture_sizeof (const void *_buffer /**< */);
/**
@@ -1733,7 +1785,7 @@ xcb_render_create_picture_checked (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
xcb_render_pictformat_t format /**< */,
uint32_t value_mask /**< */,
- const uint32_t *value_list /**< */);
+ const void *value_list /**< */);
/**
*
@@ -1749,7 +1801,59 @@ xcb_render_create_picture (xcb_connection_t *c /**< */,
xcb_drawable_t drawable /**< */,
xcb_render_pictformat_t format /**< */,
uint32_t value_mask /**< */,
- const uint32_t *value_list /**< */);
+ const void *value_list /**< */);
+
+/**
+ *
+ * @param c The connection
+ * @return A cookie
+ *
+ * Delivers a request to the X server.
+ *
+ * This form can be used only if the request will not cause
+ * a reply to be generated. Any returned error will be
+ * saved for handling by xcb_request_check().
+ */
+xcb_void_cookie_t
+xcb_render_create_picture_aux_checked (xcb_connection_t *c /**< */,
+ xcb_render_picture_t pid /**< */,
+ xcb_drawable_t drawable /**< */,
+ xcb_render_pictformat_t format /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_create_picture_value_list_t *value_list /**< */);
+
+/**
+ *
+ * @param c The connection
+ * @return A cookie
+ *
+ * Delivers a request to the X server.
+ *
+ */
+xcb_void_cookie_t
+xcb_render_create_picture_aux (xcb_connection_t *c /**< */,
+ xcb_render_picture_t pid /**< */,
+ xcb_drawable_t drawable /**< */,
+ xcb_render_pictformat_t format /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_create_picture_value_list_t *value_list /**< */);
+
+void *
+xcb_render_create_picture_value_list (const xcb_render_create_picture_request_t *R /**< */);
+
+int
+xcb_render_change_picture_value_list_serialize (void **_buffer /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_change_picture_value_list_t *_aux /**< */);
+
+int
+xcb_render_change_picture_value_list_unpack (const void *_buffer /**< */,
+ uint32_t value_mask /**< */,
+ xcb_render_change_picture_value_list_t *_aux /**< */);
+
+int
+xcb_render_change_picture_value_list_sizeof (const void *_buffer /**< */,
+ uint32_t value_mask /**< */);
int
xcb_render_change_picture_sizeof (const void *_buffer /**< */);
@@ -1769,7 +1873,7 @@ xcb_void_cookie_t
xcb_render_change_picture_checked (xcb_connection_t *c /**< */,
xcb_render_picture_t picture /**< */,
uint32_t value_mask /**< */,
- const uint32_t *value_list /**< */);
+ const void *value_list /**< */);
/**
*
@@ -1783,7 +1887,41 @@ xcb_void_cookie_t
xcb_render_change_picture (xcb_connection_t *c /**< */,
xcb_render_picture_t picture /**< */,
uint32_t value_mask /**< */,
- const uint32_t *value_list /**< */);
+ const void *value_list /**< */);
+
+/**
+ *
+ * @param c The connection
+ * @return A cookie
+ *
+ * Delivers a request to the X server.
+ *
+ * This form can be used only if the request will not cause
+ * a reply to be generated. Any returned error will be
+ * saved for handling by xcb_request_check().
+ */
+xcb_void_cookie_t
+xcb_render_change_picture_aux_checked (xcb_connection_t *c /**< */,
+ xcb_render_picture_t picture /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_change_picture_value_list_t *value_list /**< */);
+
+/**
+ *
+ * @param c The connection
+ * @return A cookie
+ *
+ * Delivers a request to the X server.
+ *
+ */
+xcb_void_cookie_t
+xcb_render_change_picture_aux (xcb_connection_t *c /**< */,
+ xcb_render_picture_t picture /**< */,
+ uint32_t value_mask /**< */,
+ const xcb_render_change_picture_value_list_t *value_list /**< */);
+
+void *
+xcb_render_change_picture_value_list (const xcb_render_change_picture_request_t *R /**< */);
int
xcb_render_set_picture_clip_rectangles_sizeof (const void *_buffer /**< */,
@@ -1824,6 +1962,17 @@ xcb_render_set_picture_clip_rectangles (xcb_connection_t *c /**< */,
uint32_t rectangles_len /**< */,
const xcb_rectangle_t *rectangles /**< */);
+xcb_rectangle_t *
+xcb_render_set_picture_clip_rectangles_rectangles (const xcb_render_set_picture_clip_rectangles_request_t *R /**< */);
+
+int
+xcb_render_set_picture_clip_rectangles_rectangles_length (const xcb_render_set_picture_clip_rectangles_request_t *R /**< */,
+ uint32_t rectangles_len /**< */);
+
+xcb_rectangle_iterator_t
+xcb_render_set_picture_clip_rectangles_rectangles_iterator (const xcb_render_set_picture_clip_rectangles_request_t *R /**< */,
+ uint32_t rectangles_len /**< */);
+
/**
*
* @param c The connection
@@ -1945,6 +2094,17 @@ xcb_render_trapezoids (xcb_connection_t *c /**< */,
uint32_t traps_len /**< */,
const xcb_render_trapezoid_t *traps /**< */);
+xcb_render_trapezoid_t *
+xcb_render_trapezoids_traps (const xcb_render_trapezoids_request_t *R /**< */);
+
+int
+xcb_render_trapezoids_traps_length (const xcb_render_trapezoids_request_t *R /**< */,
+ uint32_t traps_len /**< */);
+
+xcb_render_trapezoid_iterator_t
+xcb_render_trapezoids_traps_iterator (const xcb_render_trapezoids_request_t *R /**< */,
+ uint32_t traps_len /**< */);
+
int
xcb_render_triangles_sizeof (const void *_buffer /**< */,
uint32_t triangles_len /**< */);
@@ -1990,6 +2150,17 @@ xcb_render_triangles (xcb_connection_t *c /**< */,
uint32_t triangles_len /**< */,
const xcb_render_triangle_t *triangles /**< */);
+xcb_render_triangle_t *
+xcb_render_triangles_triangles (const xcb_render_triangles_request_t *R /**< */);
+
+int
+xcb_render_triangles_triangles_length (const xcb_render_triangles_request_t *R /**< */,
+ uint32_t triangles_len /**< */);
+
+xcb_render_triangle_iterator_t
+xcb_render_triangles_triangles_iterator (const xcb_render_triangles_request_t *R /**< */,
+ uint32_t triangles_len /**< */);
+
int
xcb_render_tri_strip_sizeof (const void *_buffer /**< */,
uint32_t points_len /**< */);
@@ -2035,6 +2206,17 @@ xcb_render_tri_strip (xcb_connection_t *c /**< */,
uint32_t points_len /**< */,
const xcb_render_pointfix_t *points /**< */);
+xcb_render_pointfix_t *
+xcb_render_tri_strip_points (const xcb_render_tri_strip_request_t *R /**< */);
+
+int
+xcb_render_tri_strip_points_length (const xcb_render_tri_strip_request_t *R /**< */,
+ uint32_t points_len /**< */);
+
+xcb_render_pointfix_iterator_t
+xcb_render_tri_strip_points_iterator (const xcb_render_tri_strip_request_t *R /**< */,
+ uint32_t points_len /**< */);
+
int
xcb_render_tri_fan_sizeof (const void *_buffer /**< */,
uint32_t points_len /**< */);
@@ -2080,6 +2262,17 @@ xcb_render_tri_fan (xcb_connection_t *c /**< */,
uint32_t points_len /**< */,
const xcb_render_pointfix_t *points /**< */);
+xcb_render_pointfix_t *
+xcb_render_tri_fan_points (const xcb_render_tri_fan_request_t *R /**< */);
+
+int
+xcb_render_tri_fan_points_length (const xcb_render_tri_fan_request_t *R /**< */,
+ uint32_t points_len /**< */);
+
+xcb_render_pointfix_iterator_t
+xcb_render_tri_fan_points_iterator (const xcb_render_tri_fan_request_t *R /**< */,
+ uint32_t points_len /**< */);
+
/**
*
* @param c The connection
@@ -2206,6 +2399,38 @@ xcb_render_add_glyphs (xcb_connection_t *c /**< */,
uint32_t data_len /**< */,
const uint8_t *data /**< */);
+uint32_t *
+xcb_render_add_glyphs_glyphids (const xcb_render_add_glyphs_request_t *R /**< */);
+
+int
+xcb_render_add_glyphs_glyphids_length (const xcb_render_add_glyphs_request_t *R /**< */);
+
+xcb_generic_iterator_t
+xcb_render_add_glyphs_glyphids_end (const xcb_render_add_glyphs_request_t *R /**< */);
+
+xcb_render_glyphinfo_t *
+xcb_render_add_glyphs_glyphs (const xcb_render_add_glyphs_request_t *R /**< */);
+
+int
+xcb_render_add_glyphs_glyphs_length (const xcb_render_add_glyphs_request_t *R /**< */);
+
+xcb_render_glyphinfo_iterator_t
+xcb_render_add_glyphs_glyphs_iterator (const xcb_render_add_glyphs_request_t *R /**< */);
+
+uint32_t
+xcb_render_add_glyphs_data_len (const xcb_render_add_glyphs_request_t *R /**< */);
+
+uint8_t *
+xcb_render_add_glyphs_data (const xcb_render_add_glyphs_request_t *R /**< */);
+
+int
+xcb_render_add_glyphs_data_length (const xcb_render_add_glyphs_request_t *R /**< */,
+ uint32_t data_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_add_glyphs_data_end (const xcb_render_add_glyphs_request_t *R /**< */,
+ uint32_t data_len /**< */);
+
int
xcb_render_free_glyphs_sizeof (const void *_buffer /**< */,
uint32_t glyphs_len /**< */);
@@ -2241,6 +2466,17 @@ xcb_render_free_glyphs (xcb_connection_t *c /**< */,
uint32_t glyphs_len /**< */,
const xcb_render_glyph_t *glyphs /**< */);
+xcb_render_glyph_t *
+xcb_render_free_glyphs_glyphs (const xcb_render_free_glyphs_request_t *R /**< */);
+
+int
+xcb_render_free_glyphs_glyphs_length (const xcb_render_free_glyphs_request_t *R /**< */,
+ uint32_t glyphs_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_free_glyphs_glyphs_end (const xcb_render_free_glyphs_request_t *R /**< */,
+ uint32_t glyphs_len /**< */);
+
int
xcb_render_composite_glyphs_8_sizeof (const void *_buffer /**< */,
uint32_t glyphcmds_len /**< */);
@@ -2288,6 +2524,17 @@ xcb_render_composite_glyphs_8 (xcb_connection_t *c /**< */,
uint32_t glyphcmds_len /**< */,
const uint8_t *glyphcmds /**< */);
+uint8_t *
+xcb_render_composite_glyphs_8_glyphcmds (const xcb_render_composite_glyphs_8_request_t *R /**< */);
+
+int
+xcb_render_composite_glyphs_8_glyphcmds_length (const xcb_render_composite_glyphs_8_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_composite_glyphs_8_glyphcmds_end (const xcb_render_composite_glyphs_8_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
int
xcb_render_composite_glyphs_16_sizeof (const void *_buffer /**< */,
uint32_t glyphcmds_len /**< */);
@@ -2335,6 +2582,17 @@ xcb_render_composite_glyphs_16 (xcb_connection_t *c /**< */,
uint32_t glyphcmds_len /**< */,
const uint8_t *glyphcmds /**< */);
+uint8_t *
+xcb_render_composite_glyphs_16_glyphcmds (const xcb_render_composite_glyphs_16_request_t *R /**< */);
+
+int
+xcb_render_composite_glyphs_16_glyphcmds_length (const xcb_render_composite_glyphs_16_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_composite_glyphs_16_glyphcmds_end (const xcb_render_composite_glyphs_16_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
int
xcb_render_composite_glyphs_32_sizeof (const void *_buffer /**< */,
uint32_t glyphcmds_len /**< */);
@@ -2382,6 +2640,17 @@ xcb_render_composite_glyphs_32 (xcb_connection_t *c /**< */,
uint32_t glyphcmds_len /**< */,
const uint8_t *glyphcmds /**< */);
+uint8_t *
+xcb_render_composite_glyphs_32_glyphcmds (const xcb_render_composite_glyphs_32_request_t *R /**< */);
+
+int
+xcb_render_composite_glyphs_32_glyphcmds_length (const xcb_render_composite_glyphs_32_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_composite_glyphs_32_glyphcmds_end (const xcb_render_composite_glyphs_32_request_t *R /**< */,
+ uint32_t glyphcmds_len /**< */);
+
int
xcb_render_fill_rectangles_sizeof (const void *_buffer /**< */,
uint32_t rects_len /**< */);
@@ -2421,6 +2690,17 @@ xcb_render_fill_rectangles (xcb_connection_t *c /**< */,
uint32_t rects_len /**< */,
const xcb_rectangle_t *rects /**< */);
+xcb_rectangle_t *
+xcb_render_fill_rectangles_rects (const xcb_render_fill_rectangles_request_t *R /**< */);
+
+int
+xcb_render_fill_rectangles_rects_length (const xcb_render_fill_rectangles_request_t *R /**< */,
+ uint32_t rects_len /**< */);
+
+xcb_rectangle_iterator_t
+xcb_render_fill_rectangles_rects_iterator (const xcb_render_fill_rectangles_request_t *R /**< */,
+ uint32_t rects_len /**< */);
+
/**
*
* @param c The connection
@@ -2609,6 +2889,29 @@ xcb_render_set_picture_filter (xcb_connection_t *c /**< */,
uint32_t values_len /**< */,
const xcb_render_fixed_t *values /**< */);
+char *
+xcb_render_set_picture_filter_filter (const xcb_render_set_picture_filter_request_t *R /**< */);
+
+int
+xcb_render_set_picture_filter_filter_length (const xcb_render_set_picture_filter_request_t *R /**< */);
+
+xcb_generic_iterator_t
+xcb_render_set_picture_filter_filter_end (const xcb_render_set_picture_filter_request_t *R /**< */);
+
+uint32_t
+xcb_render_set_picture_filter_values_len (const xcb_render_set_picture_filter_request_t *R /**< */);
+
+xcb_render_fixed_t *
+xcb_render_set_picture_filter_values (const xcb_render_set_picture_filter_request_t *R /**< */);
+
+int
+xcb_render_set_picture_filter_values_length (const xcb_render_set_picture_filter_request_t *R /**< */,
+ uint32_t values_len /**< */);
+
+xcb_generic_iterator_t
+xcb_render_set_picture_filter_values_end (const xcb_render_set_picture_filter_request_t *R /**< */,
+ uint32_t values_len /**< */);
+
/**
* Get the next element of the iterator
* @param i Pointer to a xcb_render_animcursorelt_iterator_t
@@ -2667,6 +2970,17 @@ xcb_render_create_anim_cursor (xcb_connection_t *c /**< */,
uint32_t cursors_len /**< */,
const xcb_render_animcursorelt_t *cursors /**< */);
+xcb_render_animcursorelt_t *
+xcb_render_create_anim_cursor_cursors (const xcb_render_create_anim_cursor_request_t *R /**< */);
+
+int
+xcb_render_create_anim_cursor_cursors_length (const xcb_render_create_anim_cursor_request_t *R /**< */,
+ uint32_t cursors_len /**< */);
+
+xcb_render_animcursorelt_iterator_t
+xcb_render_create_anim_cursor_cursors_iterator (const xcb_render_create_anim_cursor_request_t *R /**< */,
+ uint32_t cursors_len /**< */);
+
/**
* Get the next element of the iterator
* @param i Pointer to a xcb_render_spanfix_iterator_t
@@ -2752,6 +3066,17 @@ xcb_render_add_traps (xcb_connection_t *c /**< */,
uint32_t traps_len /**< */,
const xcb_render_trap_t *traps /**< */);
+xcb_render_trap_t *
+xcb_render_add_traps_traps (const xcb_render_add_traps_request_t *R /**< */);
+
+int
+xcb_render_add_traps_traps_length (const xcb_render_add_traps_request_t *R /**< */,
+ uint32_t traps_len /**< */);
+
+xcb_render_trap_iterator_t
+xcb_render_add_traps_traps_iterator (const xcb_render_add_traps_request_t *R /**< */,
+ uint32_t traps_len /**< */);
+
/**
*
* @param c The connection
@@ -2821,6 +3146,24 @@ xcb_render_create_linear_gradient (xcb_connection_t *c /**< */,
const xcb_render_fixed_t *stops /**< */,
const xcb_render_color_t *colors /**< */);
+xcb_render_fixed_t *
+xcb_render_create_linear_gradient_stops (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_linear_gradient_stops_length (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
+xcb_generic_iterator_t
+xcb_render_create_linear_gradient_stops_end (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
+xcb_render_color_t *
+xcb_render_create_linear_gradient_colors (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_linear_gradient_colors_length (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
+xcb_render_color_iterator_t
+xcb_render_create_linear_gradient_colors_iterator (const xcb_render_create_linear_gradient_request_t *R /**< */);
+
int
xcb_render_create_radial_gradient_sizeof (const void *_buffer /**< */);
@@ -2865,6 +3208,24 @@ xcb_render_create_radial_gradient (xcb_connection_t *c /**< */,
const xcb_render_fixed_t *stops /**< */,
const xcb_render_color_t *colors /**< */);
+xcb_render_fixed_t *
+xcb_render_create_radial_gradient_stops (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_radial_gradient_stops_length (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
+xcb_generic_iterator_t
+xcb_render_create_radial_gradient_stops_end (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
+xcb_render_color_t *
+xcb_render_create_radial_gradient_colors (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_radial_gradient_colors_length (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
+xcb_render_color_iterator_t
+xcb_render_create_radial_gradient_colors_iterator (const xcb_render_create_radial_gradient_request_t *R /**< */);
+
int
xcb_render_create_conical_gradient_sizeof (const void *_buffer /**< */);
@@ -2905,6 +3266,24 @@ xcb_render_create_conical_gradient (xcb_connection_t *c /**< */,
const xcb_render_fixed_t *stops /**< */,
const xcb_render_color_t *colors /**< */);
+xcb_render_fixed_t *
+xcb_render_create_conical_gradient_stops (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_conical_gradient_stops_length (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
+xcb_generic_iterator_t
+xcb_render_create_conical_gradient_stops_end (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
+xcb_render_color_t *
+xcb_render_create_conical_gradient_colors (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
+int
+xcb_render_create_conical_gradient_colors_length (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
+xcb_render_color_iterator_t
+xcb_render_create_conical_gradient_colors_iterator (const xcb_render_create_conical_gradient_request_t *R /**< */);
+
#ifdef __cplusplus
}