annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/render.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 * This file generated automatically from render.xml by c_client.py.
jpayne@69 3 * Edit at your peril.
jpayne@69 4 */
jpayne@69 5
jpayne@69 6 /**
jpayne@69 7 * @defgroup XCB_Render_API XCB Render API
jpayne@69 8 * @brief Render XCB Protocol Implementation.
jpayne@69 9 * @{
jpayne@69 10 **/
jpayne@69 11
jpayne@69 12 #ifndef __RENDER_H
jpayne@69 13 #define __RENDER_H
jpayne@69 14
jpayne@69 15 #include "xcb.h"
jpayne@69 16 #include "xproto.h"
jpayne@69 17
jpayne@69 18 #ifdef __cplusplus
jpayne@69 19 extern "C" {
jpayne@69 20 #endif
jpayne@69 21
jpayne@69 22 #define XCB_RENDER_MAJOR_VERSION 0
jpayne@69 23 #define XCB_RENDER_MINOR_VERSION 11
jpayne@69 24
jpayne@69 25 extern xcb_extension_t xcb_render_id;
jpayne@69 26
jpayne@69 27 typedef enum xcb_render_pict_type_t {
jpayne@69 28 XCB_RENDER_PICT_TYPE_INDEXED = 0,
jpayne@69 29 XCB_RENDER_PICT_TYPE_DIRECT = 1
jpayne@69 30 } xcb_render_pict_type_t;
jpayne@69 31
jpayne@69 32 typedef enum xcb_render_picture_enum_t {
jpayne@69 33 XCB_RENDER_PICTURE_NONE = 0
jpayne@69 34 } xcb_render_picture_enum_t;
jpayne@69 35
jpayne@69 36 typedef enum xcb_render_pict_op_t {
jpayne@69 37 XCB_RENDER_PICT_OP_CLEAR = 0,
jpayne@69 38 XCB_RENDER_PICT_OP_SRC = 1,
jpayne@69 39 XCB_RENDER_PICT_OP_DST = 2,
jpayne@69 40 XCB_RENDER_PICT_OP_OVER = 3,
jpayne@69 41 XCB_RENDER_PICT_OP_OVER_REVERSE = 4,
jpayne@69 42 XCB_RENDER_PICT_OP_IN = 5,
jpayne@69 43 XCB_RENDER_PICT_OP_IN_REVERSE = 6,
jpayne@69 44 XCB_RENDER_PICT_OP_OUT = 7,
jpayne@69 45 XCB_RENDER_PICT_OP_OUT_REVERSE = 8,
jpayne@69 46 XCB_RENDER_PICT_OP_ATOP = 9,
jpayne@69 47 XCB_RENDER_PICT_OP_ATOP_REVERSE = 10,
jpayne@69 48 XCB_RENDER_PICT_OP_XOR = 11,
jpayne@69 49 XCB_RENDER_PICT_OP_ADD = 12,
jpayne@69 50 XCB_RENDER_PICT_OP_SATURATE = 13,
jpayne@69 51 XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 16,
jpayne@69 52 XCB_RENDER_PICT_OP_DISJOINT_SRC = 17,
jpayne@69 53 XCB_RENDER_PICT_OP_DISJOINT_DST = 18,
jpayne@69 54 XCB_RENDER_PICT_OP_DISJOINT_OVER = 19,
jpayne@69 55 XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE = 20,
jpayne@69 56 XCB_RENDER_PICT_OP_DISJOINT_IN = 21,
jpayne@69 57 XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE = 22,
jpayne@69 58 XCB_RENDER_PICT_OP_DISJOINT_OUT = 23,
jpayne@69 59 XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE = 24,
jpayne@69 60 XCB_RENDER_PICT_OP_DISJOINT_ATOP = 25,
jpayne@69 61 XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE = 26,
jpayne@69 62 XCB_RENDER_PICT_OP_DISJOINT_XOR = 27,
jpayne@69 63 XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 32,
jpayne@69 64 XCB_RENDER_PICT_OP_CONJOINT_SRC = 33,
jpayne@69 65 XCB_RENDER_PICT_OP_CONJOINT_DST = 34,
jpayne@69 66 XCB_RENDER_PICT_OP_CONJOINT_OVER = 35,
jpayne@69 67 XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE = 36,
jpayne@69 68 XCB_RENDER_PICT_OP_CONJOINT_IN = 37,
jpayne@69 69 XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE = 38,
jpayne@69 70 XCB_RENDER_PICT_OP_CONJOINT_OUT = 39,
jpayne@69 71 XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE = 40,
jpayne@69 72 XCB_RENDER_PICT_OP_CONJOINT_ATOP = 41,
jpayne@69 73 XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE = 42,
jpayne@69 74 XCB_RENDER_PICT_OP_CONJOINT_XOR = 43,
jpayne@69 75 XCB_RENDER_PICT_OP_MULTIPLY = 48,
jpayne@69 76 XCB_RENDER_PICT_OP_SCREEN = 49,
jpayne@69 77 XCB_RENDER_PICT_OP_OVERLAY = 50,
jpayne@69 78 XCB_RENDER_PICT_OP_DARKEN = 51,
jpayne@69 79 XCB_RENDER_PICT_OP_LIGHTEN = 52,
jpayne@69 80 XCB_RENDER_PICT_OP_COLOR_DODGE = 53,
jpayne@69 81 XCB_RENDER_PICT_OP_COLOR_BURN = 54,
jpayne@69 82 XCB_RENDER_PICT_OP_HARD_LIGHT = 55,
jpayne@69 83 XCB_RENDER_PICT_OP_SOFT_LIGHT = 56,
jpayne@69 84 XCB_RENDER_PICT_OP_DIFFERENCE = 57,
jpayne@69 85 XCB_RENDER_PICT_OP_EXCLUSION = 58,
jpayne@69 86 XCB_RENDER_PICT_OP_HSL_HUE = 59,
jpayne@69 87 XCB_RENDER_PICT_OP_HSL_SATURATION = 60,
jpayne@69 88 XCB_RENDER_PICT_OP_HSL_COLOR = 61,
jpayne@69 89 XCB_RENDER_PICT_OP_HSL_LUMINOSITY = 62
jpayne@69 90 } xcb_render_pict_op_t;
jpayne@69 91
jpayne@69 92 typedef enum xcb_render_poly_edge_t {
jpayne@69 93 XCB_RENDER_POLY_EDGE_SHARP = 0,
jpayne@69 94 XCB_RENDER_POLY_EDGE_SMOOTH = 1
jpayne@69 95 } xcb_render_poly_edge_t;
jpayne@69 96
jpayne@69 97 typedef enum xcb_render_poly_mode_t {
jpayne@69 98 XCB_RENDER_POLY_MODE_PRECISE = 0,
jpayne@69 99 XCB_RENDER_POLY_MODE_IMPRECISE = 1
jpayne@69 100 } xcb_render_poly_mode_t;
jpayne@69 101
jpayne@69 102 typedef enum xcb_render_cp_t {
jpayne@69 103 XCB_RENDER_CP_REPEAT = 1,
jpayne@69 104 XCB_RENDER_CP_ALPHA_MAP = 2,
jpayne@69 105 XCB_RENDER_CP_ALPHA_X_ORIGIN = 4,
jpayne@69 106 XCB_RENDER_CP_ALPHA_Y_ORIGIN = 8,
jpayne@69 107 XCB_RENDER_CP_CLIP_X_ORIGIN = 16,
jpayne@69 108 XCB_RENDER_CP_CLIP_Y_ORIGIN = 32,
jpayne@69 109 XCB_RENDER_CP_CLIP_MASK = 64,
jpayne@69 110 XCB_RENDER_CP_GRAPHICS_EXPOSURE = 128,
jpayne@69 111 XCB_RENDER_CP_SUBWINDOW_MODE = 256,
jpayne@69 112 XCB_RENDER_CP_POLY_EDGE = 512,
jpayne@69 113 XCB_RENDER_CP_POLY_MODE = 1024,
jpayne@69 114 XCB_RENDER_CP_DITHER = 2048,
jpayne@69 115 XCB_RENDER_CP_COMPONENT_ALPHA = 4096
jpayne@69 116 } xcb_render_cp_t;
jpayne@69 117
jpayne@69 118 typedef enum xcb_render_sub_pixel_t {
jpayne@69 119 XCB_RENDER_SUB_PIXEL_UNKNOWN = 0,
jpayne@69 120 XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB = 1,
jpayne@69 121 XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR = 2,
jpayne@69 122 XCB_RENDER_SUB_PIXEL_VERTICAL_RGB = 3,
jpayne@69 123 XCB_RENDER_SUB_PIXEL_VERTICAL_BGR = 4,
jpayne@69 124 XCB_RENDER_SUB_PIXEL_NONE = 5
jpayne@69 125 } xcb_render_sub_pixel_t;
jpayne@69 126
jpayne@69 127 typedef enum xcb_render_repeat_t {
jpayne@69 128 XCB_RENDER_REPEAT_NONE = 0,
jpayne@69 129 XCB_RENDER_REPEAT_NORMAL = 1,
jpayne@69 130 XCB_RENDER_REPEAT_PAD = 2,
jpayne@69 131 XCB_RENDER_REPEAT_REFLECT = 3
jpayne@69 132 } xcb_render_repeat_t;
jpayne@69 133
jpayne@69 134 typedef uint32_t xcb_render_glyph_t;
jpayne@69 135
jpayne@69 136 /**
jpayne@69 137 * @brief xcb_render_glyph_iterator_t
jpayne@69 138 **/
jpayne@69 139 typedef struct xcb_render_glyph_iterator_t {
jpayne@69 140 xcb_render_glyph_t *data;
jpayne@69 141 int rem;
jpayne@69 142 int index;
jpayne@69 143 } xcb_render_glyph_iterator_t;
jpayne@69 144
jpayne@69 145 typedef uint32_t xcb_render_glyphset_t;
jpayne@69 146
jpayne@69 147 /**
jpayne@69 148 * @brief xcb_render_glyphset_iterator_t
jpayne@69 149 **/
jpayne@69 150 typedef struct xcb_render_glyphset_iterator_t {
jpayne@69 151 xcb_render_glyphset_t *data;
jpayne@69 152 int rem;
jpayne@69 153 int index;
jpayne@69 154 } xcb_render_glyphset_iterator_t;
jpayne@69 155
jpayne@69 156 typedef uint32_t xcb_render_picture_t;
jpayne@69 157
jpayne@69 158 /**
jpayne@69 159 * @brief xcb_render_picture_iterator_t
jpayne@69 160 **/
jpayne@69 161 typedef struct xcb_render_picture_iterator_t {
jpayne@69 162 xcb_render_picture_t *data;
jpayne@69 163 int rem;
jpayne@69 164 int index;
jpayne@69 165 } xcb_render_picture_iterator_t;
jpayne@69 166
jpayne@69 167 typedef uint32_t xcb_render_pictformat_t;
jpayne@69 168
jpayne@69 169 /**
jpayne@69 170 * @brief xcb_render_pictformat_iterator_t
jpayne@69 171 **/
jpayne@69 172 typedef struct xcb_render_pictformat_iterator_t {
jpayne@69 173 xcb_render_pictformat_t *data;
jpayne@69 174 int rem;
jpayne@69 175 int index;
jpayne@69 176 } xcb_render_pictformat_iterator_t;
jpayne@69 177
jpayne@69 178 typedef int32_t xcb_render_fixed_t;
jpayne@69 179
jpayne@69 180 /**
jpayne@69 181 * @brief xcb_render_fixed_iterator_t
jpayne@69 182 **/
jpayne@69 183 typedef struct xcb_render_fixed_iterator_t {
jpayne@69 184 xcb_render_fixed_t *data;
jpayne@69 185 int rem;
jpayne@69 186 int index;
jpayne@69 187 } xcb_render_fixed_iterator_t;
jpayne@69 188
jpayne@69 189 /** Opcode for xcb_render_pict_format. */
jpayne@69 190 #define XCB_RENDER_PICT_FORMAT 0
jpayne@69 191
jpayne@69 192 /**
jpayne@69 193 * @brief xcb_render_pict_format_error_t
jpayne@69 194 **/
jpayne@69 195 typedef struct xcb_render_pict_format_error_t {
jpayne@69 196 uint8_t response_type;
jpayne@69 197 uint8_t error_code;
jpayne@69 198 uint16_t sequence;
jpayne@69 199 uint32_t bad_value;
jpayne@69 200 uint16_t minor_opcode;
jpayne@69 201 uint8_t major_opcode;
jpayne@69 202 } xcb_render_pict_format_error_t;
jpayne@69 203
jpayne@69 204 /** Opcode for xcb_render_picture. */
jpayne@69 205 #define XCB_RENDER_PICTURE 1
jpayne@69 206
jpayne@69 207 /**
jpayne@69 208 * @brief xcb_render_picture_error_t
jpayne@69 209 **/
jpayne@69 210 typedef struct xcb_render_picture_error_t {
jpayne@69 211 uint8_t response_type;
jpayne@69 212 uint8_t error_code;
jpayne@69 213 uint16_t sequence;
jpayne@69 214 uint32_t bad_value;
jpayne@69 215 uint16_t minor_opcode;
jpayne@69 216 uint8_t major_opcode;
jpayne@69 217 } xcb_render_picture_error_t;
jpayne@69 218
jpayne@69 219 /** Opcode for xcb_render_pict_op. */
jpayne@69 220 #define XCB_RENDER_PICT_OP 2
jpayne@69 221
jpayne@69 222 /**
jpayne@69 223 * @brief xcb_render_pict_op_error_t
jpayne@69 224 **/
jpayne@69 225 typedef struct xcb_render_pict_op_error_t {
jpayne@69 226 uint8_t response_type;
jpayne@69 227 uint8_t error_code;
jpayne@69 228 uint16_t sequence;
jpayne@69 229 uint32_t bad_value;
jpayne@69 230 uint16_t minor_opcode;
jpayne@69 231 uint8_t major_opcode;
jpayne@69 232 } xcb_render_pict_op_error_t;
jpayne@69 233
jpayne@69 234 /** Opcode for xcb_render_glyph_set. */
jpayne@69 235 #define XCB_RENDER_GLYPH_SET 3
jpayne@69 236
jpayne@69 237 /**
jpayne@69 238 * @brief xcb_render_glyph_set_error_t
jpayne@69 239 **/
jpayne@69 240 typedef struct xcb_render_glyph_set_error_t {
jpayne@69 241 uint8_t response_type;
jpayne@69 242 uint8_t error_code;
jpayne@69 243 uint16_t sequence;
jpayne@69 244 uint32_t bad_value;
jpayne@69 245 uint16_t minor_opcode;
jpayne@69 246 uint8_t major_opcode;
jpayne@69 247 } xcb_render_glyph_set_error_t;
jpayne@69 248
jpayne@69 249 /** Opcode for xcb_render_glyph. */
jpayne@69 250 #define XCB_RENDER_GLYPH 4
jpayne@69 251
jpayne@69 252 /**
jpayne@69 253 * @brief xcb_render_glyph_error_t
jpayne@69 254 **/
jpayne@69 255 typedef struct xcb_render_glyph_error_t {
jpayne@69 256 uint8_t response_type;
jpayne@69 257 uint8_t error_code;
jpayne@69 258 uint16_t sequence;
jpayne@69 259 uint32_t bad_value;
jpayne@69 260 uint16_t minor_opcode;
jpayne@69 261 uint8_t major_opcode;
jpayne@69 262 } xcb_render_glyph_error_t;
jpayne@69 263
jpayne@69 264 /**
jpayne@69 265 * @brief xcb_render_directformat_t
jpayne@69 266 **/
jpayne@69 267 typedef struct xcb_render_directformat_t {
jpayne@69 268 uint16_t red_shift;
jpayne@69 269 uint16_t red_mask;
jpayne@69 270 uint16_t green_shift;
jpayne@69 271 uint16_t green_mask;
jpayne@69 272 uint16_t blue_shift;
jpayne@69 273 uint16_t blue_mask;
jpayne@69 274 uint16_t alpha_shift;
jpayne@69 275 uint16_t alpha_mask;
jpayne@69 276 } xcb_render_directformat_t;
jpayne@69 277
jpayne@69 278 /**
jpayne@69 279 * @brief xcb_render_directformat_iterator_t
jpayne@69 280 **/
jpayne@69 281 typedef struct xcb_render_directformat_iterator_t {
jpayne@69 282 xcb_render_directformat_t *data;
jpayne@69 283 int rem;
jpayne@69 284 int index;
jpayne@69 285 } xcb_render_directformat_iterator_t;
jpayne@69 286
jpayne@69 287 /**
jpayne@69 288 * @brief xcb_render_pictforminfo_t
jpayne@69 289 **/
jpayne@69 290 typedef struct xcb_render_pictforminfo_t {
jpayne@69 291 xcb_render_pictformat_t id;
jpayne@69 292 uint8_t type;
jpayne@69 293 uint8_t depth;
jpayne@69 294 uint8_t pad0[2];
jpayne@69 295 xcb_render_directformat_t direct;
jpayne@69 296 xcb_colormap_t colormap;
jpayne@69 297 } xcb_render_pictforminfo_t;
jpayne@69 298
jpayne@69 299 /**
jpayne@69 300 * @brief xcb_render_pictforminfo_iterator_t
jpayne@69 301 **/
jpayne@69 302 typedef struct xcb_render_pictforminfo_iterator_t {
jpayne@69 303 xcb_render_pictforminfo_t *data;
jpayne@69 304 int rem;
jpayne@69 305 int index;
jpayne@69 306 } xcb_render_pictforminfo_iterator_t;
jpayne@69 307
jpayne@69 308 /**
jpayne@69 309 * @brief xcb_render_pictvisual_t
jpayne@69 310 **/
jpayne@69 311 typedef struct xcb_render_pictvisual_t {
jpayne@69 312 xcb_visualid_t visual;
jpayne@69 313 xcb_render_pictformat_t format;
jpayne@69 314 } xcb_render_pictvisual_t;
jpayne@69 315
jpayne@69 316 /**
jpayne@69 317 * @brief xcb_render_pictvisual_iterator_t
jpayne@69 318 **/
jpayne@69 319 typedef struct xcb_render_pictvisual_iterator_t {
jpayne@69 320 xcb_render_pictvisual_t *data;
jpayne@69 321 int rem;
jpayne@69 322 int index;
jpayne@69 323 } xcb_render_pictvisual_iterator_t;
jpayne@69 324
jpayne@69 325 /**
jpayne@69 326 * @brief xcb_render_pictdepth_t
jpayne@69 327 **/
jpayne@69 328 typedef struct xcb_render_pictdepth_t {
jpayne@69 329 uint8_t depth;
jpayne@69 330 uint8_t pad0;
jpayne@69 331 uint16_t num_visuals;
jpayne@69 332 uint8_t pad1[4];
jpayne@69 333 } xcb_render_pictdepth_t;
jpayne@69 334
jpayne@69 335 /**
jpayne@69 336 * @brief xcb_render_pictdepth_iterator_t
jpayne@69 337 **/
jpayne@69 338 typedef struct xcb_render_pictdepth_iterator_t {
jpayne@69 339 xcb_render_pictdepth_t *data;
jpayne@69 340 int rem;
jpayne@69 341 int index;
jpayne@69 342 } xcb_render_pictdepth_iterator_t;
jpayne@69 343
jpayne@69 344 /**
jpayne@69 345 * @brief xcb_render_pictscreen_t
jpayne@69 346 **/
jpayne@69 347 typedef struct xcb_render_pictscreen_t {
jpayne@69 348 uint32_t num_depths;
jpayne@69 349 xcb_render_pictformat_t fallback;
jpayne@69 350 } xcb_render_pictscreen_t;
jpayne@69 351
jpayne@69 352 /**
jpayne@69 353 * @brief xcb_render_pictscreen_iterator_t
jpayne@69 354 **/
jpayne@69 355 typedef struct xcb_render_pictscreen_iterator_t {
jpayne@69 356 xcb_render_pictscreen_t *data;
jpayne@69 357 int rem;
jpayne@69 358 int index;
jpayne@69 359 } xcb_render_pictscreen_iterator_t;
jpayne@69 360
jpayne@69 361 /**
jpayne@69 362 * @brief xcb_render_indexvalue_t
jpayne@69 363 **/
jpayne@69 364 typedef struct xcb_render_indexvalue_t {
jpayne@69 365 uint32_t pixel;
jpayne@69 366 uint16_t red;
jpayne@69 367 uint16_t green;
jpayne@69 368 uint16_t blue;
jpayne@69 369 uint16_t alpha;
jpayne@69 370 } xcb_render_indexvalue_t;
jpayne@69 371
jpayne@69 372 /**
jpayne@69 373 * @brief xcb_render_indexvalue_iterator_t
jpayne@69 374 **/
jpayne@69 375 typedef struct xcb_render_indexvalue_iterator_t {
jpayne@69 376 xcb_render_indexvalue_t *data;
jpayne@69 377 int rem;
jpayne@69 378 int index;
jpayne@69 379 } xcb_render_indexvalue_iterator_t;
jpayne@69 380
jpayne@69 381 /**
jpayne@69 382 * @brief xcb_render_color_t
jpayne@69 383 **/
jpayne@69 384 typedef struct xcb_render_color_t {
jpayne@69 385 uint16_t red;
jpayne@69 386 uint16_t green;
jpayne@69 387 uint16_t blue;
jpayne@69 388 uint16_t alpha;
jpayne@69 389 } xcb_render_color_t;
jpayne@69 390
jpayne@69 391 /**
jpayne@69 392 * @brief xcb_render_color_iterator_t
jpayne@69 393 **/
jpayne@69 394 typedef struct xcb_render_color_iterator_t {
jpayne@69 395 xcb_render_color_t *data;
jpayne@69 396 int rem;
jpayne@69 397 int index;
jpayne@69 398 } xcb_render_color_iterator_t;
jpayne@69 399
jpayne@69 400 /**
jpayne@69 401 * @brief xcb_render_pointfix_t
jpayne@69 402 **/
jpayne@69 403 typedef struct xcb_render_pointfix_t {
jpayne@69 404 xcb_render_fixed_t x;
jpayne@69 405 xcb_render_fixed_t y;
jpayne@69 406 } xcb_render_pointfix_t;
jpayne@69 407
jpayne@69 408 /**
jpayne@69 409 * @brief xcb_render_pointfix_iterator_t
jpayne@69 410 **/
jpayne@69 411 typedef struct xcb_render_pointfix_iterator_t {
jpayne@69 412 xcb_render_pointfix_t *data;
jpayne@69 413 int rem;
jpayne@69 414 int index;
jpayne@69 415 } xcb_render_pointfix_iterator_t;
jpayne@69 416
jpayne@69 417 /**
jpayne@69 418 * @brief xcb_render_linefix_t
jpayne@69 419 **/
jpayne@69 420 typedef struct xcb_render_linefix_t {
jpayne@69 421 xcb_render_pointfix_t p1;
jpayne@69 422 xcb_render_pointfix_t p2;
jpayne@69 423 } xcb_render_linefix_t;
jpayne@69 424
jpayne@69 425 /**
jpayne@69 426 * @brief xcb_render_linefix_iterator_t
jpayne@69 427 **/
jpayne@69 428 typedef struct xcb_render_linefix_iterator_t {
jpayne@69 429 xcb_render_linefix_t *data;
jpayne@69 430 int rem;
jpayne@69 431 int index;
jpayne@69 432 } xcb_render_linefix_iterator_t;
jpayne@69 433
jpayne@69 434 /**
jpayne@69 435 * @brief xcb_render_triangle_t
jpayne@69 436 **/
jpayne@69 437 typedef struct xcb_render_triangle_t {
jpayne@69 438 xcb_render_pointfix_t p1;
jpayne@69 439 xcb_render_pointfix_t p2;
jpayne@69 440 xcb_render_pointfix_t p3;
jpayne@69 441 } xcb_render_triangle_t;
jpayne@69 442
jpayne@69 443 /**
jpayne@69 444 * @brief xcb_render_triangle_iterator_t
jpayne@69 445 **/
jpayne@69 446 typedef struct xcb_render_triangle_iterator_t {
jpayne@69 447 xcb_render_triangle_t *data;
jpayne@69 448 int rem;
jpayne@69 449 int index;
jpayne@69 450 } xcb_render_triangle_iterator_t;
jpayne@69 451
jpayne@69 452 /**
jpayne@69 453 * @brief xcb_render_trapezoid_t
jpayne@69 454 **/
jpayne@69 455 typedef struct xcb_render_trapezoid_t {
jpayne@69 456 xcb_render_fixed_t top;
jpayne@69 457 xcb_render_fixed_t bottom;
jpayne@69 458 xcb_render_linefix_t left;
jpayne@69 459 xcb_render_linefix_t right;
jpayne@69 460 } xcb_render_trapezoid_t;
jpayne@69 461
jpayne@69 462 /**
jpayne@69 463 * @brief xcb_render_trapezoid_iterator_t
jpayne@69 464 **/
jpayne@69 465 typedef struct xcb_render_trapezoid_iterator_t {
jpayne@69 466 xcb_render_trapezoid_t *data;
jpayne@69 467 int rem;
jpayne@69 468 int index;
jpayne@69 469 } xcb_render_trapezoid_iterator_t;
jpayne@69 470
jpayne@69 471 /**
jpayne@69 472 * @brief xcb_render_glyphinfo_t
jpayne@69 473 **/
jpayne@69 474 typedef struct xcb_render_glyphinfo_t {
jpayne@69 475 uint16_t width;
jpayne@69 476 uint16_t height;
jpayne@69 477 int16_t x;
jpayne@69 478 int16_t y;
jpayne@69 479 int16_t x_off;
jpayne@69 480 int16_t y_off;
jpayne@69 481 } xcb_render_glyphinfo_t;
jpayne@69 482
jpayne@69 483 /**
jpayne@69 484 * @brief xcb_render_glyphinfo_iterator_t
jpayne@69 485 **/
jpayne@69 486 typedef struct xcb_render_glyphinfo_iterator_t {
jpayne@69 487 xcb_render_glyphinfo_t *data;
jpayne@69 488 int rem;
jpayne@69 489 int index;
jpayne@69 490 } xcb_render_glyphinfo_iterator_t;
jpayne@69 491
jpayne@69 492 /**
jpayne@69 493 * @brief xcb_render_query_version_cookie_t
jpayne@69 494 **/
jpayne@69 495 typedef struct xcb_render_query_version_cookie_t {
jpayne@69 496 unsigned int sequence;
jpayne@69 497 } xcb_render_query_version_cookie_t;
jpayne@69 498
jpayne@69 499 /** Opcode for xcb_render_query_version. */
jpayne@69 500 #define XCB_RENDER_QUERY_VERSION 0
jpayne@69 501
jpayne@69 502 /**
jpayne@69 503 * @brief xcb_render_query_version_request_t
jpayne@69 504 **/
jpayne@69 505 typedef struct xcb_render_query_version_request_t {
jpayne@69 506 uint8_t major_opcode;
jpayne@69 507 uint8_t minor_opcode;
jpayne@69 508 uint16_t length;
jpayne@69 509 uint32_t client_major_version;
jpayne@69 510 uint32_t client_minor_version;
jpayne@69 511 } xcb_render_query_version_request_t;
jpayne@69 512
jpayne@69 513 /**
jpayne@69 514 * @brief xcb_render_query_version_reply_t
jpayne@69 515 **/
jpayne@69 516 typedef struct xcb_render_query_version_reply_t {
jpayne@69 517 uint8_t response_type;
jpayne@69 518 uint8_t pad0;
jpayne@69 519 uint16_t sequence;
jpayne@69 520 uint32_t length;
jpayne@69 521 uint32_t major_version;
jpayne@69 522 uint32_t minor_version;
jpayne@69 523 uint8_t pad1[16];
jpayne@69 524 } xcb_render_query_version_reply_t;
jpayne@69 525
jpayne@69 526 /**
jpayne@69 527 * @brief xcb_render_query_pict_formats_cookie_t
jpayne@69 528 **/
jpayne@69 529 typedef struct xcb_render_query_pict_formats_cookie_t {
jpayne@69 530 unsigned int sequence;
jpayne@69 531 } xcb_render_query_pict_formats_cookie_t;
jpayne@69 532
jpayne@69 533 /** Opcode for xcb_render_query_pict_formats. */
jpayne@69 534 #define XCB_RENDER_QUERY_PICT_FORMATS 1
jpayne@69 535
jpayne@69 536 /**
jpayne@69 537 * @brief xcb_render_query_pict_formats_request_t
jpayne@69 538 **/
jpayne@69 539 typedef struct xcb_render_query_pict_formats_request_t {
jpayne@69 540 uint8_t major_opcode;
jpayne@69 541 uint8_t minor_opcode;
jpayne@69 542 uint16_t length;
jpayne@69 543 } xcb_render_query_pict_formats_request_t;
jpayne@69 544
jpayne@69 545 /**
jpayne@69 546 * @brief xcb_render_query_pict_formats_reply_t
jpayne@69 547 **/
jpayne@69 548 typedef struct xcb_render_query_pict_formats_reply_t {
jpayne@69 549 uint8_t response_type;
jpayne@69 550 uint8_t pad0;
jpayne@69 551 uint16_t sequence;
jpayne@69 552 uint32_t length;
jpayne@69 553 uint32_t num_formats;
jpayne@69 554 uint32_t num_screens;
jpayne@69 555 uint32_t num_depths;
jpayne@69 556 uint32_t num_visuals;
jpayne@69 557 uint32_t num_subpixel;
jpayne@69 558 uint8_t pad1[4];
jpayne@69 559 } xcb_render_query_pict_formats_reply_t;
jpayne@69 560
jpayne@69 561 /**
jpayne@69 562 * @brief xcb_render_query_pict_index_values_cookie_t
jpayne@69 563 **/
jpayne@69 564 typedef struct xcb_render_query_pict_index_values_cookie_t {
jpayne@69 565 unsigned int sequence;
jpayne@69 566 } xcb_render_query_pict_index_values_cookie_t;
jpayne@69 567
jpayne@69 568 /** Opcode for xcb_render_query_pict_index_values. */
jpayne@69 569 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
jpayne@69 570
jpayne@69 571 /**
jpayne@69 572 * @brief xcb_render_query_pict_index_values_request_t
jpayne@69 573 **/
jpayne@69 574 typedef struct xcb_render_query_pict_index_values_request_t {
jpayne@69 575 uint8_t major_opcode;
jpayne@69 576 uint8_t minor_opcode;
jpayne@69 577 uint16_t length;
jpayne@69 578 xcb_render_pictformat_t format;
jpayne@69 579 } xcb_render_query_pict_index_values_request_t;
jpayne@69 580
jpayne@69 581 /**
jpayne@69 582 * @brief xcb_render_query_pict_index_values_reply_t
jpayne@69 583 **/
jpayne@69 584 typedef struct xcb_render_query_pict_index_values_reply_t {
jpayne@69 585 uint8_t response_type;
jpayne@69 586 uint8_t pad0;
jpayne@69 587 uint16_t sequence;
jpayne@69 588 uint32_t length;
jpayne@69 589 uint32_t num_values;
jpayne@69 590 uint8_t pad1[20];
jpayne@69 591 } xcb_render_query_pict_index_values_reply_t;
jpayne@69 592
jpayne@69 593 /**
jpayne@69 594 * @brief xcb_render_create_picture_value_list_t
jpayne@69 595 **/
jpayne@69 596 typedef struct xcb_render_create_picture_value_list_t {
jpayne@69 597 uint32_t repeat;
jpayne@69 598 xcb_render_picture_t alphamap;
jpayne@69 599 int32_t alphaxorigin;
jpayne@69 600 int32_t alphayorigin;
jpayne@69 601 int32_t clipxorigin;
jpayne@69 602 int32_t clipyorigin;
jpayne@69 603 xcb_pixmap_t clipmask;
jpayne@69 604 uint32_t graphicsexposure;
jpayne@69 605 uint32_t subwindowmode;
jpayne@69 606 uint32_t polyedge;
jpayne@69 607 uint32_t polymode;
jpayne@69 608 xcb_atom_t dither;
jpayne@69 609 uint32_t componentalpha;
jpayne@69 610 } xcb_render_create_picture_value_list_t;
jpayne@69 611
jpayne@69 612 /** Opcode for xcb_render_create_picture. */
jpayne@69 613 #define XCB_RENDER_CREATE_PICTURE 4
jpayne@69 614
jpayne@69 615 /**
jpayne@69 616 * @brief xcb_render_create_picture_request_t
jpayne@69 617 **/
jpayne@69 618 typedef struct xcb_render_create_picture_request_t {
jpayne@69 619 uint8_t major_opcode;
jpayne@69 620 uint8_t minor_opcode;
jpayne@69 621 uint16_t length;
jpayne@69 622 xcb_render_picture_t pid;
jpayne@69 623 xcb_drawable_t drawable;
jpayne@69 624 xcb_render_pictformat_t format;
jpayne@69 625 uint32_t value_mask;
jpayne@69 626 } xcb_render_create_picture_request_t;
jpayne@69 627
jpayne@69 628 /**
jpayne@69 629 * @brief xcb_render_change_picture_value_list_t
jpayne@69 630 **/
jpayne@69 631 typedef struct xcb_render_change_picture_value_list_t {
jpayne@69 632 uint32_t repeat;
jpayne@69 633 xcb_render_picture_t alphamap;
jpayne@69 634 int32_t alphaxorigin;
jpayne@69 635 int32_t alphayorigin;
jpayne@69 636 int32_t clipxorigin;
jpayne@69 637 int32_t clipyorigin;
jpayne@69 638 xcb_pixmap_t clipmask;
jpayne@69 639 uint32_t graphicsexposure;
jpayne@69 640 uint32_t subwindowmode;
jpayne@69 641 uint32_t polyedge;
jpayne@69 642 uint32_t polymode;
jpayne@69 643 xcb_atom_t dither;
jpayne@69 644 uint32_t componentalpha;
jpayne@69 645 } xcb_render_change_picture_value_list_t;
jpayne@69 646
jpayne@69 647 /** Opcode for xcb_render_change_picture. */
jpayne@69 648 #define XCB_RENDER_CHANGE_PICTURE 5
jpayne@69 649
jpayne@69 650 /**
jpayne@69 651 * @brief xcb_render_change_picture_request_t
jpayne@69 652 **/
jpayne@69 653 typedef struct xcb_render_change_picture_request_t {
jpayne@69 654 uint8_t major_opcode;
jpayne@69 655 uint8_t minor_opcode;
jpayne@69 656 uint16_t length;
jpayne@69 657 xcb_render_picture_t picture;
jpayne@69 658 uint32_t value_mask;
jpayne@69 659 } xcb_render_change_picture_request_t;
jpayne@69 660
jpayne@69 661 /** Opcode for xcb_render_set_picture_clip_rectangles. */
jpayne@69 662 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
jpayne@69 663
jpayne@69 664 /**
jpayne@69 665 * @brief xcb_render_set_picture_clip_rectangles_request_t
jpayne@69 666 **/
jpayne@69 667 typedef struct xcb_render_set_picture_clip_rectangles_request_t {
jpayne@69 668 uint8_t major_opcode;
jpayne@69 669 uint8_t minor_opcode;
jpayne@69 670 uint16_t length;
jpayne@69 671 xcb_render_picture_t picture;
jpayne@69 672 int16_t clip_x_origin;
jpayne@69 673 int16_t clip_y_origin;
jpayne@69 674 } xcb_render_set_picture_clip_rectangles_request_t;
jpayne@69 675
jpayne@69 676 /** Opcode for xcb_render_free_picture. */
jpayne@69 677 #define XCB_RENDER_FREE_PICTURE 7
jpayne@69 678
jpayne@69 679 /**
jpayne@69 680 * @brief xcb_render_free_picture_request_t
jpayne@69 681 **/
jpayne@69 682 typedef struct xcb_render_free_picture_request_t {
jpayne@69 683 uint8_t major_opcode;
jpayne@69 684 uint8_t minor_opcode;
jpayne@69 685 uint16_t length;
jpayne@69 686 xcb_render_picture_t picture;
jpayne@69 687 } xcb_render_free_picture_request_t;
jpayne@69 688
jpayne@69 689 /** Opcode for xcb_render_composite. */
jpayne@69 690 #define XCB_RENDER_COMPOSITE 8
jpayne@69 691
jpayne@69 692 /**
jpayne@69 693 * @brief xcb_render_composite_request_t
jpayne@69 694 **/
jpayne@69 695 typedef struct xcb_render_composite_request_t {
jpayne@69 696 uint8_t major_opcode;
jpayne@69 697 uint8_t minor_opcode;
jpayne@69 698 uint16_t length;
jpayne@69 699 uint8_t op;
jpayne@69 700 uint8_t pad0[3];
jpayne@69 701 xcb_render_picture_t src;
jpayne@69 702 xcb_render_picture_t mask;
jpayne@69 703 xcb_render_picture_t dst;
jpayne@69 704 int16_t src_x;
jpayne@69 705 int16_t src_y;
jpayne@69 706 int16_t mask_x;
jpayne@69 707 int16_t mask_y;
jpayne@69 708 int16_t dst_x;
jpayne@69 709 int16_t dst_y;
jpayne@69 710 uint16_t width;
jpayne@69 711 uint16_t height;
jpayne@69 712 } xcb_render_composite_request_t;
jpayne@69 713
jpayne@69 714 /** Opcode for xcb_render_trapezoids. */
jpayne@69 715 #define XCB_RENDER_TRAPEZOIDS 10
jpayne@69 716
jpayne@69 717 /**
jpayne@69 718 * @brief xcb_render_trapezoids_request_t
jpayne@69 719 **/
jpayne@69 720 typedef struct xcb_render_trapezoids_request_t {
jpayne@69 721 uint8_t major_opcode;
jpayne@69 722 uint8_t minor_opcode;
jpayne@69 723 uint16_t length;
jpayne@69 724 uint8_t op;
jpayne@69 725 uint8_t pad0[3];
jpayne@69 726 xcb_render_picture_t src;
jpayne@69 727 xcb_render_picture_t dst;
jpayne@69 728 xcb_render_pictformat_t mask_format;
jpayne@69 729 int16_t src_x;
jpayne@69 730 int16_t src_y;
jpayne@69 731 } xcb_render_trapezoids_request_t;
jpayne@69 732
jpayne@69 733 /** Opcode for xcb_render_triangles. */
jpayne@69 734 #define XCB_RENDER_TRIANGLES 11
jpayne@69 735
jpayne@69 736 /**
jpayne@69 737 * @brief xcb_render_triangles_request_t
jpayne@69 738 **/
jpayne@69 739 typedef struct xcb_render_triangles_request_t {
jpayne@69 740 uint8_t major_opcode;
jpayne@69 741 uint8_t minor_opcode;
jpayne@69 742 uint16_t length;
jpayne@69 743 uint8_t op;
jpayne@69 744 uint8_t pad0[3];
jpayne@69 745 xcb_render_picture_t src;
jpayne@69 746 xcb_render_picture_t dst;
jpayne@69 747 xcb_render_pictformat_t mask_format;
jpayne@69 748 int16_t src_x;
jpayne@69 749 int16_t src_y;
jpayne@69 750 } xcb_render_triangles_request_t;
jpayne@69 751
jpayne@69 752 /** Opcode for xcb_render_tri_strip. */
jpayne@69 753 #define XCB_RENDER_TRI_STRIP 12
jpayne@69 754
jpayne@69 755 /**
jpayne@69 756 * @brief xcb_render_tri_strip_request_t
jpayne@69 757 **/
jpayne@69 758 typedef struct xcb_render_tri_strip_request_t {
jpayne@69 759 uint8_t major_opcode;
jpayne@69 760 uint8_t minor_opcode;
jpayne@69 761 uint16_t length;
jpayne@69 762 uint8_t op;
jpayne@69 763 uint8_t pad0[3];
jpayne@69 764 xcb_render_picture_t src;
jpayne@69 765 xcb_render_picture_t dst;
jpayne@69 766 xcb_render_pictformat_t mask_format;
jpayne@69 767 int16_t src_x;
jpayne@69 768 int16_t src_y;
jpayne@69 769 } xcb_render_tri_strip_request_t;
jpayne@69 770
jpayne@69 771 /** Opcode for xcb_render_tri_fan. */
jpayne@69 772 #define XCB_RENDER_TRI_FAN 13
jpayne@69 773
jpayne@69 774 /**
jpayne@69 775 * @brief xcb_render_tri_fan_request_t
jpayne@69 776 **/
jpayne@69 777 typedef struct xcb_render_tri_fan_request_t {
jpayne@69 778 uint8_t major_opcode;
jpayne@69 779 uint8_t minor_opcode;
jpayne@69 780 uint16_t length;
jpayne@69 781 uint8_t op;
jpayne@69 782 uint8_t pad0[3];
jpayne@69 783 xcb_render_picture_t src;
jpayne@69 784 xcb_render_picture_t dst;
jpayne@69 785 xcb_render_pictformat_t mask_format;
jpayne@69 786 int16_t src_x;
jpayne@69 787 int16_t src_y;
jpayne@69 788 } xcb_render_tri_fan_request_t;
jpayne@69 789
jpayne@69 790 /** Opcode for xcb_render_create_glyph_set. */
jpayne@69 791 #define XCB_RENDER_CREATE_GLYPH_SET 17
jpayne@69 792
jpayne@69 793 /**
jpayne@69 794 * @brief xcb_render_create_glyph_set_request_t
jpayne@69 795 **/
jpayne@69 796 typedef struct xcb_render_create_glyph_set_request_t {
jpayne@69 797 uint8_t major_opcode;
jpayne@69 798 uint8_t minor_opcode;
jpayne@69 799 uint16_t length;
jpayne@69 800 xcb_render_glyphset_t gsid;
jpayne@69 801 xcb_render_pictformat_t format;
jpayne@69 802 } xcb_render_create_glyph_set_request_t;
jpayne@69 803
jpayne@69 804 /** Opcode for xcb_render_reference_glyph_set. */
jpayne@69 805 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
jpayne@69 806
jpayne@69 807 /**
jpayne@69 808 * @brief xcb_render_reference_glyph_set_request_t
jpayne@69 809 **/
jpayne@69 810 typedef struct xcb_render_reference_glyph_set_request_t {
jpayne@69 811 uint8_t major_opcode;
jpayne@69 812 uint8_t minor_opcode;
jpayne@69 813 uint16_t length;
jpayne@69 814 xcb_render_glyphset_t gsid;
jpayne@69 815 xcb_render_glyphset_t existing;
jpayne@69 816 } xcb_render_reference_glyph_set_request_t;
jpayne@69 817
jpayne@69 818 /** Opcode for xcb_render_free_glyph_set. */
jpayne@69 819 #define XCB_RENDER_FREE_GLYPH_SET 19
jpayne@69 820
jpayne@69 821 /**
jpayne@69 822 * @brief xcb_render_free_glyph_set_request_t
jpayne@69 823 **/
jpayne@69 824 typedef struct xcb_render_free_glyph_set_request_t {
jpayne@69 825 uint8_t major_opcode;
jpayne@69 826 uint8_t minor_opcode;
jpayne@69 827 uint16_t length;
jpayne@69 828 xcb_render_glyphset_t glyphset;
jpayne@69 829 } xcb_render_free_glyph_set_request_t;
jpayne@69 830
jpayne@69 831 /** Opcode for xcb_render_add_glyphs. */
jpayne@69 832 #define XCB_RENDER_ADD_GLYPHS 20
jpayne@69 833
jpayne@69 834 /**
jpayne@69 835 * @brief xcb_render_add_glyphs_request_t
jpayne@69 836 **/
jpayne@69 837 typedef struct xcb_render_add_glyphs_request_t {
jpayne@69 838 uint8_t major_opcode;
jpayne@69 839 uint8_t minor_opcode;
jpayne@69 840 uint16_t length;
jpayne@69 841 xcb_render_glyphset_t glyphset;
jpayne@69 842 uint32_t glyphs_len;
jpayne@69 843 } xcb_render_add_glyphs_request_t;
jpayne@69 844
jpayne@69 845 /** Opcode for xcb_render_free_glyphs. */
jpayne@69 846 #define XCB_RENDER_FREE_GLYPHS 22
jpayne@69 847
jpayne@69 848 /**
jpayne@69 849 * @brief xcb_render_free_glyphs_request_t
jpayne@69 850 **/
jpayne@69 851 typedef struct xcb_render_free_glyphs_request_t {
jpayne@69 852 uint8_t major_opcode;
jpayne@69 853 uint8_t minor_opcode;
jpayne@69 854 uint16_t length;
jpayne@69 855 xcb_render_glyphset_t glyphset;
jpayne@69 856 } xcb_render_free_glyphs_request_t;
jpayne@69 857
jpayne@69 858 /** Opcode for xcb_render_composite_glyphs_8. */
jpayne@69 859 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
jpayne@69 860
jpayne@69 861 /**
jpayne@69 862 * @brief xcb_render_composite_glyphs_8_request_t
jpayne@69 863 **/
jpayne@69 864 typedef struct xcb_render_composite_glyphs_8_request_t {
jpayne@69 865 uint8_t major_opcode;
jpayne@69 866 uint8_t minor_opcode;
jpayne@69 867 uint16_t length;
jpayne@69 868 uint8_t op;
jpayne@69 869 uint8_t pad0[3];
jpayne@69 870 xcb_render_picture_t src;
jpayne@69 871 xcb_render_picture_t dst;
jpayne@69 872 xcb_render_pictformat_t mask_format;
jpayne@69 873 xcb_render_glyphset_t glyphset;
jpayne@69 874 int16_t src_x;
jpayne@69 875 int16_t src_y;
jpayne@69 876 } xcb_render_composite_glyphs_8_request_t;
jpayne@69 877
jpayne@69 878 /** Opcode for xcb_render_composite_glyphs_16. */
jpayne@69 879 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
jpayne@69 880
jpayne@69 881 /**
jpayne@69 882 * @brief xcb_render_composite_glyphs_16_request_t
jpayne@69 883 **/
jpayne@69 884 typedef struct xcb_render_composite_glyphs_16_request_t {
jpayne@69 885 uint8_t major_opcode;
jpayne@69 886 uint8_t minor_opcode;
jpayne@69 887 uint16_t length;
jpayne@69 888 uint8_t op;
jpayne@69 889 uint8_t pad0[3];
jpayne@69 890 xcb_render_picture_t src;
jpayne@69 891 xcb_render_picture_t dst;
jpayne@69 892 xcb_render_pictformat_t mask_format;
jpayne@69 893 xcb_render_glyphset_t glyphset;
jpayne@69 894 int16_t src_x;
jpayne@69 895 int16_t src_y;
jpayne@69 896 } xcb_render_composite_glyphs_16_request_t;
jpayne@69 897
jpayne@69 898 /** Opcode for xcb_render_composite_glyphs_32. */
jpayne@69 899 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
jpayne@69 900
jpayne@69 901 /**
jpayne@69 902 * @brief xcb_render_composite_glyphs_32_request_t
jpayne@69 903 **/
jpayne@69 904 typedef struct xcb_render_composite_glyphs_32_request_t {
jpayne@69 905 uint8_t major_opcode;
jpayne@69 906 uint8_t minor_opcode;
jpayne@69 907 uint16_t length;
jpayne@69 908 uint8_t op;
jpayne@69 909 uint8_t pad0[3];
jpayne@69 910 xcb_render_picture_t src;
jpayne@69 911 xcb_render_picture_t dst;
jpayne@69 912 xcb_render_pictformat_t mask_format;
jpayne@69 913 xcb_render_glyphset_t glyphset;
jpayne@69 914 int16_t src_x;
jpayne@69 915 int16_t src_y;
jpayne@69 916 } xcb_render_composite_glyphs_32_request_t;
jpayne@69 917
jpayne@69 918 /** Opcode for xcb_render_fill_rectangles. */
jpayne@69 919 #define XCB_RENDER_FILL_RECTANGLES 26
jpayne@69 920
jpayne@69 921 /**
jpayne@69 922 * @brief xcb_render_fill_rectangles_request_t
jpayne@69 923 **/
jpayne@69 924 typedef struct xcb_render_fill_rectangles_request_t {
jpayne@69 925 uint8_t major_opcode;
jpayne@69 926 uint8_t minor_opcode;
jpayne@69 927 uint16_t length;
jpayne@69 928 uint8_t op;
jpayne@69 929 uint8_t pad0[3];
jpayne@69 930 xcb_render_picture_t dst;
jpayne@69 931 xcb_render_color_t color;
jpayne@69 932 } xcb_render_fill_rectangles_request_t;
jpayne@69 933
jpayne@69 934 /** Opcode for xcb_render_create_cursor. */
jpayne@69 935 #define XCB_RENDER_CREATE_CURSOR 27
jpayne@69 936
jpayne@69 937 /**
jpayne@69 938 * @brief xcb_render_create_cursor_request_t
jpayne@69 939 **/
jpayne@69 940 typedef struct xcb_render_create_cursor_request_t {
jpayne@69 941 uint8_t major_opcode;
jpayne@69 942 uint8_t minor_opcode;
jpayne@69 943 uint16_t length;
jpayne@69 944 xcb_cursor_t cid;
jpayne@69 945 xcb_render_picture_t source;
jpayne@69 946 uint16_t x;
jpayne@69 947 uint16_t y;
jpayne@69 948 } xcb_render_create_cursor_request_t;
jpayne@69 949
jpayne@69 950 /**
jpayne@69 951 * @brief xcb_render_transform_t
jpayne@69 952 **/
jpayne@69 953 typedef struct xcb_render_transform_t {
jpayne@69 954 xcb_render_fixed_t matrix11;
jpayne@69 955 xcb_render_fixed_t matrix12;
jpayne@69 956 xcb_render_fixed_t matrix13;
jpayne@69 957 xcb_render_fixed_t matrix21;
jpayne@69 958 xcb_render_fixed_t matrix22;
jpayne@69 959 xcb_render_fixed_t matrix23;
jpayne@69 960 xcb_render_fixed_t matrix31;
jpayne@69 961 xcb_render_fixed_t matrix32;
jpayne@69 962 xcb_render_fixed_t matrix33;
jpayne@69 963 } xcb_render_transform_t;
jpayne@69 964
jpayne@69 965 /**
jpayne@69 966 * @brief xcb_render_transform_iterator_t
jpayne@69 967 **/
jpayne@69 968 typedef struct xcb_render_transform_iterator_t {
jpayne@69 969 xcb_render_transform_t *data;
jpayne@69 970 int rem;
jpayne@69 971 int index;
jpayne@69 972 } xcb_render_transform_iterator_t;
jpayne@69 973
jpayne@69 974 /** Opcode for xcb_render_set_picture_transform. */
jpayne@69 975 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
jpayne@69 976
jpayne@69 977 /**
jpayne@69 978 * @brief xcb_render_set_picture_transform_request_t
jpayne@69 979 **/
jpayne@69 980 typedef struct xcb_render_set_picture_transform_request_t {
jpayne@69 981 uint8_t major_opcode;
jpayne@69 982 uint8_t minor_opcode;
jpayne@69 983 uint16_t length;
jpayne@69 984 xcb_render_picture_t picture;
jpayne@69 985 xcb_render_transform_t transform;
jpayne@69 986 } xcb_render_set_picture_transform_request_t;
jpayne@69 987
jpayne@69 988 /**
jpayne@69 989 * @brief xcb_render_query_filters_cookie_t
jpayne@69 990 **/
jpayne@69 991 typedef struct xcb_render_query_filters_cookie_t {
jpayne@69 992 unsigned int sequence;
jpayne@69 993 } xcb_render_query_filters_cookie_t;
jpayne@69 994
jpayne@69 995 /** Opcode for xcb_render_query_filters. */
jpayne@69 996 #define XCB_RENDER_QUERY_FILTERS 29
jpayne@69 997
jpayne@69 998 /**
jpayne@69 999 * @brief xcb_render_query_filters_request_t
jpayne@69 1000 **/
jpayne@69 1001 typedef struct xcb_render_query_filters_request_t {
jpayne@69 1002 uint8_t major_opcode;
jpayne@69 1003 uint8_t minor_opcode;
jpayne@69 1004 uint16_t length;
jpayne@69 1005 xcb_drawable_t drawable;
jpayne@69 1006 } xcb_render_query_filters_request_t;
jpayne@69 1007
jpayne@69 1008 /**
jpayne@69 1009 * @brief xcb_render_query_filters_reply_t
jpayne@69 1010 **/
jpayne@69 1011 typedef struct xcb_render_query_filters_reply_t {
jpayne@69 1012 uint8_t response_type;
jpayne@69 1013 uint8_t pad0;
jpayne@69 1014 uint16_t sequence;
jpayne@69 1015 uint32_t length;
jpayne@69 1016 uint32_t num_aliases;
jpayne@69 1017 uint32_t num_filters;
jpayne@69 1018 uint8_t pad1[16];
jpayne@69 1019 } xcb_render_query_filters_reply_t;
jpayne@69 1020
jpayne@69 1021 /** Opcode for xcb_render_set_picture_filter. */
jpayne@69 1022 #define XCB_RENDER_SET_PICTURE_FILTER 30
jpayne@69 1023
jpayne@69 1024 /**
jpayne@69 1025 * @brief xcb_render_set_picture_filter_request_t
jpayne@69 1026 **/
jpayne@69 1027 typedef struct xcb_render_set_picture_filter_request_t {
jpayne@69 1028 uint8_t major_opcode;
jpayne@69 1029 uint8_t minor_opcode;
jpayne@69 1030 uint16_t length;
jpayne@69 1031 xcb_render_picture_t picture;
jpayne@69 1032 uint16_t filter_len;
jpayne@69 1033 uint8_t pad0[2];
jpayne@69 1034 } xcb_render_set_picture_filter_request_t;
jpayne@69 1035
jpayne@69 1036 /**
jpayne@69 1037 * @brief xcb_render_animcursorelt_t
jpayne@69 1038 **/
jpayne@69 1039 typedef struct xcb_render_animcursorelt_t {
jpayne@69 1040 xcb_cursor_t cursor;
jpayne@69 1041 uint32_t delay;
jpayne@69 1042 } xcb_render_animcursorelt_t;
jpayne@69 1043
jpayne@69 1044 /**
jpayne@69 1045 * @brief xcb_render_animcursorelt_iterator_t
jpayne@69 1046 **/
jpayne@69 1047 typedef struct xcb_render_animcursorelt_iterator_t {
jpayne@69 1048 xcb_render_animcursorelt_t *data;
jpayne@69 1049 int rem;
jpayne@69 1050 int index;
jpayne@69 1051 } xcb_render_animcursorelt_iterator_t;
jpayne@69 1052
jpayne@69 1053 /** Opcode for xcb_render_create_anim_cursor. */
jpayne@69 1054 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
jpayne@69 1055
jpayne@69 1056 /**
jpayne@69 1057 * @brief xcb_render_create_anim_cursor_request_t
jpayne@69 1058 **/
jpayne@69 1059 typedef struct xcb_render_create_anim_cursor_request_t {
jpayne@69 1060 uint8_t major_opcode;
jpayne@69 1061 uint8_t minor_opcode;
jpayne@69 1062 uint16_t length;
jpayne@69 1063 xcb_cursor_t cid;
jpayne@69 1064 } xcb_render_create_anim_cursor_request_t;
jpayne@69 1065
jpayne@69 1066 /**
jpayne@69 1067 * @brief xcb_render_spanfix_t
jpayne@69 1068 **/
jpayne@69 1069 typedef struct xcb_render_spanfix_t {
jpayne@69 1070 xcb_render_fixed_t l;
jpayne@69 1071 xcb_render_fixed_t r;
jpayne@69 1072 xcb_render_fixed_t y;
jpayne@69 1073 } xcb_render_spanfix_t;
jpayne@69 1074
jpayne@69 1075 /**
jpayne@69 1076 * @brief xcb_render_spanfix_iterator_t
jpayne@69 1077 **/
jpayne@69 1078 typedef struct xcb_render_spanfix_iterator_t {
jpayne@69 1079 xcb_render_spanfix_t *data;
jpayne@69 1080 int rem;
jpayne@69 1081 int index;
jpayne@69 1082 } xcb_render_spanfix_iterator_t;
jpayne@69 1083
jpayne@69 1084 /**
jpayne@69 1085 * @brief xcb_render_trap_t
jpayne@69 1086 **/
jpayne@69 1087 typedef struct xcb_render_trap_t {
jpayne@69 1088 xcb_render_spanfix_t top;
jpayne@69 1089 xcb_render_spanfix_t bot;
jpayne@69 1090 } xcb_render_trap_t;
jpayne@69 1091
jpayne@69 1092 /**
jpayne@69 1093 * @brief xcb_render_trap_iterator_t
jpayne@69 1094 **/
jpayne@69 1095 typedef struct xcb_render_trap_iterator_t {
jpayne@69 1096 xcb_render_trap_t *data;
jpayne@69 1097 int rem;
jpayne@69 1098 int index;
jpayne@69 1099 } xcb_render_trap_iterator_t;
jpayne@69 1100
jpayne@69 1101 /** Opcode for xcb_render_add_traps. */
jpayne@69 1102 #define XCB_RENDER_ADD_TRAPS 32
jpayne@69 1103
jpayne@69 1104 /**
jpayne@69 1105 * @brief xcb_render_add_traps_request_t
jpayne@69 1106 **/
jpayne@69 1107 typedef struct xcb_render_add_traps_request_t {
jpayne@69 1108 uint8_t major_opcode;
jpayne@69 1109 uint8_t minor_opcode;
jpayne@69 1110 uint16_t length;
jpayne@69 1111 xcb_render_picture_t picture;
jpayne@69 1112 int16_t x_off;
jpayne@69 1113 int16_t y_off;
jpayne@69 1114 } xcb_render_add_traps_request_t;
jpayne@69 1115
jpayne@69 1116 /** Opcode for xcb_render_create_solid_fill. */
jpayne@69 1117 #define XCB_RENDER_CREATE_SOLID_FILL 33
jpayne@69 1118
jpayne@69 1119 /**
jpayne@69 1120 * @brief xcb_render_create_solid_fill_request_t
jpayne@69 1121 **/
jpayne@69 1122 typedef struct xcb_render_create_solid_fill_request_t {
jpayne@69 1123 uint8_t major_opcode;
jpayne@69 1124 uint8_t minor_opcode;
jpayne@69 1125 uint16_t length;
jpayne@69 1126 xcb_render_picture_t picture;
jpayne@69 1127 xcb_render_color_t color;
jpayne@69 1128 } xcb_render_create_solid_fill_request_t;
jpayne@69 1129
jpayne@69 1130 /** Opcode for xcb_render_create_linear_gradient. */
jpayne@69 1131 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
jpayne@69 1132
jpayne@69 1133 /**
jpayne@69 1134 * @brief xcb_render_create_linear_gradient_request_t
jpayne@69 1135 **/
jpayne@69 1136 typedef struct xcb_render_create_linear_gradient_request_t {
jpayne@69 1137 uint8_t major_opcode;
jpayne@69 1138 uint8_t minor_opcode;
jpayne@69 1139 uint16_t length;
jpayne@69 1140 xcb_render_picture_t picture;
jpayne@69 1141 xcb_render_pointfix_t p1;
jpayne@69 1142 xcb_render_pointfix_t p2;
jpayne@69 1143 uint32_t num_stops;
jpayne@69 1144 } xcb_render_create_linear_gradient_request_t;
jpayne@69 1145
jpayne@69 1146 /** Opcode for xcb_render_create_radial_gradient. */
jpayne@69 1147 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
jpayne@69 1148
jpayne@69 1149 /**
jpayne@69 1150 * @brief xcb_render_create_radial_gradient_request_t
jpayne@69 1151 **/
jpayne@69 1152 typedef struct xcb_render_create_radial_gradient_request_t {
jpayne@69 1153 uint8_t major_opcode;
jpayne@69 1154 uint8_t minor_opcode;
jpayne@69 1155 uint16_t length;
jpayne@69 1156 xcb_render_picture_t picture;
jpayne@69 1157 xcb_render_pointfix_t inner;
jpayne@69 1158 xcb_render_pointfix_t outer;
jpayne@69 1159 xcb_render_fixed_t inner_radius;
jpayne@69 1160 xcb_render_fixed_t outer_radius;
jpayne@69 1161 uint32_t num_stops;
jpayne@69 1162 } xcb_render_create_radial_gradient_request_t;
jpayne@69 1163
jpayne@69 1164 /** Opcode for xcb_render_create_conical_gradient. */
jpayne@69 1165 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
jpayne@69 1166
jpayne@69 1167 /**
jpayne@69 1168 * @brief xcb_render_create_conical_gradient_request_t
jpayne@69 1169 **/
jpayne@69 1170 typedef struct xcb_render_create_conical_gradient_request_t {
jpayne@69 1171 uint8_t major_opcode;
jpayne@69 1172 uint8_t minor_opcode;
jpayne@69 1173 uint16_t length;
jpayne@69 1174 xcb_render_picture_t picture;
jpayne@69 1175 xcb_render_pointfix_t center;
jpayne@69 1176 xcb_render_fixed_t angle;
jpayne@69 1177 uint32_t num_stops;
jpayne@69 1178 } xcb_render_create_conical_gradient_request_t;
jpayne@69 1179
jpayne@69 1180 /**
jpayne@69 1181 * Get the next element of the iterator
jpayne@69 1182 * @param i Pointer to a xcb_render_glyph_iterator_t
jpayne@69 1183 *
jpayne@69 1184 * Get the next element in the iterator. The member rem is
jpayne@69 1185 * decreased by one. The member data points to the next
jpayne@69 1186 * element. The member index is increased by sizeof(xcb_render_glyph_t)
jpayne@69 1187 */
jpayne@69 1188 void
jpayne@69 1189 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i);
jpayne@69 1190
jpayne@69 1191 /**
jpayne@69 1192 * Return the iterator pointing to the last element
jpayne@69 1193 * @param i An xcb_render_glyph_iterator_t
jpayne@69 1194 * @return The iterator pointing to the last element
jpayne@69 1195 *
jpayne@69 1196 * Set the current element in the iterator to the last element.
jpayne@69 1197 * The member rem is set to 0. The member data points to the
jpayne@69 1198 * last element.
jpayne@69 1199 */
jpayne@69 1200 xcb_generic_iterator_t
jpayne@69 1201 xcb_render_glyph_end (xcb_render_glyph_iterator_t i);
jpayne@69 1202
jpayne@69 1203 /**
jpayne@69 1204 * Get the next element of the iterator
jpayne@69 1205 * @param i Pointer to a xcb_render_glyphset_iterator_t
jpayne@69 1206 *
jpayne@69 1207 * Get the next element in the iterator. The member rem is
jpayne@69 1208 * decreased by one. The member data points to the next
jpayne@69 1209 * element. The member index is increased by sizeof(xcb_render_glyphset_t)
jpayne@69 1210 */
jpayne@69 1211 void
jpayne@69 1212 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i);
jpayne@69 1213
jpayne@69 1214 /**
jpayne@69 1215 * Return the iterator pointing to the last element
jpayne@69 1216 * @param i An xcb_render_glyphset_iterator_t
jpayne@69 1217 * @return The iterator pointing to the last element
jpayne@69 1218 *
jpayne@69 1219 * Set the current element in the iterator to the last element.
jpayne@69 1220 * The member rem is set to 0. The member data points to the
jpayne@69 1221 * last element.
jpayne@69 1222 */
jpayne@69 1223 xcb_generic_iterator_t
jpayne@69 1224 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i);
jpayne@69 1225
jpayne@69 1226 /**
jpayne@69 1227 * Get the next element of the iterator
jpayne@69 1228 * @param i Pointer to a xcb_render_picture_iterator_t
jpayne@69 1229 *
jpayne@69 1230 * Get the next element in the iterator. The member rem is
jpayne@69 1231 * decreased by one. The member data points to the next
jpayne@69 1232 * element. The member index is increased by sizeof(xcb_render_picture_t)
jpayne@69 1233 */
jpayne@69 1234 void
jpayne@69 1235 xcb_render_picture_next (xcb_render_picture_iterator_t *i);
jpayne@69 1236
jpayne@69 1237 /**
jpayne@69 1238 * Return the iterator pointing to the last element
jpayne@69 1239 * @param i An xcb_render_picture_iterator_t
jpayne@69 1240 * @return The iterator pointing to the last element
jpayne@69 1241 *
jpayne@69 1242 * Set the current element in the iterator to the last element.
jpayne@69 1243 * The member rem is set to 0. The member data points to the
jpayne@69 1244 * last element.
jpayne@69 1245 */
jpayne@69 1246 xcb_generic_iterator_t
jpayne@69 1247 xcb_render_picture_end (xcb_render_picture_iterator_t i);
jpayne@69 1248
jpayne@69 1249 /**
jpayne@69 1250 * Get the next element of the iterator
jpayne@69 1251 * @param i Pointer to a xcb_render_pictformat_iterator_t
jpayne@69 1252 *
jpayne@69 1253 * Get the next element in the iterator. The member rem is
jpayne@69 1254 * decreased by one. The member data points to the next
jpayne@69 1255 * element. The member index is increased by sizeof(xcb_render_pictformat_t)
jpayne@69 1256 */
jpayne@69 1257 void
jpayne@69 1258 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i);
jpayne@69 1259
jpayne@69 1260 /**
jpayne@69 1261 * Return the iterator pointing to the last element
jpayne@69 1262 * @param i An xcb_render_pictformat_iterator_t
jpayne@69 1263 * @return The iterator pointing to the last element
jpayne@69 1264 *
jpayne@69 1265 * Set the current element in the iterator to the last element.
jpayne@69 1266 * The member rem is set to 0. The member data points to the
jpayne@69 1267 * last element.
jpayne@69 1268 */
jpayne@69 1269 xcb_generic_iterator_t
jpayne@69 1270 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i);
jpayne@69 1271
jpayne@69 1272 /**
jpayne@69 1273 * Get the next element of the iterator
jpayne@69 1274 * @param i Pointer to a xcb_render_fixed_iterator_t
jpayne@69 1275 *
jpayne@69 1276 * Get the next element in the iterator. The member rem is
jpayne@69 1277 * decreased by one. The member data points to the next
jpayne@69 1278 * element. The member index is increased by sizeof(xcb_render_fixed_t)
jpayne@69 1279 */
jpayne@69 1280 void
jpayne@69 1281 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i);
jpayne@69 1282
jpayne@69 1283 /**
jpayne@69 1284 * Return the iterator pointing to the last element
jpayne@69 1285 * @param i An xcb_render_fixed_iterator_t
jpayne@69 1286 * @return The iterator pointing to the last element
jpayne@69 1287 *
jpayne@69 1288 * Set the current element in the iterator to the last element.
jpayne@69 1289 * The member rem is set to 0. The member data points to the
jpayne@69 1290 * last element.
jpayne@69 1291 */
jpayne@69 1292 xcb_generic_iterator_t
jpayne@69 1293 xcb_render_fixed_end (xcb_render_fixed_iterator_t i);
jpayne@69 1294
jpayne@69 1295 /**
jpayne@69 1296 * Get the next element of the iterator
jpayne@69 1297 * @param i Pointer to a xcb_render_directformat_iterator_t
jpayne@69 1298 *
jpayne@69 1299 * Get the next element in the iterator. The member rem is
jpayne@69 1300 * decreased by one. The member data points to the next
jpayne@69 1301 * element. The member index is increased by sizeof(xcb_render_directformat_t)
jpayne@69 1302 */
jpayne@69 1303 void
jpayne@69 1304 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i);
jpayne@69 1305
jpayne@69 1306 /**
jpayne@69 1307 * Return the iterator pointing to the last element
jpayne@69 1308 * @param i An xcb_render_directformat_iterator_t
jpayne@69 1309 * @return The iterator pointing to the last element
jpayne@69 1310 *
jpayne@69 1311 * Set the current element in the iterator to the last element.
jpayne@69 1312 * The member rem is set to 0. The member data points to the
jpayne@69 1313 * last element.
jpayne@69 1314 */
jpayne@69 1315 xcb_generic_iterator_t
jpayne@69 1316 xcb_render_directformat_end (xcb_render_directformat_iterator_t i);
jpayne@69 1317
jpayne@69 1318 /**
jpayne@69 1319 * Get the next element of the iterator
jpayne@69 1320 * @param i Pointer to a xcb_render_pictforminfo_iterator_t
jpayne@69 1321 *
jpayne@69 1322 * Get the next element in the iterator. The member rem is
jpayne@69 1323 * decreased by one. The member data points to the next
jpayne@69 1324 * element. The member index is increased by sizeof(xcb_render_pictforminfo_t)
jpayne@69 1325 */
jpayne@69 1326 void
jpayne@69 1327 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i);
jpayne@69 1328
jpayne@69 1329 /**
jpayne@69 1330 * Return the iterator pointing to the last element
jpayne@69 1331 * @param i An xcb_render_pictforminfo_iterator_t
jpayne@69 1332 * @return The iterator pointing to the last element
jpayne@69 1333 *
jpayne@69 1334 * Set the current element in the iterator to the last element.
jpayne@69 1335 * The member rem is set to 0. The member data points to the
jpayne@69 1336 * last element.
jpayne@69 1337 */
jpayne@69 1338 xcb_generic_iterator_t
jpayne@69 1339 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i);
jpayne@69 1340
jpayne@69 1341 /**
jpayne@69 1342 * Get the next element of the iterator
jpayne@69 1343 * @param i Pointer to a xcb_render_pictvisual_iterator_t
jpayne@69 1344 *
jpayne@69 1345 * Get the next element in the iterator. The member rem is
jpayne@69 1346 * decreased by one. The member data points to the next
jpayne@69 1347 * element. The member index is increased by sizeof(xcb_render_pictvisual_t)
jpayne@69 1348 */
jpayne@69 1349 void
jpayne@69 1350 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i);
jpayne@69 1351
jpayne@69 1352 /**
jpayne@69 1353 * Return the iterator pointing to the last element
jpayne@69 1354 * @param i An xcb_render_pictvisual_iterator_t
jpayne@69 1355 * @return The iterator pointing to the last element
jpayne@69 1356 *
jpayne@69 1357 * Set the current element in the iterator to the last element.
jpayne@69 1358 * The member rem is set to 0. The member data points to the
jpayne@69 1359 * last element.
jpayne@69 1360 */
jpayne@69 1361 xcb_generic_iterator_t
jpayne@69 1362 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i);
jpayne@69 1363
jpayne@69 1364 int
jpayne@69 1365 xcb_render_pictdepth_sizeof (const void *_buffer);
jpayne@69 1366
jpayne@69 1367 xcb_render_pictvisual_t *
jpayne@69 1368 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R);
jpayne@69 1369
jpayne@69 1370 int
jpayne@69 1371 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R);
jpayne@69 1372
jpayne@69 1373 xcb_render_pictvisual_iterator_t
jpayne@69 1374 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R);
jpayne@69 1375
jpayne@69 1376 /**
jpayne@69 1377 * Get the next element of the iterator
jpayne@69 1378 * @param i Pointer to a xcb_render_pictdepth_iterator_t
jpayne@69 1379 *
jpayne@69 1380 * Get the next element in the iterator. The member rem is
jpayne@69 1381 * decreased by one. The member data points to the next
jpayne@69 1382 * element. The member index is increased by sizeof(xcb_render_pictdepth_t)
jpayne@69 1383 */
jpayne@69 1384 void
jpayne@69 1385 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i);
jpayne@69 1386
jpayne@69 1387 /**
jpayne@69 1388 * Return the iterator pointing to the last element
jpayne@69 1389 * @param i An xcb_render_pictdepth_iterator_t
jpayne@69 1390 * @return The iterator pointing to the last element
jpayne@69 1391 *
jpayne@69 1392 * Set the current element in the iterator to the last element.
jpayne@69 1393 * The member rem is set to 0. The member data points to the
jpayne@69 1394 * last element.
jpayne@69 1395 */
jpayne@69 1396 xcb_generic_iterator_t
jpayne@69 1397 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i);
jpayne@69 1398
jpayne@69 1399 int
jpayne@69 1400 xcb_render_pictscreen_sizeof (const void *_buffer);
jpayne@69 1401
jpayne@69 1402 int
jpayne@69 1403 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R);
jpayne@69 1404
jpayne@69 1405 xcb_render_pictdepth_iterator_t
jpayne@69 1406 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R);
jpayne@69 1407
jpayne@69 1408 /**
jpayne@69 1409 * Get the next element of the iterator
jpayne@69 1410 * @param i Pointer to a xcb_render_pictscreen_iterator_t
jpayne@69 1411 *
jpayne@69 1412 * Get the next element in the iterator. The member rem is
jpayne@69 1413 * decreased by one. The member data points to the next
jpayne@69 1414 * element. The member index is increased by sizeof(xcb_render_pictscreen_t)
jpayne@69 1415 */
jpayne@69 1416 void
jpayne@69 1417 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i);
jpayne@69 1418
jpayne@69 1419 /**
jpayne@69 1420 * Return the iterator pointing to the last element
jpayne@69 1421 * @param i An xcb_render_pictscreen_iterator_t
jpayne@69 1422 * @return The iterator pointing to the last element
jpayne@69 1423 *
jpayne@69 1424 * Set the current element in the iterator to the last element.
jpayne@69 1425 * The member rem is set to 0. The member data points to the
jpayne@69 1426 * last element.
jpayne@69 1427 */
jpayne@69 1428 xcb_generic_iterator_t
jpayne@69 1429 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i);
jpayne@69 1430
jpayne@69 1431 /**
jpayne@69 1432 * Get the next element of the iterator
jpayne@69 1433 * @param i Pointer to a xcb_render_indexvalue_iterator_t
jpayne@69 1434 *
jpayne@69 1435 * Get the next element in the iterator. The member rem is
jpayne@69 1436 * decreased by one. The member data points to the next
jpayne@69 1437 * element. The member index is increased by sizeof(xcb_render_indexvalue_t)
jpayne@69 1438 */
jpayne@69 1439 void
jpayne@69 1440 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i);
jpayne@69 1441
jpayne@69 1442 /**
jpayne@69 1443 * Return the iterator pointing to the last element
jpayne@69 1444 * @param i An xcb_render_indexvalue_iterator_t
jpayne@69 1445 * @return The iterator pointing to the last element
jpayne@69 1446 *
jpayne@69 1447 * Set the current element in the iterator to the last element.
jpayne@69 1448 * The member rem is set to 0. The member data points to the
jpayne@69 1449 * last element.
jpayne@69 1450 */
jpayne@69 1451 xcb_generic_iterator_t
jpayne@69 1452 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i);
jpayne@69 1453
jpayne@69 1454 /**
jpayne@69 1455 * Get the next element of the iterator
jpayne@69 1456 * @param i Pointer to a xcb_render_color_iterator_t
jpayne@69 1457 *
jpayne@69 1458 * Get the next element in the iterator. The member rem is
jpayne@69 1459 * decreased by one. The member data points to the next
jpayne@69 1460 * element. The member index is increased by sizeof(xcb_render_color_t)
jpayne@69 1461 */
jpayne@69 1462 void
jpayne@69 1463 xcb_render_color_next (xcb_render_color_iterator_t *i);
jpayne@69 1464
jpayne@69 1465 /**
jpayne@69 1466 * Return the iterator pointing to the last element
jpayne@69 1467 * @param i An xcb_render_color_iterator_t
jpayne@69 1468 * @return The iterator pointing to the last element
jpayne@69 1469 *
jpayne@69 1470 * Set the current element in the iterator to the last element.
jpayne@69 1471 * The member rem is set to 0. The member data points to the
jpayne@69 1472 * last element.
jpayne@69 1473 */
jpayne@69 1474 xcb_generic_iterator_t
jpayne@69 1475 xcb_render_color_end (xcb_render_color_iterator_t i);
jpayne@69 1476
jpayne@69 1477 /**
jpayne@69 1478 * Get the next element of the iterator
jpayne@69 1479 * @param i Pointer to a xcb_render_pointfix_iterator_t
jpayne@69 1480 *
jpayne@69 1481 * Get the next element in the iterator. The member rem is
jpayne@69 1482 * decreased by one. The member data points to the next
jpayne@69 1483 * element. The member index is increased by sizeof(xcb_render_pointfix_t)
jpayne@69 1484 */
jpayne@69 1485 void
jpayne@69 1486 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i);
jpayne@69 1487
jpayne@69 1488 /**
jpayne@69 1489 * Return the iterator pointing to the last element
jpayne@69 1490 * @param i An xcb_render_pointfix_iterator_t
jpayne@69 1491 * @return The iterator pointing to the last element
jpayne@69 1492 *
jpayne@69 1493 * Set the current element in the iterator to the last element.
jpayne@69 1494 * The member rem is set to 0. The member data points to the
jpayne@69 1495 * last element.
jpayne@69 1496 */
jpayne@69 1497 xcb_generic_iterator_t
jpayne@69 1498 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i);
jpayne@69 1499
jpayne@69 1500 /**
jpayne@69 1501 * Get the next element of the iterator
jpayne@69 1502 * @param i Pointer to a xcb_render_linefix_iterator_t
jpayne@69 1503 *
jpayne@69 1504 * Get the next element in the iterator. The member rem is
jpayne@69 1505 * decreased by one. The member data points to the next
jpayne@69 1506 * element. The member index is increased by sizeof(xcb_render_linefix_t)
jpayne@69 1507 */
jpayne@69 1508 void
jpayne@69 1509 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i);
jpayne@69 1510
jpayne@69 1511 /**
jpayne@69 1512 * Return the iterator pointing to the last element
jpayne@69 1513 * @param i An xcb_render_linefix_iterator_t
jpayne@69 1514 * @return The iterator pointing to the last element
jpayne@69 1515 *
jpayne@69 1516 * Set the current element in the iterator to the last element.
jpayne@69 1517 * The member rem is set to 0. The member data points to the
jpayne@69 1518 * last element.
jpayne@69 1519 */
jpayne@69 1520 xcb_generic_iterator_t
jpayne@69 1521 xcb_render_linefix_end (xcb_render_linefix_iterator_t i);
jpayne@69 1522
jpayne@69 1523 /**
jpayne@69 1524 * Get the next element of the iterator
jpayne@69 1525 * @param i Pointer to a xcb_render_triangle_iterator_t
jpayne@69 1526 *
jpayne@69 1527 * Get the next element in the iterator. The member rem is
jpayne@69 1528 * decreased by one. The member data points to the next
jpayne@69 1529 * element. The member index is increased by sizeof(xcb_render_triangle_t)
jpayne@69 1530 */
jpayne@69 1531 void
jpayne@69 1532 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i);
jpayne@69 1533
jpayne@69 1534 /**
jpayne@69 1535 * Return the iterator pointing to the last element
jpayne@69 1536 * @param i An xcb_render_triangle_iterator_t
jpayne@69 1537 * @return The iterator pointing to the last element
jpayne@69 1538 *
jpayne@69 1539 * Set the current element in the iterator to the last element.
jpayne@69 1540 * The member rem is set to 0. The member data points to the
jpayne@69 1541 * last element.
jpayne@69 1542 */
jpayne@69 1543 xcb_generic_iterator_t
jpayne@69 1544 xcb_render_triangle_end (xcb_render_triangle_iterator_t i);
jpayne@69 1545
jpayne@69 1546 /**
jpayne@69 1547 * Get the next element of the iterator
jpayne@69 1548 * @param i Pointer to a xcb_render_trapezoid_iterator_t
jpayne@69 1549 *
jpayne@69 1550 * Get the next element in the iterator. The member rem is
jpayne@69 1551 * decreased by one. The member data points to the next
jpayne@69 1552 * element. The member index is increased by sizeof(xcb_render_trapezoid_t)
jpayne@69 1553 */
jpayne@69 1554 void
jpayne@69 1555 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i);
jpayne@69 1556
jpayne@69 1557 /**
jpayne@69 1558 * Return the iterator pointing to the last element
jpayne@69 1559 * @param i An xcb_render_trapezoid_iterator_t
jpayne@69 1560 * @return The iterator pointing to the last element
jpayne@69 1561 *
jpayne@69 1562 * Set the current element in the iterator to the last element.
jpayne@69 1563 * The member rem is set to 0. The member data points to the
jpayne@69 1564 * last element.
jpayne@69 1565 */
jpayne@69 1566 xcb_generic_iterator_t
jpayne@69 1567 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i);
jpayne@69 1568
jpayne@69 1569 /**
jpayne@69 1570 * Get the next element of the iterator
jpayne@69 1571 * @param i Pointer to a xcb_render_glyphinfo_iterator_t
jpayne@69 1572 *
jpayne@69 1573 * Get the next element in the iterator. The member rem is
jpayne@69 1574 * decreased by one. The member data points to the next
jpayne@69 1575 * element. The member index is increased by sizeof(xcb_render_glyphinfo_t)
jpayne@69 1576 */
jpayne@69 1577 void
jpayne@69 1578 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i);
jpayne@69 1579
jpayne@69 1580 /**
jpayne@69 1581 * Return the iterator pointing to the last element
jpayne@69 1582 * @param i An xcb_render_glyphinfo_iterator_t
jpayne@69 1583 * @return The iterator pointing to the last element
jpayne@69 1584 *
jpayne@69 1585 * Set the current element in the iterator to the last element.
jpayne@69 1586 * The member rem is set to 0. The member data points to the
jpayne@69 1587 * last element.
jpayne@69 1588 */
jpayne@69 1589 xcb_generic_iterator_t
jpayne@69 1590 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i);
jpayne@69 1591
jpayne@69 1592 /**
jpayne@69 1593 *
jpayne@69 1594 * @param c The connection
jpayne@69 1595 * @return A cookie
jpayne@69 1596 *
jpayne@69 1597 * Delivers a request to the X server.
jpayne@69 1598 *
jpayne@69 1599 */
jpayne@69 1600 xcb_render_query_version_cookie_t
jpayne@69 1601 xcb_render_query_version (xcb_connection_t *c,
jpayne@69 1602 uint32_t client_major_version,
jpayne@69 1603 uint32_t client_minor_version);
jpayne@69 1604
jpayne@69 1605 /**
jpayne@69 1606 *
jpayne@69 1607 * @param c The connection
jpayne@69 1608 * @return A cookie
jpayne@69 1609 *
jpayne@69 1610 * Delivers a request to the X server.
jpayne@69 1611 *
jpayne@69 1612 * This form can be used only if the request will cause
jpayne@69 1613 * a reply to be generated. Any returned error will be
jpayne@69 1614 * placed in the event queue.
jpayne@69 1615 */
jpayne@69 1616 xcb_render_query_version_cookie_t
jpayne@69 1617 xcb_render_query_version_unchecked (xcb_connection_t *c,
jpayne@69 1618 uint32_t client_major_version,
jpayne@69 1619 uint32_t client_minor_version);
jpayne@69 1620
jpayne@69 1621 /**
jpayne@69 1622 * Return the reply
jpayne@69 1623 * @param c The connection
jpayne@69 1624 * @param cookie The cookie
jpayne@69 1625 * @param e The xcb_generic_error_t supplied
jpayne@69 1626 *
jpayne@69 1627 * Returns the reply of the request asked by
jpayne@69 1628 *
jpayne@69 1629 * The parameter @p e supplied to this function must be NULL if
jpayne@69 1630 * xcb_render_query_version_unchecked(). is used.
jpayne@69 1631 * Otherwise, it stores the error if any.
jpayne@69 1632 *
jpayne@69 1633 * The returned value must be freed by the caller using free().
jpayne@69 1634 */
jpayne@69 1635 xcb_render_query_version_reply_t *
jpayne@69 1636 xcb_render_query_version_reply (xcb_connection_t *c,
jpayne@69 1637 xcb_render_query_version_cookie_t cookie /**< */,
jpayne@69 1638 xcb_generic_error_t **e);
jpayne@69 1639
jpayne@69 1640 int
jpayne@69 1641 xcb_render_query_pict_formats_sizeof (const void *_buffer);
jpayne@69 1642
jpayne@69 1643 /**
jpayne@69 1644 *
jpayne@69 1645 * @param c The connection
jpayne@69 1646 * @return A cookie
jpayne@69 1647 *
jpayne@69 1648 * Delivers a request to the X server.
jpayne@69 1649 *
jpayne@69 1650 */
jpayne@69 1651 xcb_render_query_pict_formats_cookie_t
jpayne@69 1652 xcb_render_query_pict_formats (xcb_connection_t *c);
jpayne@69 1653
jpayne@69 1654 /**
jpayne@69 1655 *
jpayne@69 1656 * @param c The connection
jpayne@69 1657 * @return A cookie
jpayne@69 1658 *
jpayne@69 1659 * Delivers a request to the X server.
jpayne@69 1660 *
jpayne@69 1661 * This form can be used only if the request will cause
jpayne@69 1662 * a reply to be generated. Any returned error will be
jpayne@69 1663 * placed in the event queue.
jpayne@69 1664 */
jpayne@69 1665 xcb_render_query_pict_formats_cookie_t
jpayne@69 1666 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c);
jpayne@69 1667
jpayne@69 1668 xcb_render_pictforminfo_t *
jpayne@69 1669 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1670
jpayne@69 1671 int
jpayne@69 1672 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1673
jpayne@69 1674 xcb_render_pictforminfo_iterator_t
jpayne@69 1675 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1676
jpayne@69 1677 int
jpayne@69 1678 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1679
jpayne@69 1680 xcb_render_pictscreen_iterator_t
jpayne@69 1681 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1682
jpayne@69 1683 uint32_t *
jpayne@69 1684 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1685
jpayne@69 1686 int
jpayne@69 1687 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1688
jpayne@69 1689 xcb_generic_iterator_t
jpayne@69 1690 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R);
jpayne@69 1691
jpayne@69 1692 /**
jpayne@69 1693 * Return the reply
jpayne@69 1694 * @param c The connection
jpayne@69 1695 * @param cookie The cookie
jpayne@69 1696 * @param e The xcb_generic_error_t supplied
jpayne@69 1697 *
jpayne@69 1698 * Returns the reply of the request asked by
jpayne@69 1699 *
jpayne@69 1700 * The parameter @p e supplied to this function must be NULL if
jpayne@69 1701 * xcb_render_query_pict_formats_unchecked(). is used.
jpayne@69 1702 * Otherwise, it stores the error if any.
jpayne@69 1703 *
jpayne@69 1704 * The returned value must be freed by the caller using free().
jpayne@69 1705 */
jpayne@69 1706 xcb_render_query_pict_formats_reply_t *
jpayne@69 1707 xcb_render_query_pict_formats_reply (xcb_connection_t *c,
jpayne@69 1708 xcb_render_query_pict_formats_cookie_t cookie /**< */,
jpayne@69 1709 xcb_generic_error_t **e);
jpayne@69 1710
jpayne@69 1711 int
jpayne@69 1712 xcb_render_query_pict_index_values_sizeof (const void *_buffer);
jpayne@69 1713
jpayne@69 1714 /**
jpayne@69 1715 *
jpayne@69 1716 * @param c The connection
jpayne@69 1717 * @return A cookie
jpayne@69 1718 *
jpayne@69 1719 * Delivers a request to the X server.
jpayne@69 1720 *
jpayne@69 1721 */
jpayne@69 1722 xcb_render_query_pict_index_values_cookie_t
jpayne@69 1723 xcb_render_query_pict_index_values (xcb_connection_t *c,
jpayne@69 1724 xcb_render_pictformat_t format);
jpayne@69 1725
jpayne@69 1726 /**
jpayne@69 1727 *
jpayne@69 1728 * @param c The connection
jpayne@69 1729 * @return A cookie
jpayne@69 1730 *
jpayne@69 1731 * Delivers a request to the X server.
jpayne@69 1732 *
jpayne@69 1733 * This form can be used only if the request will cause
jpayne@69 1734 * a reply to be generated. Any returned error will be
jpayne@69 1735 * placed in the event queue.
jpayne@69 1736 */
jpayne@69 1737 xcb_render_query_pict_index_values_cookie_t
jpayne@69 1738 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c,
jpayne@69 1739 xcb_render_pictformat_t format);
jpayne@69 1740
jpayne@69 1741 xcb_render_indexvalue_t *
jpayne@69 1742 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R);
jpayne@69 1743
jpayne@69 1744 int
jpayne@69 1745 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R);
jpayne@69 1746
jpayne@69 1747 xcb_render_indexvalue_iterator_t
jpayne@69 1748 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R);
jpayne@69 1749
jpayne@69 1750 /**
jpayne@69 1751 * Return the reply
jpayne@69 1752 * @param c The connection
jpayne@69 1753 * @param cookie The cookie
jpayne@69 1754 * @param e The xcb_generic_error_t supplied
jpayne@69 1755 *
jpayne@69 1756 * Returns the reply of the request asked by
jpayne@69 1757 *
jpayne@69 1758 * The parameter @p e supplied to this function must be NULL if
jpayne@69 1759 * xcb_render_query_pict_index_values_unchecked(). is used.
jpayne@69 1760 * Otherwise, it stores the error if any.
jpayne@69 1761 *
jpayne@69 1762 * The returned value must be freed by the caller using free().
jpayne@69 1763 */
jpayne@69 1764 xcb_render_query_pict_index_values_reply_t *
jpayne@69 1765 xcb_render_query_pict_index_values_reply (xcb_connection_t *c,
jpayne@69 1766 xcb_render_query_pict_index_values_cookie_t cookie /**< */,
jpayne@69 1767 xcb_generic_error_t **e);
jpayne@69 1768
jpayne@69 1769 int
jpayne@69 1770 xcb_render_create_picture_value_list_serialize (void **_buffer,
jpayne@69 1771 uint32_t value_mask,
jpayne@69 1772 const xcb_render_create_picture_value_list_t *_aux);
jpayne@69 1773
jpayne@69 1774 int
jpayne@69 1775 xcb_render_create_picture_value_list_unpack (const void *_buffer,
jpayne@69 1776 uint32_t value_mask,
jpayne@69 1777 xcb_render_create_picture_value_list_t *_aux);
jpayne@69 1778
jpayne@69 1779 int
jpayne@69 1780 xcb_render_create_picture_value_list_sizeof (const void *_buffer,
jpayne@69 1781 uint32_t value_mask);
jpayne@69 1782
jpayne@69 1783 int
jpayne@69 1784 xcb_render_create_picture_sizeof (const void *_buffer);
jpayne@69 1785
jpayne@69 1786 /**
jpayne@69 1787 *
jpayne@69 1788 * @param c The connection
jpayne@69 1789 * @return A cookie
jpayne@69 1790 *
jpayne@69 1791 * Delivers a request to the X server.
jpayne@69 1792 *
jpayne@69 1793 * This form can be used only if the request will not cause
jpayne@69 1794 * a reply to be generated. Any returned error will be
jpayne@69 1795 * saved for handling by xcb_request_check().
jpayne@69 1796 */
jpayne@69 1797 xcb_void_cookie_t
jpayne@69 1798 xcb_render_create_picture_checked (xcb_connection_t *c,
jpayne@69 1799 xcb_render_picture_t pid,
jpayne@69 1800 xcb_drawable_t drawable,
jpayne@69 1801 xcb_render_pictformat_t format,
jpayne@69 1802 uint32_t value_mask,
jpayne@69 1803 const void *value_list);
jpayne@69 1804
jpayne@69 1805 /**
jpayne@69 1806 *
jpayne@69 1807 * @param c The connection
jpayne@69 1808 * @return A cookie
jpayne@69 1809 *
jpayne@69 1810 * Delivers a request to the X server.
jpayne@69 1811 *
jpayne@69 1812 */
jpayne@69 1813 xcb_void_cookie_t
jpayne@69 1814 xcb_render_create_picture (xcb_connection_t *c,
jpayne@69 1815 xcb_render_picture_t pid,
jpayne@69 1816 xcb_drawable_t drawable,
jpayne@69 1817 xcb_render_pictformat_t format,
jpayne@69 1818 uint32_t value_mask,
jpayne@69 1819 const void *value_list);
jpayne@69 1820
jpayne@69 1821 /**
jpayne@69 1822 *
jpayne@69 1823 * @param c The connection
jpayne@69 1824 * @return A cookie
jpayne@69 1825 *
jpayne@69 1826 * Delivers a request to the X server.
jpayne@69 1827 *
jpayne@69 1828 * This form can be used only if the request will not cause
jpayne@69 1829 * a reply to be generated. Any returned error will be
jpayne@69 1830 * saved for handling by xcb_request_check().
jpayne@69 1831 */
jpayne@69 1832 xcb_void_cookie_t
jpayne@69 1833 xcb_render_create_picture_aux_checked (xcb_connection_t *c,
jpayne@69 1834 xcb_render_picture_t pid,
jpayne@69 1835 xcb_drawable_t drawable,
jpayne@69 1836 xcb_render_pictformat_t format,
jpayne@69 1837 uint32_t value_mask,
jpayne@69 1838 const xcb_render_create_picture_value_list_t *value_list);
jpayne@69 1839
jpayne@69 1840 /**
jpayne@69 1841 *
jpayne@69 1842 * @param c The connection
jpayne@69 1843 * @return A cookie
jpayne@69 1844 *
jpayne@69 1845 * Delivers a request to the X server.
jpayne@69 1846 *
jpayne@69 1847 */
jpayne@69 1848 xcb_void_cookie_t
jpayne@69 1849 xcb_render_create_picture_aux (xcb_connection_t *c,
jpayne@69 1850 xcb_render_picture_t pid,
jpayne@69 1851 xcb_drawable_t drawable,
jpayne@69 1852 xcb_render_pictformat_t format,
jpayne@69 1853 uint32_t value_mask,
jpayne@69 1854 const xcb_render_create_picture_value_list_t *value_list);
jpayne@69 1855
jpayne@69 1856 void *
jpayne@69 1857 xcb_render_create_picture_value_list (const xcb_render_create_picture_request_t *R);
jpayne@69 1858
jpayne@69 1859 int
jpayne@69 1860 xcb_render_change_picture_value_list_serialize (void **_buffer,
jpayne@69 1861 uint32_t value_mask,
jpayne@69 1862 const xcb_render_change_picture_value_list_t *_aux);
jpayne@69 1863
jpayne@69 1864 int
jpayne@69 1865 xcb_render_change_picture_value_list_unpack (const void *_buffer,
jpayne@69 1866 uint32_t value_mask,
jpayne@69 1867 xcb_render_change_picture_value_list_t *_aux);
jpayne@69 1868
jpayne@69 1869 int
jpayne@69 1870 xcb_render_change_picture_value_list_sizeof (const void *_buffer,
jpayne@69 1871 uint32_t value_mask);
jpayne@69 1872
jpayne@69 1873 int
jpayne@69 1874 xcb_render_change_picture_sizeof (const void *_buffer);
jpayne@69 1875
jpayne@69 1876 /**
jpayne@69 1877 *
jpayne@69 1878 * @param c The connection
jpayne@69 1879 * @return A cookie
jpayne@69 1880 *
jpayne@69 1881 * Delivers a request to the X server.
jpayne@69 1882 *
jpayne@69 1883 * This form can be used only if the request will not cause
jpayne@69 1884 * a reply to be generated. Any returned error will be
jpayne@69 1885 * saved for handling by xcb_request_check().
jpayne@69 1886 */
jpayne@69 1887 xcb_void_cookie_t
jpayne@69 1888 xcb_render_change_picture_checked (xcb_connection_t *c,
jpayne@69 1889 xcb_render_picture_t picture,
jpayne@69 1890 uint32_t value_mask,
jpayne@69 1891 const void *value_list);
jpayne@69 1892
jpayne@69 1893 /**
jpayne@69 1894 *
jpayne@69 1895 * @param c The connection
jpayne@69 1896 * @return A cookie
jpayne@69 1897 *
jpayne@69 1898 * Delivers a request to the X server.
jpayne@69 1899 *
jpayne@69 1900 */
jpayne@69 1901 xcb_void_cookie_t
jpayne@69 1902 xcb_render_change_picture (xcb_connection_t *c,
jpayne@69 1903 xcb_render_picture_t picture,
jpayne@69 1904 uint32_t value_mask,
jpayne@69 1905 const void *value_list);
jpayne@69 1906
jpayne@69 1907 /**
jpayne@69 1908 *
jpayne@69 1909 * @param c The connection
jpayne@69 1910 * @return A cookie
jpayne@69 1911 *
jpayne@69 1912 * Delivers a request to the X server.
jpayne@69 1913 *
jpayne@69 1914 * This form can be used only if the request will not cause
jpayne@69 1915 * a reply to be generated. Any returned error will be
jpayne@69 1916 * saved for handling by xcb_request_check().
jpayne@69 1917 */
jpayne@69 1918 xcb_void_cookie_t
jpayne@69 1919 xcb_render_change_picture_aux_checked (xcb_connection_t *c,
jpayne@69 1920 xcb_render_picture_t picture,
jpayne@69 1921 uint32_t value_mask,
jpayne@69 1922 const xcb_render_change_picture_value_list_t *value_list);
jpayne@69 1923
jpayne@69 1924 /**
jpayne@69 1925 *
jpayne@69 1926 * @param c The connection
jpayne@69 1927 * @return A cookie
jpayne@69 1928 *
jpayne@69 1929 * Delivers a request to the X server.
jpayne@69 1930 *
jpayne@69 1931 */
jpayne@69 1932 xcb_void_cookie_t
jpayne@69 1933 xcb_render_change_picture_aux (xcb_connection_t *c,
jpayne@69 1934 xcb_render_picture_t picture,
jpayne@69 1935 uint32_t value_mask,
jpayne@69 1936 const xcb_render_change_picture_value_list_t *value_list);
jpayne@69 1937
jpayne@69 1938 void *
jpayne@69 1939 xcb_render_change_picture_value_list (const xcb_render_change_picture_request_t *R);
jpayne@69 1940
jpayne@69 1941 int
jpayne@69 1942 xcb_render_set_picture_clip_rectangles_sizeof (const void *_buffer,
jpayne@69 1943 uint32_t rectangles_len);
jpayne@69 1944
jpayne@69 1945 /**
jpayne@69 1946 *
jpayne@69 1947 * @param c The connection
jpayne@69 1948 * @return A cookie
jpayne@69 1949 *
jpayne@69 1950 * Delivers a request to the X server.
jpayne@69 1951 *
jpayne@69 1952 * This form can be used only if the request will not cause
jpayne@69 1953 * a reply to be generated. Any returned error will be
jpayne@69 1954 * saved for handling by xcb_request_check().
jpayne@69 1955 */
jpayne@69 1956 xcb_void_cookie_t
jpayne@69 1957 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c,
jpayne@69 1958 xcb_render_picture_t picture,
jpayne@69 1959 int16_t clip_x_origin,
jpayne@69 1960 int16_t clip_y_origin,
jpayne@69 1961 uint32_t rectangles_len,
jpayne@69 1962 const xcb_rectangle_t *rectangles);
jpayne@69 1963
jpayne@69 1964 /**
jpayne@69 1965 *
jpayne@69 1966 * @param c The connection
jpayne@69 1967 * @return A cookie
jpayne@69 1968 *
jpayne@69 1969 * Delivers a request to the X server.
jpayne@69 1970 *
jpayne@69 1971 */
jpayne@69 1972 xcb_void_cookie_t
jpayne@69 1973 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c,
jpayne@69 1974 xcb_render_picture_t picture,
jpayne@69 1975 int16_t clip_x_origin,
jpayne@69 1976 int16_t clip_y_origin,
jpayne@69 1977 uint32_t rectangles_len,
jpayne@69 1978 const xcb_rectangle_t *rectangles);
jpayne@69 1979
jpayne@69 1980 xcb_rectangle_t *
jpayne@69 1981 xcb_render_set_picture_clip_rectangles_rectangles (const xcb_render_set_picture_clip_rectangles_request_t *R);
jpayne@69 1982
jpayne@69 1983 int
jpayne@69 1984 xcb_render_set_picture_clip_rectangles_rectangles_length (const xcb_render_set_picture_clip_rectangles_request_t *R);
jpayne@69 1985
jpayne@69 1986 xcb_rectangle_iterator_t
jpayne@69 1987 xcb_render_set_picture_clip_rectangles_rectangles_iterator (const xcb_render_set_picture_clip_rectangles_request_t *R);
jpayne@69 1988
jpayne@69 1989 /**
jpayne@69 1990 *
jpayne@69 1991 * @param c The connection
jpayne@69 1992 * @return A cookie
jpayne@69 1993 *
jpayne@69 1994 * Delivers a request to the X server.
jpayne@69 1995 *
jpayne@69 1996 * This form can be used only if the request will not cause
jpayne@69 1997 * a reply to be generated. Any returned error will be
jpayne@69 1998 * saved for handling by xcb_request_check().
jpayne@69 1999 */
jpayne@69 2000 xcb_void_cookie_t
jpayne@69 2001 xcb_render_free_picture_checked (xcb_connection_t *c,
jpayne@69 2002 xcb_render_picture_t picture);
jpayne@69 2003
jpayne@69 2004 /**
jpayne@69 2005 *
jpayne@69 2006 * @param c The connection
jpayne@69 2007 * @return A cookie
jpayne@69 2008 *
jpayne@69 2009 * Delivers a request to the X server.
jpayne@69 2010 *
jpayne@69 2011 */
jpayne@69 2012 xcb_void_cookie_t
jpayne@69 2013 xcb_render_free_picture (xcb_connection_t *c,
jpayne@69 2014 xcb_render_picture_t picture);
jpayne@69 2015
jpayne@69 2016 /**
jpayne@69 2017 *
jpayne@69 2018 * @param c The connection
jpayne@69 2019 * @return A cookie
jpayne@69 2020 *
jpayne@69 2021 * Delivers a request to the X server.
jpayne@69 2022 *
jpayne@69 2023 * This form can be used only if the request will not cause
jpayne@69 2024 * a reply to be generated. Any returned error will be
jpayne@69 2025 * saved for handling by xcb_request_check().
jpayne@69 2026 */
jpayne@69 2027 xcb_void_cookie_t
jpayne@69 2028 xcb_render_composite_checked (xcb_connection_t *c,
jpayne@69 2029 uint8_t op,
jpayne@69 2030 xcb_render_picture_t src,
jpayne@69 2031 xcb_render_picture_t mask,
jpayne@69 2032 xcb_render_picture_t dst,
jpayne@69 2033 int16_t src_x,
jpayne@69 2034 int16_t src_y,
jpayne@69 2035 int16_t mask_x,
jpayne@69 2036 int16_t mask_y,
jpayne@69 2037 int16_t dst_x,
jpayne@69 2038 int16_t dst_y,
jpayne@69 2039 uint16_t width,
jpayne@69 2040 uint16_t height);
jpayne@69 2041
jpayne@69 2042 /**
jpayne@69 2043 *
jpayne@69 2044 * @param c The connection
jpayne@69 2045 * @return A cookie
jpayne@69 2046 *
jpayne@69 2047 * Delivers a request to the X server.
jpayne@69 2048 *
jpayne@69 2049 */
jpayne@69 2050 xcb_void_cookie_t
jpayne@69 2051 xcb_render_composite (xcb_connection_t *c,
jpayne@69 2052 uint8_t op,
jpayne@69 2053 xcb_render_picture_t src,
jpayne@69 2054 xcb_render_picture_t mask,
jpayne@69 2055 xcb_render_picture_t dst,
jpayne@69 2056 int16_t src_x,
jpayne@69 2057 int16_t src_y,
jpayne@69 2058 int16_t mask_x,
jpayne@69 2059 int16_t mask_y,
jpayne@69 2060 int16_t dst_x,
jpayne@69 2061 int16_t dst_y,
jpayne@69 2062 uint16_t width,
jpayne@69 2063 uint16_t height);
jpayne@69 2064
jpayne@69 2065 int
jpayne@69 2066 xcb_render_trapezoids_sizeof (const void *_buffer,
jpayne@69 2067 uint32_t traps_len);
jpayne@69 2068
jpayne@69 2069 /**
jpayne@69 2070 *
jpayne@69 2071 * @param c The connection
jpayne@69 2072 * @return A cookie
jpayne@69 2073 *
jpayne@69 2074 * Delivers a request to the X server.
jpayne@69 2075 *
jpayne@69 2076 * This form can be used only if the request will not cause
jpayne@69 2077 * a reply to be generated. Any returned error will be
jpayne@69 2078 * saved for handling by xcb_request_check().
jpayne@69 2079 */
jpayne@69 2080 xcb_void_cookie_t
jpayne@69 2081 xcb_render_trapezoids_checked (xcb_connection_t *c,
jpayne@69 2082 uint8_t op,
jpayne@69 2083 xcb_render_picture_t src,
jpayne@69 2084 xcb_render_picture_t dst,
jpayne@69 2085 xcb_render_pictformat_t mask_format,
jpayne@69 2086 int16_t src_x,
jpayne@69 2087 int16_t src_y,
jpayne@69 2088 uint32_t traps_len,
jpayne@69 2089 const xcb_render_trapezoid_t *traps);
jpayne@69 2090
jpayne@69 2091 /**
jpayne@69 2092 *
jpayne@69 2093 * @param c The connection
jpayne@69 2094 * @return A cookie
jpayne@69 2095 *
jpayne@69 2096 * Delivers a request to the X server.
jpayne@69 2097 *
jpayne@69 2098 */
jpayne@69 2099 xcb_void_cookie_t
jpayne@69 2100 xcb_render_trapezoids (xcb_connection_t *c,
jpayne@69 2101 uint8_t op,
jpayne@69 2102 xcb_render_picture_t src,
jpayne@69 2103 xcb_render_picture_t dst,
jpayne@69 2104 xcb_render_pictformat_t mask_format,
jpayne@69 2105 int16_t src_x,
jpayne@69 2106 int16_t src_y,
jpayne@69 2107 uint32_t traps_len,
jpayne@69 2108 const xcb_render_trapezoid_t *traps);
jpayne@69 2109
jpayne@69 2110 xcb_render_trapezoid_t *
jpayne@69 2111 xcb_render_trapezoids_traps (const xcb_render_trapezoids_request_t *R);
jpayne@69 2112
jpayne@69 2113 int
jpayne@69 2114 xcb_render_trapezoids_traps_length (const xcb_render_trapezoids_request_t *R);
jpayne@69 2115
jpayne@69 2116 xcb_render_trapezoid_iterator_t
jpayne@69 2117 xcb_render_trapezoids_traps_iterator (const xcb_render_trapezoids_request_t *R);
jpayne@69 2118
jpayne@69 2119 int
jpayne@69 2120 xcb_render_triangles_sizeof (const void *_buffer,
jpayne@69 2121 uint32_t triangles_len);
jpayne@69 2122
jpayne@69 2123 /**
jpayne@69 2124 *
jpayne@69 2125 * @param c The connection
jpayne@69 2126 * @return A cookie
jpayne@69 2127 *
jpayne@69 2128 * Delivers a request to the X server.
jpayne@69 2129 *
jpayne@69 2130 * This form can be used only if the request will not cause
jpayne@69 2131 * a reply to be generated. Any returned error will be
jpayne@69 2132 * saved for handling by xcb_request_check().
jpayne@69 2133 */
jpayne@69 2134 xcb_void_cookie_t
jpayne@69 2135 xcb_render_triangles_checked (xcb_connection_t *c,
jpayne@69 2136 uint8_t op,
jpayne@69 2137 xcb_render_picture_t src,
jpayne@69 2138 xcb_render_picture_t dst,
jpayne@69 2139 xcb_render_pictformat_t mask_format,
jpayne@69 2140 int16_t src_x,
jpayne@69 2141 int16_t src_y,
jpayne@69 2142 uint32_t triangles_len,
jpayne@69 2143 const xcb_render_triangle_t *triangles);
jpayne@69 2144
jpayne@69 2145 /**
jpayne@69 2146 *
jpayne@69 2147 * @param c The connection
jpayne@69 2148 * @return A cookie
jpayne@69 2149 *
jpayne@69 2150 * Delivers a request to the X server.
jpayne@69 2151 *
jpayne@69 2152 */
jpayne@69 2153 xcb_void_cookie_t
jpayne@69 2154 xcb_render_triangles (xcb_connection_t *c,
jpayne@69 2155 uint8_t op,
jpayne@69 2156 xcb_render_picture_t src,
jpayne@69 2157 xcb_render_picture_t dst,
jpayne@69 2158 xcb_render_pictformat_t mask_format,
jpayne@69 2159 int16_t src_x,
jpayne@69 2160 int16_t src_y,
jpayne@69 2161 uint32_t triangles_len,
jpayne@69 2162 const xcb_render_triangle_t *triangles);
jpayne@69 2163
jpayne@69 2164 xcb_render_triangle_t *
jpayne@69 2165 xcb_render_triangles_triangles (const xcb_render_triangles_request_t *R);
jpayne@69 2166
jpayne@69 2167 int
jpayne@69 2168 xcb_render_triangles_triangles_length (const xcb_render_triangles_request_t *R);
jpayne@69 2169
jpayne@69 2170 xcb_render_triangle_iterator_t
jpayne@69 2171 xcb_render_triangles_triangles_iterator (const xcb_render_triangles_request_t *R);
jpayne@69 2172
jpayne@69 2173 int
jpayne@69 2174 xcb_render_tri_strip_sizeof (const void *_buffer,
jpayne@69 2175 uint32_t points_len);
jpayne@69 2176
jpayne@69 2177 /**
jpayne@69 2178 *
jpayne@69 2179 * @param c The connection
jpayne@69 2180 * @return A cookie
jpayne@69 2181 *
jpayne@69 2182 * Delivers a request to the X server.
jpayne@69 2183 *
jpayne@69 2184 * This form can be used only if the request will not cause
jpayne@69 2185 * a reply to be generated. Any returned error will be
jpayne@69 2186 * saved for handling by xcb_request_check().
jpayne@69 2187 */
jpayne@69 2188 xcb_void_cookie_t
jpayne@69 2189 xcb_render_tri_strip_checked (xcb_connection_t *c,
jpayne@69 2190 uint8_t op,
jpayne@69 2191 xcb_render_picture_t src,
jpayne@69 2192 xcb_render_picture_t dst,
jpayne@69 2193 xcb_render_pictformat_t mask_format,
jpayne@69 2194 int16_t src_x,
jpayne@69 2195 int16_t src_y,
jpayne@69 2196 uint32_t points_len,
jpayne@69 2197 const xcb_render_pointfix_t *points);
jpayne@69 2198
jpayne@69 2199 /**
jpayne@69 2200 *
jpayne@69 2201 * @param c The connection
jpayne@69 2202 * @return A cookie
jpayne@69 2203 *
jpayne@69 2204 * Delivers a request to the X server.
jpayne@69 2205 *
jpayne@69 2206 */
jpayne@69 2207 xcb_void_cookie_t
jpayne@69 2208 xcb_render_tri_strip (xcb_connection_t *c,
jpayne@69 2209 uint8_t op,
jpayne@69 2210 xcb_render_picture_t src,
jpayne@69 2211 xcb_render_picture_t dst,
jpayne@69 2212 xcb_render_pictformat_t mask_format,
jpayne@69 2213 int16_t src_x,
jpayne@69 2214 int16_t src_y,
jpayne@69 2215 uint32_t points_len,
jpayne@69 2216 const xcb_render_pointfix_t *points);
jpayne@69 2217
jpayne@69 2218 xcb_render_pointfix_t *
jpayne@69 2219 xcb_render_tri_strip_points (const xcb_render_tri_strip_request_t *R);
jpayne@69 2220
jpayne@69 2221 int
jpayne@69 2222 xcb_render_tri_strip_points_length (const xcb_render_tri_strip_request_t *R);
jpayne@69 2223
jpayne@69 2224 xcb_render_pointfix_iterator_t
jpayne@69 2225 xcb_render_tri_strip_points_iterator (const xcb_render_tri_strip_request_t *R);
jpayne@69 2226
jpayne@69 2227 int
jpayne@69 2228 xcb_render_tri_fan_sizeof (const void *_buffer,
jpayne@69 2229 uint32_t points_len);
jpayne@69 2230
jpayne@69 2231 /**
jpayne@69 2232 *
jpayne@69 2233 * @param c The connection
jpayne@69 2234 * @return A cookie
jpayne@69 2235 *
jpayne@69 2236 * Delivers a request to the X server.
jpayne@69 2237 *
jpayne@69 2238 * This form can be used only if the request will not cause
jpayne@69 2239 * a reply to be generated. Any returned error will be
jpayne@69 2240 * saved for handling by xcb_request_check().
jpayne@69 2241 */
jpayne@69 2242 xcb_void_cookie_t
jpayne@69 2243 xcb_render_tri_fan_checked (xcb_connection_t *c,
jpayne@69 2244 uint8_t op,
jpayne@69 2245 xcb_render_picture_t src,
jpayne@69 2246 xcb_render_picture_t dst,
jpayne@69 2247 xcb_render_pictformat_t mask_format,
jpayne@69 2248 int16_t src_x,
jpayne@69 2249 int16_t src_y,
jpayne@69 2250 uint32_t points_len,
jpayne@69 2251 const xcb_render_pointfix_t *points);
jpayne@69 2252
jpayne@69 2253 /**
jpayne@69 2254 *
jpayne@69 2255 * @param c The connection
jpayne@69 2256 * @return A cookie
jpayne@69 2257 *
jpayne@69 2258 * Delivers a request to the X server.
jpayne@69 2259 *
jpayne@69 2260 */
jpayne@69 2261 xcb_void_cookie_t
jpayne@69 2262 xcb_render_tri_fan (xcb_connection_t *c,
jpayne@69 2263 uint8_t op,
jpayne@69 2264 xcb_render_picture_t src,
jpayne@69 2265 xcb_render_picture_t dst,
jpayne@69 2266 xcb_render_pictformat_t mask_format,
jpayne@69 2267 int16_t src_x,
jpayne@69 2268 int16_t src_y,
jpayne@69 2269 uint32_t points_len,
jpayne@69 2270 const xcb_render_pointfix_t *points);
jpayne@69 2271
jpayne@69 2272 xcb_render_pointfix_t *
jpayne@69 2273 xcb_render_tri_fan_points (const xcb_render_tri_fan_request_t *R);
jpayne@69 2274
jpayne@69 2275 int
jpayne@69 2276 xcb_render_tri_fan_points_length (const xcb_render_tri_fan_request_t *R);
jpayne@69 2277
jpayne@69 2278 xcb_render_pointfix_iterator_t
jpayne@69 2279 xcb_render_tri_fan_points_iterator (const xcb_render_tri_fan_request_t *R);
jpayne@69 2280
jpayne@69 2281 /**
jpayne@69 2282 *
jpayne@69 2283 * @param c The connection
jpayne@69 2284 * @return A cookie
jpayne@69 2285 *
jpayne@69 2286 * Delivers a request to the X server.
jpayne@69 2287 *
jpayne@69 2288 * This form can be used only if the request will not cause
jpayne@69 2289 * a reply to be generated. Any returned error will be
jpayne@69 2290 * saved for handling by xcb_request_check().
jpayne@69 2291 */
jpayne@69 2292 xcb_void_cookie_t
jpayne@69 2293 xcb_render_create_glyph_set_checked (xcb_connection_t *c,
jpayne@69 2294 xcb_render_glyphset_t gsid,
jpayne@69 2295 xcb_render_pictformat_t format);
jpayne@69 2296
jpayne@69 2297 /**
jpayne@69 2298 *
jpayne@69 2299 * @param c The connection
jpayne@69 2300 * @return A cookie
jpayne@69 2301 *
jpayne@69 2302 * Delivers a request to the X server.
jpayne@69 2303 *
jpayne@69 2304 */
jpayne@69 2305 xcb_void_cookie_t
jpayne@69 2306 xcb_render_create_glyph_set (xcb_connection_t *c,
jpayne@69 2307 xcb_render_glyphset_t gsid,
jpayne@69 2308 xcb_render_pictformat_t format);
jpayne@69 2309
jpayne@69 2310 /**
jpayne@69 2311 *
jpayne@69 2312 * @param c The connection
jpayne@69 2313 * @return A cookie
jpayne@69 2314 *
jpayne@69 2315 * Delivers a request to the X server.
jpayne@69 2316 *
jpayne@69 2317 * This form can be used only if the request will not cause
jpayne@69 2318 * a reply to be generated. Any returned error will be
jpayne@69 2319 * saved for handling by xcb_request_check().
jpayne@69 2320 */
jpayne@69 2321 xcb_void_cookie_t
jpayne@69 2322 xcb_render_reference_glyph_set_checked (xcb_connection_t *c,
jpayne@69 2323 xcb_render_glyphset_t gsid,
jpayne@69 2324 xcb_render_glyphset_t existing);
jpayne@69 2325
jpayne@69 2326 /**
jpayne@69 2327 *
jpayne@69 2328 * @param c The connection
jpayne@69 2329 * @return A cookie
jpayne@69 2330 *
jpayne@69 2331 * Delivers a request to the X server.
jpayne@69 2332 *
jpayne@69 2333 */
jpayne@69 2334 xcb_void_cookie_t
jpayne@69 2335 xcb_render_reference_glyph_set (xcb_connection_t *c,
jpayne@69 2336 xcb_render_glyphset_t gsid,
jpayne@69 2337 xcb_render_glyphset_t existing);
jpayne@69 2338
jpayne@69 2339 /**
jpayne@69 2340 *
jpayne@69 2341 * @param c The connection
jpayne@69 2342 * @return A cookie
jpayne@69 2343 *
jpayne@69 2344 * Delivers a request to the X server.
jpayne@69 2345 *
jpayne@69 2346 * This form can be used only if the request will not cause
jpayne@69 2347 * a reply to be generated. Any returned error will be
jpayne@69 2348 * saved for handling by xcb_request_check().
jpayne@69 2349 */
jpayne@69 2350 xcb_void_cookie_t
jpayne@69 2351 xcb_render_free_glyph_set_checked (xcb_connection_t *c,
jpayne@69 2352 xcb_render_glyphset_t glyphset);
jpayne@69 2353
jpayne@69 2354 /**
jpayne@69 2355 *
jpayne@69 2356 * @param c The connection
jpayne@69 2357 * @return A cookie
jpayne@69 2358 *
jpayne@69 2359 * Delivers a request to the X server.
jpayne@69 2360 *
jpayne@69 2361 */
jpayne@69 2362 xcb_void_cookie_t
jpayne@69 2363 xcb_render_free_glyph_set (xcb_connection_t *c,
jpayne@69 2364 xcb_render_glyphset_t glyphset);
jpayne@69 2365
jpayne@69 2366 int
jpayne@69 2367 xcb_render_add_glyphs_sizeof (const void *_buffer,
jpayne@69 2368 uint32_t data_len);
jpayne@69 2369
jpayne@69 2370 /**
jpayne@69 2371 *
jpayne@69 2372 * @param c The connection
jpayne@69 2373 * @return A cookie
jpayne@69 2374 *
jpayne@69 2375 * Delivers a request to the X server.
jpayne@69 2376 *
jpayne@69 2377 * This form can be used only if the request will not cause
jpayne@69 2378 * a reply to be generated. Any returned error will be
jpayne@69 2379 * saved for handling by xcb_request_check().
jpayne@69 2380 */
jpayne@69 2381 xcb_void_cookie_t
jpayne@69 2382 xcb_render_add_glyphs_checked (xcb_connection_t *c,
jpayne@69 2383 xcb_render_glyphset_t glyphset,
jpayne@69 2384 uint32_t glyphs_len,
jpayne@69 2385 const uint32_t *glyphids,
jpayne@69 2386 const xcb_render_glyphinfo_t *glyphs,
jpayne@69 2387 uint32_t data_len,
jpayne@69 2388 const uint8_t *data);
jpayne@69 2389
jpayne@69 2390 /**
jpayne@69 2391 *
jpayne@69 2392 * @param c The connection
jpayne@69 2393 * @return A cookie
jpayne@69 2394 *
jpayne@69 2395 * Delivers a request to the X server.
jpayne@69 2396 *
jpayne@69 2397 */
jpayne@69 2398 xcb_void_cookie_t
jpayne@69 2399 xcb_render_add_glyphs (xcb_connection_t *c,
jpayne@69 2400 xcb_render_glyphset_t glyphset,
jpayne@69 2401 uint32_t glyphs_len,
jpayne@69 2402 const uint32_t *glyphids,
jpayne@69 2403 const xcb_render_glyphinfo_t *glyphs,
jpayne@69 2404 uint32_t data_len,
jpayne@69 2405 const uint8_t *data);
jpayne@69 2406
jpayne@69 2407 uint32_t *
jpayne@69 2408 xcb_render_add_glyphs_glyphids (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2409
jpayne@69 2410 int
jpayne@69 2411 xcb_render_add_glyphs_glyphids_length (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2412
jpayne@69 2413 xcb_generic_iterator_t
jpayne@69 2414 xcb_render_add_glyphs_glyphids_end (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2415
jpayne@69 2416 xcb_render_glyphinfo_t *
jpayne@69 2417 xcb_render_add_glyphs_glyphs (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2418
jpayne@69 2419 int
jpayne@69 2420 xcb_render_add_glyphs_glyphs_length (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2421
jpayne@69 2422 xcb_render_glyphinfo_iterator_t
jpayne@69 2423 xcb_render_add_glyphs_glyphs_iterator (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2424
jpayne@69 2425 uint8_t *
jpayne@69 2426 xcb_render_add_glyphs_data (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2427
jpayne@69 2428 int
jpayne@69 2429 xcb_render_add_glyphs_data_length (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2430
jpayne@69 2431 xcb_generic_iterator_t
jpayne@69 2432 xcb_render_add_glyphs_data_end (const xcb_render_add_glyphs_request_t *R);
jpayne@69 2433
jpayne@69 2434 int
jpayne@69 2435 xcb_render_free_glyphs_sizeof (const void *_buffer,
jpayne@69 2436 uint32_t glyphs_len);
jpayne@69 2437
jpayne@69 2438 /**
jpayne@69 2439 *
jpayne@69 2440 * @param c The connection
jpayne@69 2441 * @return A cookie
jpayne@69 2442 *
jpayne@69 2443 * Delivers a request to the X server.
jpayne@69 2444 *
jpayne@69 2445 * This form can be used only if the request will not cause
jpayne@69 2446 * a reply to be generated. Any returned error will be
jpayne@69 2447 * saved for handling by xcb_request_check().
jpayne@69 2448 */
jpayne@69 2449 xcb_void_cookie_t
jpayne@69 2450 xcb_render_free_glyphs_checked (xcb_connection_t *c,
jpayne@69 2451 xcb_render_glyphset_t glyphset,
jpayne@69 2452 uint32_t glyphs_len,
jpayne@69 2453 const xcb_render_glyph_t *glyphs);
jpayne@69 2454
jpayne@69 2455 /**
jpayne@69 2456 *
jpayne@69 2457 * @param c The connection
jpayne@69 2458 * @return A cookie
jpayne@69 2459 *
jpayne@69 2460 * Delivers a request to the X server.
jpayne@69 2461 *
jpayne@69 2462 */
jpayne@69 2463 xcb_void_cookie_t
jpayne@69 2464 xcb_render_free_glyphs (xcb_connection_t *c,
jpayne@69 2465 xcb_render_glyphset_t glyphset,
jpayne@69 2466 uint32_t glyphs_len,
jpayne@69 2467 const xcb_render_glyph_t *glyphs);
jpayne@69 2468
jpayne@69 2469 xcb_render_glyph_t *
jpayne@69 2470 xcb_render_free_glyphs_glyphs (const xcb_render_free_glyphs_request_t *R);
jpayne@69 2471
jpayne@69 2472 int
jpayne@69 2473 xcb_render_free_glyphs_glyphs_length (const xcb_render_free_glyphs_request_t *R);
jpayne@69 2474
jpayne@69 2475 xcb_generic_iterator_t
jpayne@69 2476 xcb_render_free_glyphs_glyphs_end (const xcb_render_free_glyphs_request_t *R);
jpayne@69 2477
jpayne@69 2478 int
jpayne@69 2479 xcb_render_composite_glyphs_8_sizeof (const void *_buffer,
jpayne@69 2480 uint32_t glyphcmds_len);
jpayne@69 2481
jpayne@69 2482 /**
jpayne@69 2483 *
jpayne@69 2484 * @param c The connection
jpayne@69 2485 * @return A cookie
jpayne@69 2486 *
jpayne@69 2487 * Delivers a request to the X server.
jpayne@69 2488 *
jpayne@69 2489 * This form can be used only if the request will not cause
jpayne@69 2490 * a reply to be generated. Any returned error will be
jpayne@69 2491 * saved for handling by xcb_request_check().
jpayne@69 2492 */
jpayne@69 2493 xcb_void_cookie_t
jpayne@69 2494 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c,
jpayne@69 2495 uint8_t op,
jpayne@69 2496 xcb_render_picture_t src,
jpayne@69 2497 xcb_render_picture_t dst,
jpayne@69 2498 xcb_render_pictformat_t mask_format,
jpayne@69 2499 xcb_render_glyphset_t glyphset,
jpayne@69 2500 int16_t src_x,
jpayne@69 2501 int16_t src_y,
jpayne@69 2502 uint32_t glyphcmds_len,
jpayne@69 2503 const uint8_t *glyphcmds);
jpayne@69 2504
jpayne@69 2505 /**
jpayne@69 2506 *
jpayne@69 2507 * @param c The connection
jpayne@69 2508 * @return A cookie
jpayne@69 2509 *
jpayne@69 2510 * Delivers a request to the X server.
jpayne@69 2511 *
jpayne@69 2512 */
jpayne@69 2513 xcb_void_cookie_t
jpayne@69 2514 xcb_render_composite_glyphs_8 (xcb_connection_t *c,
jpayne@69 2515 uint8_t op,
jpayne@69 2516 xcb_render_picture_t src,
jpayne@69 2517 xcb_render_picture_t dst,
jpayne@69 2518 xcb_render_pictformat_t mask_format,
jpayne@69 2519 xcb_render_glyphset_t glyphset,
jpayne@69 2520 int16_t src_x,
jpayne@69 2521 int16_t src_y,
jpayne@69 2522 uint32_t glyphcmds_len,
jpayne@69 2523 const uint8_t *glyphcmds);
jpayne@69 2524
jpayne@69 2525 uint8_t *
jpayne@69 2526 xcb_render_composite_glyphs_8_glyphcmds (const xcb_render_composite_glyphs_8_request_t *R);
jpayne@69 2527
jpayne@69 2528 int
jpayne@69 2529 xcb_render_composite_glyphs_8_glyphcmds_length (const xcb_render_composite_glyphs_8_request_t *R);
jpayne@69 2530
jpayne@69 2531 xcb_generic_iterator_t
jpayne@69 2532 xcb_render_composite_glyphs_8_glyphcmds_end (const xcb_render_composite_glyphs_8_request_t *R);
jpayne@69 2533
jpayne@69 2534 int
jpayne@69 2535 xcb_render_composite_glyphs_16_sizeof (const void *_buffer,
jpayne@69 2536 uint32_t glyphcmds_len);
jpayne@69 2537
jpayne@69 2538 /**
jpayne@69 2539 *
jpayne@69 2540 * @param c The connection
jpayne@69 2541 * @return A cookie
jpayne@69 2542 *
jpayne@69 2543 * Delivers a request to the X server.
jpayne@69 2544 *
jpayne@69 2545 * This form can be used only if the request will not cause
jpayne@69 2546 * a reply to be generated. Any returned error will be
jpayne@69 2547 * saved for handling by xcb_request_check().
jpayne@69 2548 */
jpayne@69 2549 xcb_void_cookie_t
jpayne@69 2550 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c,
jpayne@69 2551 uint8_t op,
jpayne@69 2552 xcb_render_picture_t src,
jpayne@69 2553 xcb_render_picture_t dst,
jpayne@69 2554 xcb_render_pictformat_t mask_format,
jpayne@69 2555 xcb_render_glyphset_t glyphset,
jpayne@69 2556 int16_t src_x,
jpayne@69 2557 int16_t src_y,
jpayne@69 2558 uint32_t glyphcmds_len,
jpayne@69 2559 const uint8_t *glyphcmds);
jpayne@69 2560
jpayne@69 2561 /**
jpayne@69 2562 *
jpayne@69 2563 * @param c The connection
jpayne@69 2564 * @return A cookie
jpayne@69 2565 *
jpayne@69 2566 * Delivers a request to the X server.
jpayne@69 2567 *
jpayne@69 2568 */
jpayne@69 2569 xcb_void_cookie_t
jpayne@69 2570 xcb_render_composite_glyphs_16 (xcb_connection_t *c,
jpayne@69 2571 uint8_t op,
jpayne@69 2572 xcb_render_picture_t src,
jpayne@69 2573 xcb_render_picture_t dst,
jpayne@69 2574 xcb_render_pictformat_t mask_format,
jpayne@69 2575 xcb_render_glyphset_t glyphset,
jpayne@69 2576 int16_t src_x,
jpayne@69 2577 int16_t src_y,
jpayne@69 2578 uint32_t glyphcmds_len,
jpayne@69 2579 const uint8_t *glyphcmds);
jpayne@69 2580
jpayne@69 2581 uint8_t *
jpayne@69 2582 xcb_render_composite_glyphs_16_glyphcmds (const xcb_render_composite_glyphs_16_request_t *R);
jpayne@69 2583
jpayne@69 2584 int
jpayne@69 2585 xcb_render_composite_glyphs_16_glyphcmds_length (const xcb_render_composite_glyphs_16_request_t *R);
jpayne@69 2586
jpayne@69 2587 xcb_generic_iterator_t
jpayne@69 2588 xcb_render_composite_glyphs_16_glyphcmds_end (const xcb_render_composite_glyphs_16_request_t *R);
jpayne@69 2589
jpayne@69 2590 int
jpayne@69 2591 xcb_render_composite_glyphs_32_sizeof (const void *_buffer,
jpayne@69 2592 uint32_t glyphcmds_len);
jpayne@69 2593
jpayne@69 2594 /**
jpayne@69 2595 *
jpayne@69 2596 * @param c The connection
jpayne@69 2597 * @return A cookie
jpayne@69 2598 *
jpayne@69 2599 * Delivers a request to the X server.
jpayne@69 2600 *
jpayne@69 2601 * This form can be used only if the request will not cause
jpayne@69 2602 * a reply to be generated. Any returned error will be
jpayne@69 2603 * saved for handling by xcb_request_check().
jpayne@69 2604 */
jpayne@69 2605 xcb_void_cookie_t
jpayne@69 2606 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c,
jpayne@69 2607 uint8_t op,
jpayne@69 2608 xcb_render_picture_t src,
jpayne@69 2609 xcb_render_picture_t dst,
jpayne@69 2610 xcb_render_pictformat_t mask_format,
jpayne@69 2611 xcb_render_glyphset_t glyphset,
jpayne@69 2612 int16_t src_x,
jpayne@69 2613 int16_t src_y,
jpayne@69 2614 uint32_t glyphcmds_len,
jpayne@69 2615 const uint8_t *glyphcmds);
jpayne@69 2616
jpayne@69 2617 /**
jpayne@69 2618 *
jpayne@69 2619 * @param c The connection
jpayne@69 2620 * @return A cookie
jpayne@69 2621 *
jpayne@69 2622 * Delivers a request to the X server.
jpayne@69 2623 *
jpayne@69 2624 */
jpayne@69 2625 xcb_void_cookie_t
jpayne@69 2626 xcb_render_composite_glyphs_32 (xcb_connection_t *c,
jpayne@69 2627 uint8_t op,
jpayne@69 2628 xcb_render_picture_t src,
jpayne@69 2629 xcb_render_picture_t dst,
jpayne@69 2630 xcb_render_pictformat_t mask_format,
jpayne@69 2631 xcb_render_glyphset_t glyphset,
jpayne@69 2632 int16_t src_x,
jpayne@69 2633 int16_t src_y,
jpayne@69 2634 uint32_t glyphcmds_len,
jpayne@69 2635 const uint8_t *glyphcmds);
jpayne@69 2636
jpayne@69 2637 uint8_t *
jpayne@69 2638 xcb_render_composite_glyphs_32_glyphcmds (const xcb_render_composite_glyphs_32_request_t *R);
jpayne@69 2639
jpayne@69 2640 int
jpayne@69 2641 xcb_render_composite_glyphs_32_glyphcmds_length (const xcb_render_composite_glyphs_32_request_t *R);
jpayne@69 2642
jpayne@69 2643 xcb_generic_iterator_t
jpayne@69 2644 xcb_render_composite_glyphs_32_glyphcmds_end (const xcb_render_composite_glyphs_32_request_t *R);
jpayne@69 2645
jpayne@69 2646 int
jpayne@69 2647 xcb_render_fill_rectangles_sizeof (const void *_buffer,
jpayne@69 2648 uint32_t rects_len);
jpayne@69 2649
jpayne@69 2650 /**
jpayne@69 2651 *
jpayne@69 2652 * @param c The connection
jpayne@69 2653 * @return A cookie
jpayne@69 2654 *
jpayne@69 2655 * Delivers a request to the X server.
jpayne@69 2656 *
jpayne@69 2657 * This form can be used only if the request will not cause
jpayne@69 2658 * a reply to be generated. Any returned error will be
jpayne@69 2659 * saved for handling by xcb_request_check().
jpayne@69 2660 */
jpayne@69 2661 xcb_void_cookie_t
jpayne@69 2662 xcb_render_fill_rectangles_checked (xcb_connection_t *c,
jpayne@69 2663 uint8_t op,
jpayne@69 2664 xcb_render_picture_t dst,
jpayne@69 2665 xcb_render_color_t color,
jpayne@69 2666 uint32_t rects_len,
jpayne@69 2667 const xcb_rectangle_t *rects);
jpayne@69 2668
jpayne@69 2669 /**
jpayne@69 2670 *
jpayne@69 2671 * @param c The connection
jpayne@69 2672 * @return A cookie
jpayne@69 2673 *
jpayne@69 2674 * Delivers a request to the X server.
jpayne@69 2675 *
jpayne@69 2676 */
jpayne@69 2677 xcb_void_cookie_t
jpayne@69 2678 xcb_render_fill_rectangles (xcb_connection_t *c,
jpayne@69 2679 uint8_t op,
jpayne@69 2680 xcb_render_picture_t dst,
jpayne@69 2681 xcb_render_color_t color,
jpayne@69 2682 uint32_t rects_len,
jpayne@69 2683 const xcb_rectangle_t *rects);
jpayne@69 2684
jpayne@69 2685 xcb_rectangle_t *
jpayne@69 2686 xcb_render_fill_rectangles_rects (const xcb_render_fill_rectangles_request_t *R);
jpayne@69 2687
jpayne@69 2688 int
jpayne@69 2689 xcb_render_fill_rectangles_rects_length (const xcb_render_fill_rectangles_request_t *R);
jpayne@69 2690
jpayne@69 2691 xcb_rectangle_iterator_t
jpayne@69 2692 xcb_render_fill_rectangles_rects_iterator (const xcb_render_fill_rectangles_request_t *R);
jpayne@69 2693
jpayne@69 2694 /**
jpayne@69 2695 *
jpayne@69 2696 * @param c The connection
jpayne@69 2697 * @return A cookie
jpayne@69 2698 *
jpayne@69 2699 * Delivers a request to the X server.
jpayne@69 2700 *
jpayne@69 2701 * This form can be used only if the request will not cause
jpayne@69 2702 * a reply to be generated. Any returned error will be
jpayne@69 2703 * saved for handling by xcb_request_check().
jpayne@69 2704 */
jpayne@69 2705 xcb_void_cookie_t
jpayne@69 2706 xcb_render_create_cursor_checked (xcb_connection_t *c,
jpayne@69 2707 xcb_cursor_t cid,
jpayne@69 2708 xcb_render_picture_t source,
jpayne@69 2709 uint16_t x,
jpayne@69 2710 uint16_t y);
jpayne@69 2711
jpayne@69 2712 /**
jpayne@69 2713 *
jpayne@69 2714 * @param c The connection
jpayne@69 2715 * @return A cookie
jpayne@69 2716 *
jpayne@69 2717 * Delivers a request to the X server.
jpayne@69 2718 *
jpayne@69 2719 */
jpayne@69 2720 xcb_void_cookie_t
jpayne@69 2721 xcb_render_create_cursor (xcb_connection_t *c,
jpayne@69 2722 xcb_cursor_t cid,
jpayne@69 2723 xcb_render_picture_t source,
jpayne@69 2724 uint16_t x,
jpayne@69 2725 uint16_t y);
jpayne@69 2726
jpayne@69 2727 /**
jpayne@69 2728 * Get the next element of the iterator
jpayne@69 2729 * @param i Pointer to a xcb_render_transform_iterator_t
jpayne@69 2730 *
jpayne@69 2731 * Get the next element in the iterator. The member rem is
jpayne@69 2732 * decreased by one. The member data points to the next
jpayne@69 2733 * element. The member index is increased by sizeof(xcb_render_transform_t)
jpayne@69 2734 */
jpayne@69 2735 void
jpayne@69 2736 xcb_render_transform_next (xcb_render_transform_iterator_t *i);
jpayne@69 2737
jpayne@69 2738 /**
jpayne@69 2739 * Return the iterator pointing to the last element
jpayne@69 2740 * @param i An xcb_render_transform_iterator_t
jpayne@69 2741 * @return The iterator pointing to the last element
jpayne@69 2742 *
jpayne@69 2743 * Set the current element in the iterator to the last element.
jpayne@69 2744 * The member rem is set to 0. The member data points to the
jpayne@69 2745 * last element.
jpayne@69 2746 */
jpayne@69 2747 xcb_generic_iterator_t
jpayne@69 2748 xcb_render_transform_end (xcb_render_transform_iterator_t i);
jpayne@69 2749
jpayne@69 2750 /**
jpayne@69 2751 *
jpayne@69 2752 * @param c The connection
jpayne@69 2753 * @return A cookie
jpayne@69 2754 *
jpayne@69 2755 * Delivers a request to the X server.
jpayne@69 2756 *
jpayne@69 2757 * This form can be used only if the request will not cause
jpayne@69 2758 * a reply to be generated. Any returned error will be
jpayne@69 2759 * saved for handling by xcb_request_check().
jpayne@69 2760 */
jpayne@69 2761 xcb_void_cookie_t
jpayne@69 2762 xcb_render_set_picture_transform_checked (xcb_connection_t *c,
jpayne@69 2763 xcb_render_picture_t picture,
jpayne@69 2764 xcb_render_transform_t transform);
jpayne@69 2765
jpayne@69 2766 /**
jpayne@69 2767 *
jpayne@69 2768 * @param c The connection
jpayne@69 2769 * @return A cookie
jpayne@69 2770 *
jpayne@69 2771 * Delivers a request to the X server.
jpayne@69 2772 *
jpayne@69 2773 */
jpayne@69 2774 xcb_void_cookie_t
jpayne@69 2775 xcb_render_set_picture_transform (xcb_connection_t *c,
jpayne@69 2776 xcb_render_picture_t picture,
jpayne@69 2777 xcb_render_transform_t transform);
jpayne@69 2778
jpayne@69 2779 int
jpayne@69 2780 xcb_render_query_filters_sizeof (const void *_buffer);
jpayne@69 2781
jpayne@69 2782 /**
jpayne@69 2783 *
jpayne@69 2784 * @param c The connection
jpayne@69 2785 * @return A cookie
jpayne@69 2786 *
jpayne@69 2787 * Delivers a request to the X server.
jpayne@69 2788 *
jpayne@69 2789 */
jpayne@69 2790 xcb_render_query_filters_cookie_t
jpayne@69 2791 xcb_render_query_filters (xcb_connection_t *c,
jpayne@69 2792 xcb_drawable_t drawable);
jpayne@69 2793
jpayne@69 2794 /**
jpayne@69 2795 *
jpayne@69 2796 * @param c The connection
jpayne@69 2797 * @return A cookie
jpayne@69 2798 *
jpayne@69 2799 * Delivers a request to the X server.
jpayne@69 2800 *
jpayne@69 2801 * This form can be used only if the request will cause
jpayne@69 2802 * a reply to be generated. Any returned error will be
jpayne@69 2803 * placed in the event queue.
jpayne@69 2804 */
jpayne@69 2805 xcb_render_query_filters_cookie_t
jpayne@69 2806 xcb_render_query_filters_unchecked (xcb_connection_t *c,
jpayne@69 2807 xcb_drawable_t drawable);
jpayne@69 2808
jpayne@69 2809 uint16_t *
jpayne@69 2810 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R);
jpayne@69 2811
jpayne@69 2812 int
jpayne@69 2813 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R);
jpayne@69 2814
jpayne@69 2815 xcb_generic_iterator_t
jpayne@69 2816 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R);
jpayne@69 2817
jpayne@69 2818 int
jpayne@69 2819 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R);
jpayne@69 2820
jpayne@69 2821 xcb_str_iterator_t
jpayne@69 2822 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R);
jpayne@69 2823
jpayne@69 2824 /**
jpayne@69 2825 * Return the reply
jpayne@69 2826 * @param c The connection
jpayne@69 2827 * @param cookie The cookie
jpayne@69 2828 * @param e The xcb_generic_error_t supplied
jpayne@69 2829 *
jpayne@69 2830 * Returns the reply of the request asked by
jpayne@69 2831 *
jpayne@69 2832 * The parameter @p e supplied to this function must be NULL if
jpayne@69 2833 * xcb_render_query_filters_unchecked(). is used.
jpayne@69 2834 * Otherwise, it stores the error if any.
jpayne@69 2835 *
jpayne@69 2836 * The returned value must be freed by the caller using free().
jpayne@69 2837 */
jpayne@69 2838 xcb_render_query_filters_reply_t *
jpayne@69 2839 xcb_render_query_filters_reply (xcb_connection_t *c,
jpayne@69 2840 xcb_render_query_filters_cookie_t cookie /**< */,
jpayne@69 2841 xcb_generic_error_t **e);
jpayne@69 2842
jpayne@69 2843 int
jpayne@69 2844 xcb_render_set_picture_filter_sizeof (const void *_buffer,
jpayne@69 2845 uint32_t values_len);
jpayne@69 2846
jpayne@69 2847 /**
jpayne@69 2848 *
jpayne@69 2849 * @param c The connection
jpayne@69 2850 * @return A cookie
jpayne@69 2851 *
jpayne@69 2852 * Delivers a request to the X server.
jpayne@69 2853 *
jpayne@69 2854 * This form can be used only if the request will not cause
jpayne@69 2855 * a reply to be generated. Any returned error will be
jpayne@69 2856 * saved for handling by xcb_request_check().
jpayne@69 2857 */
jpayne@69 2858 xcb_void_cookie_t
jpayne@69 2859 xcb_render_set_picture_filter_checked (xcb_connection_t *c,
jpayne@69 2860 xcb_render_picture_t picture,
jpayne@69 2861 uint16_t filter_len,
jpayne@69 2862 const char *filter,
jpayne@69 2863 uint32_t values_len,
jpayne@69 2864 const xcb_render_fixed_t *values);
jpayne@69 2865
jpayne@69 2866 /**
jpayne@69 2867 *
jpayne@69 2868 * @param c The connection
jpayne@69 2869 * @return A cookie
jpayne@69 2870 *
jpayne@69 2871 * Delivers a request to the X server.
jpayne@69 2872 *
jpayne@69 2873 */
jpayne@69 2874 xcb_void_cookie_t
jpayne@69 2875 xcb_render_set_picture_filter (xcb_connection_t *c,
jpayne@69 2876 xcb_render_picture_t picture,
jpayne@69 2877 uint16_t filter_len,
jpayne@69 2878 const char *filter,
jpayne@69 2879 uint32_t values_len,
jpayne@69 2880 const xcb_render_fixed_t *values);
jpayne@69 2881
jpayne@69 2882 char *
jpayne@69 2883 xcb_render_set_picture_filter_filter (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2884
jpayne@69 2885 int
jpayne@69 2886 xcb_render_set_picture_filter_filter_length (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2887
jpayne@69 2888 xcb_generic_iterator_t
jpayne@69 2889 xcb_render_set_picture_filter_filter_end (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2890
jpayne@69 2891 xcb_render_fixed_t *
jpayne@69 2892 xcb_render_set_picture_filter_values (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2893
jpayne@69 2894 int
jpayne@69 2895 xcb_render_set_picture_filter_values_length (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2896
jpayne@69 2897 xcb_generic_iterator_t
jpayne@69 2898 xcb_render_set_picture_filter_values_end (const xcb_render_set_picture_filter_request_t *R);
jpayne@69 2899
jpayne@69 2900 /**
jpayne@69 2901 * Get the next element of the iterator
jpayne@69 2902 * @param i Pointer to a xcb_render_animcursorelt_iterator_t
jpayne@69 2903 *
jpayne@69 2904 * Get the next element in the iterator. The member rem is
jpayne@69 2905 * decreased by one. The member data points to the next
jpayne@69 2906 * element. The member index is increased by sizeof(xcb_render_animcursorelt_t)
jpayne@69 2907 */
jpayne@69 2908 void
jpayne@69 2909 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i);
jpayne@69 2910
jpayne@69 2911 /**
jpayne@69 2912 * Return the iterator pointing to the last element
jpayne@69 2913 * @param i An xcb_render_animcursorelt_iterator_t
jpayne@69 2914 * @return The iterator pointing to the last element
jpayne@69 2915 *
jpayne@69 2916 * Set the current element in the iterator to the last element.
jpayne@69 2917 * The member rem is set to 0. The member data points to the
jpayne@69 2918 * last element.
jpayne@69 2919 */
jpayne@69 2920 xcb_generic_iterator_t
jpayne@69 2921 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i);
jpayne@69 2922
jpayne@69 2923 int
jpayne@69 2924 xcb_render_create_anim_cursor_sizeof (const void *_buffer,
jpayne@69 2925 uint32_t cursors_len);
jpayne@69 2926
jpayne@69 2927 /**
jpayne@69 2928 *
jpayne@69 2929 * @param c The connection
jpayne@69 2930 * @return A cookie
jpayne@69 2931 *
jpayne@69 2932 * Delivers a request to the X server.
jpayne@69 2933 *
jpayne@69 2934 * This form can be used only if the request will not cause
jpayne@69 2935 * a reply to be generated. Any returned error will be
jpayne@69 2936 * saved for handling by xcb_request_check().
jpayne@69 2937 */
jpayne@69 2938 xcb_void_cookie_t
jpayne@69 2939 xcb_render_create_anim_cursor_checked (xcb_connection_t *c,
jpayne@69 2940 xcb_cursor_t cid,
jpayne@69 2941 uint32_t cursors_len,
jpayne@69 2942 const xcb_render_animcursorelt_t *cursors);
jpayne@69 2943
jpayne@69 2944 /**
jpayne@69 2945 *
jpayne@69 2946 * @param c The connection
jpayne@69 2947 * @return A cookie
jpayne@69 2948 *
jpayne@69 2949 * Delivers a request to the X server.
jpayne@69 2950 *
jpayne@69 2951 */
jpayne@69 2952 xcb_void_cookie_t
jpayne@69 2953 xcb_render_create_anim_cursor (xcb_connection_t *c,
jpayne@69 2954 xcb_cursor_t cid,
jpayne@69 2955 uint32_t cursors_len,
jpayne@69 2956 const xcb_render_animcursorelt_t *cursors);
jpayne@69 2957
jpayne@69 2958 xcb_render_animcursorelt_t *
jpayne@69 2959 xcb_render_create_anim_cursor_cursors (const xcb_render_create_anim_cursor_request_t *R);
jpayne@69 2960
jpayne@69 2961 int
jpayne@69 2962 xcb_render_create_anim_cursor_cursors_length (const xcb_render_create_anim_cursor_request_t *R);
jpayne@69 2963
jpayne@69 2964 xcb_render_animcursorelt_iterator_t
jpayne@69 2965 xcb_render_create_anim_cursor_cursors_iterator (const xcb_render_create_anim_cursor_request_t *R);
jpayne@69 2966
jpayne@69 2967 /**
jpayne@69 2968 * Get the next element of the iterator
jpayne@69 2969 * @param i Pointer to a xcb_render_spanfix_iterator_t
jpayne@69 2970 *
jpayne@69 2971 * Get the next element in the iterator. The member rem is
jpayne@69 2972 * decreased by one. The member data points to the next
jpayne@69 2973 * element. The member index is increased by sizeof(xcb_render_spanfix_t)
jpayne@69 2974 */
jpayne@69 2975 void
jpayne@69 2976 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i);
jpayne@69 2977
jpayne@69 2978 /**
jpayne@69 2979 * Return the iterator pointing to the last element
jpayne@69 2980 * @param i An xcb_render_spanfix_iterator_t
jpayne@69 2981 * @return The iterator pointing to the last element
jpayne@69 2982 *
jpayne@69 2983 * Set the current element in the iterator to the last element.
jpayne@69 2984 * The member rem is set to 0. The member data points to the
jpayne@69 2985 * last element.
jpayne@69 2986 */
jpayne@69 2987 xcb_generic_iterator_t
jpayne@69 2988 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i);
jpayne@69 2989
jpayne@69 2990 /**
jpayne@69 2991 * Get the next element of the iterator
jpayne@69 2992 * @param i Pointer to a xcb_render_trap_iterator_t
jpayne@69 2993 *
jpayne@69 2994 * Get the next element in the iterator. The member rem is
jpayne@69 2995 * decreased by one. The member data points to the next
jpayne@69 2996 * element. The member index is increased by sizeof(xcb_render_trap_t)
jpayne@69 2997 */
jpayne@69 2998 void
jpayne@69 2999 xcb_render_trap_next (xcb_render_trap_iterator_t *i);
jpayne@69 3000
jpayne@69 3001 /**
jpayne@69 3002 * Return the iterator pointing to the last element
jpayne@69 3003 * @param i An xcb_render_trap_iterator_t
jpayne@69 3004 * @return The iterator pointing to the last element
jpayne@69 3005 *
jpayne@69 3006 * Set the current element in the iterator to the last element.
jpayne@69 3007 * The member rem is set to 0. The member data points to the
jpayne@69 3008 * last element.
jpayne@69 3009 */
jpayne@69 3010 xcb_generic_iterator_t
jpayne@69 3011 xcb_render_trap_end (xcb_render_trap_iterator_t i);
jpayne@69 3012
jpayne@69 3013 int
jpayne@69 3014 xcb_render_add_traps_sizeof (const void *_buffer,
jpayne@69 3015 uint32_t traps_len);
jpayne@69 3016
jpayne@69 3017 /**
jpayne@69 3018 *
jpayne@69 3019 * @param c The connection
jpayne@69 3020 * @return A cookie
jpayne@69 3021 *
jpayne@69 3022 * Delivers a request to the X server.
jpayne@69 3023 *
jpayne@69 3024 * This form can be used only if the request will not cause
jpayne@69 3025 * a reply to be generated. Any returned error will be
jpayne@69 3026 * saved for handling by xcb_request_check().
jpayne@69 3027 */
jpayne@69 3028 xcb_void_cookie_t
jpayne@69 3029 xcb_render_add_traps_checked (xcb_connection_t *c,
jpayne@69 3030 xcb_render_picture_t picture,
jpayne@69 3031 int16_t x_off,
jpayne@69 3032 int16_t y_off,
jpayne@69 3033 uint32_t traps_len,
jpayne@69 3034 const xcb_render_trap_t *traps);
jpayne@69 3035
jpayne@69 3036 /**
jpayne@69 3037 *
jpayne@69 3038 * @param c The connection
jpayne@69 3039 * @return A cookie
jpayne@69 3040 *
jpayne@69 3041 * Delivers a request to the X server.
jpayne@69 3042 *
jpayne@69 3043 */
jpayne@69 3044 xcb_void_cookie_t
jpayne@69 3045 xcb_render_add_traps (xcb_connection_t *c,
jpayne@69 3046 xcb_render_picture_t picture,
jpayne@69 3047 int16_t x_off,
jpayne@69 3048 int16_t y_off,
jpayne@69 3049 uint32_t traps_len,
jpayne@69 3050 const xcb_render_trap_t *traps);
jpayne@69 3051
jpayne@69 3052 xcb_render_trap_t *
jpayne@69 3053 xcb_render_add_traps_traps (const xcb_render_add_traps_request_t *R);
jpayne@69 3054
jpayne@69 3055 int
jpayne@69 3056 xcb_render_add_traps_traps_length (const xcb_render_add_traps_request_t *R);
jpayne@69 3057
jpayne@69 3058 xcb_render_trap_iterator_t
jpayne@69 3059 xcb_render_add_traps_traps_iterator (const xcb_render_add_traps_request_t *R);
jpayne@69 3060
jpayne@69 3061 /**
jpayne@69 3062 *
jpayne@69 3063 * @param c The connection
jpayne@69 3064 * @return A cookie
jpayne@69 3065 *
jpayne@69 3066 * Delivers a request to the X server.
jpayne@69 3067 *
jpayne@69 3068 * This form can be used only if the request will not cause
jpayne@69 3069 * a reply to be generated. Any returned error will be
jpayne@69 3070 * saved for handling by xcb_request_check().
jpayne@69 3071 */
jpayne@69 3072 xcb_void_cookie_t
jpayne@69 3073 xcb_render_create_solid_fill_checked (xcb_connection_t *c,
jpayne@69 3074 xcb_render_picture_t picture,
jpayne@69 3075 xcb_render_color_t color);
jpayne@69 3076
jpayne@69 3077 /**
jpayne@69 3078 *
jpayne@69 3079 * @param c The connection
jpayne@69 3080 * @return A cookie
jpayne@69 3081 *
jpayne@69 3082 * Delivers a request to the X server.
jpayne@69 3083 *
jpayne@69 3084 */
jpayne@69 3085 xcb_void_cookie_t
jpayne@69 3086 xcb_render_create_solid_fill (xcb_connection_t *c,
jpayne@69 3087 xcb_render_picture_t picture,
jpayne@69 3088 xcb_render_color_t color);
jpayne@69 3089
jpayne@69 3090 int
jpayne@69 3091 xcb_render_create_linear_gradient_sizeof (const void *_buffer);
jpayne@69 3092
jpayne@69 3093 /**
jpayne@69 3094 *
jpayne@69 3095 * @param c The connection
jpayne@69 3096 * @return A cookie
jpayne@69 3097 *
jpayne@69 3098 * Delivers a request to the X server.
jpayne@69 3099 *
jpayne@69 3100 * This form can be used only if the request will not cause
jpayne@69 3101 * a reply to be generated. Any returned error will be
jpayne@69 3102 * saved for handling by xcb_request_check().
jpayne@69 3103 */
jpayne@69 3104 xcb_void_cookie_t
jpayne@69 3105 xcb_render_create_linear_gradient_checked (xcb_connection_t *c,
jpayne@69 3106 xcb_render_picture_t picture,
jpayne@69 3107 xcb_render_pointfix_t p1,
jpayne@69 3108 xcb_render_pointfix_t p2,
jpayne@69 3109 uint32_t num_stops,
jpayne@69 3110 const xcb_render_fixed_t *stops,
jpayne@69 3111 const xcb_render_color_t *colors);
jpayne@69 3112
jpayne@69 3113 /**
jpayne@69 3114 *
jpayne@69 3115 * @param c The connection
jpayne@69 3116 * @return A cookie
jpayne@69 3117 *
jpayne@69 3118 * Delivers a request to the X server.
jpayne@69 3119 *
jpayne@69 3120 */
jpayne@69 3121 xcb_void_cookie_t
jpayne@69 3122 xcb_render_create_linear_gradient (xcb_connection_t *c,
jpayne@69 3123 xcb_render_picture_t picture,
jpayne@69 3124 xcb_render_pointfix_t p1,
jpayne@69 3125 xcb_render_pointfix_t p2,
jpayne@69 3126 uint32_t num_stops,
jpayne@69 3127 const xcb_render_fixed_t *stops,
jpayne@69 3128 const xcb_render_color_t *colors);
jpayne@69 3129
jpayne@69 3130 xcb_render_fixed_t *
jpayne@69 3131 xcb_render_create_linear_gradient_stops (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3132
jpayne@69 3133 int
jpayne@69 3134 xcb_render_create_linear_gradient_stops_length (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3135
jpayne@69 3136 xcb_generic_iterator_t
jpayne@69 3137 xcb_render_create_linear_gradient_stops_end (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3138
jpayne@69 3139 xcb_render_color_t *
jpayne@69 3140 xcb_render_create_linear_gradient_colors (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3141
jpayne@69 3142 int
jpayne@69 3143 xcb_render_create_linear_gradient_colors_length (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3144
jpayne@69 3145 xcb_render_color_iterator_t
jpayne@69 3146 xcb_render_create_linear_gradient_colors_iterator (const xcb_render_create_linear_gradient_request_t *R);
jpayne@69 3147
jpayne@69 3148 int
jpayne@69 3149 xcb_render_create_radial_gradient_sizeof (const void *_buffer);
jpayne@69 3150
jpayne@69 3151 /**
jpayne@69 3152 *
jpayne@69 3153 * @param c The connection
jpayne@69 3154 * @return A cookie
jpayne@69 3155 *
jpayne@69 3156 * Delivers a request to the X server.
jpayne@69 3157 *
jpayne@69 3158 * This form can be used only if the request will not cause
jpayne@69 3159 * a reply to be generated. Any returned error will be
jpayne@69 3160 * saved for handling by xcb_request_check().
jpayne@69 3161 */
jpayne@69 3162 xcb_void_cookie_t
jpayne@69 3163 xcb_render_create_radial_gradient_checked (xcb_connection_t *c,
jpayne@69 3164 xcb_render_picture_t picture,
jpayne@69 3165 xcb_render_pointfix_t inner,
jpayne@69 3166 xcb_render_pointfix_t outer,
jpayne@69 3167 xcb_render_fixed_t inner_radius,
jpayne@69 3168 xcb_render_fixed_t outer_radius,
jpayne@69 3169 uint32_t num_stops,
jpayne@69 3170 const xcb_render_fixed_t *stops,
jpayne@69 3171 const xcb_render_color_t *colors);
jpayne@69 3172
jpayne@69 3173 /**
jpayne@69 3174 *
jpayne@69 3175 * @param c The connection
jpayne@69 3176 * @return A cookie
jpayne@69 3177 *
jpayne@69 3178 * Delivers a request to the X server.
jpayne@69 3179 *
jpayne@69 3180 */
jpayne@69 3181 xcb_void_cookie_t
jpayne@69 3182 xcb_render_create_radial_gradient (xcb_connection_t *c,
jpayne@69 3183 xcb_render_picture_t picture,
jpayne@69 3184 xcb_render_pointfix_t inner,
jpayne@69 3185 xcb_render_pointfix_t outer,
jpayne@69 3186 xcb_render_fixed_t inner_radius,
jpayne@69 3187 xcb_render_fixed_t outer_radius,
jpayne@69 3188 uint32_t num_stops,
jpayne@69 3189 const xcb_render_fixed_t *stops,
jpayne@69 3190 const xcb_render_color_t *colors);
jpayne@69 3191
jpayne@69 3192 xcb_render_fixed_t *
jpayne@69 3193 xcb_render_create_radial_gradient_stops (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3194
jpayne@69 3195 int
jpayne@69 3196 xcb_render_create_radial_gradient_stops_length (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3197
jpayne@69 3198 xcb_generic_iterator_t
jpayne@69 3199 xcb_render_create_radial_gradient_stops_end (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3200
jpayne@69 3201 xcb_render_color_t *
jpayne@69 3202 xcb_render_create_radial_gradient_colors (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3203
jpayne@69 3204 int
jpayne@69 3205 xcb_render_create_radial_gradient_colors_length (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3206
jpayne@69 3207 xcb_render_color_iterator_t
jpayne@69 3208 xcb_render_create_radial_gradient_colors_iterator (const xcb_render_create_radial_gradient_request_t *R);
jpayne@69 3209
jpayne@69 3210 int
jpayne@69 3211 xcb_render_create_conical_gradient_sizeof (const void *_buffer);
jpayne@69 3212
jpayne@69 3213 /**
jpayne@69 3214 *
jpayne@69 3215 * @param c The connection
jpayne@69 3216 * @return A cookie
jpayne@69 3217 *
jpayne@69 3218 * Delivers a request to the X server.
jpayne@69 3219 *
jpayne@69 3220 * This form can be used only if the request will not cause
jpayne@69 3221 * a reply to be generated. Any returned error will be
jpayne@69 3222 * saved for handling by xcb_request_check().
jpayne@69 3223 */
jpayne@69 3224 xcb_void_cookie_t
jpayne@69 3225 xcb_render_create_conical_gradient_checked (xcb_connection_t *c,
jpayne@69 3226 xcb_render_picture_t picture,
jpayne@69 3227 xcb_render_pointfix_t center,
jpayne@69 3228 xcb_render_fixed_t angle,
jpayne@69 3229 uint32_t num_stops,
jpayne@69 3230 const xcb_render_fixed_t *stops,
jpayne@69 3231 const xcb_render_color_t *colors);
jpayne@69 3232
jpayne@69 3233 /**
jpayne@69 3234 *
jpayne@69 3235 * @param c The connection
jpayne@69 3236 * @return A cookie
jpayne@69 3237 *
jpayne@69 3238 * Delivers a request to the X server.
jpayne@69 3239 *
jpayne@69 3240 */
jpayne@69 3241 xcb_void_cookie_t
jpayne@69 3242 xcb_render_create_conical_gradient (xcb_connection_t *c,
jpayne@69 3243 xcb_render_picture_t picture,
jpayne@69 3244 xcb_render_pointfix_t center,
jpayne@69 3245 xcb_render_fixed_t angle,
jpayne@69 3246 uint32_t num_stops,
jpayne@69 3247 const xcb_render_fixed_t *stops,
jpayne@69 3248 const xcb_render_color_t *colors);
jpayne@69 3249
jpayne@69 3250 xcb_render_fixed_t *
jpayne@69 3251 xcb_render_create_conical_gradient_stops (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3252
jpayne@69 3253 int
jpayne@69 3254 xcb_render_create_conical_gradient_stops_length (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3255
jpayne@69 3256 xcb_generic_iterator_t
jpayne@69 3257 xcb_render_create_conical_gradient_stops_end (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3258
jpayne@69 3259 xcb_render_color_t *
jpayne@69 3260 xcb_render_create_conical_gradient_colors (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3261
jpayne@69 3262 int
jpayne@69 3263 xcb_render_create_conical_gradient_colors_length (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3264
jpayne@69 3265 xcb_render_color_iterator_t
jpayne@69 3266 xcb_render_create_conical_gradient_colors_iterator (const xcb_render_create_conical_gradient_request_t *R);
jpayne@69 3267
jpayne@69 3268
jpayne@69 3269 #ifdef __cplusplus
jpayne@69 3270 }
jpayne@69 3271 #endif
jpayne@69 3272
jpayne@69 3273 #endif
jpayne@69 3274
jpayne@69 3275 /**
jpayne@69 3276 * @}
jpayne@69 3277 */