00001
00002
00003
00004
00005
00012 #ifndef __RENDER_H
00013 #define __RENDER_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #define XCB_RENDER_MAJOR_VERSION 0
00023 #define XCB_RENDER_MINOR_VERSION 10
00024
00025 extern xcb_extension_t xcb_render_id;
00026
00027 typedef enum xcb_render_pict_type_t {
00028 XCB_RENDER_PICT_TYPE_INDEXED,
00029 XCB_RENDER_PICT_TYPE_DIRECT
00030 } xcb_render_pict_type_t;
00031
00032 typedef enum xcb_render_picture_enum_t {
00033 XCB_RENDER_PICTURE_NONE
00034 } xcb_render_picture_enum_t;
00035
00036 typedef enum xcb_render_pict_op_t {
00037 XCB_RENDER_PICT_OP_CLEAR,
00038 XCB_RENDER_PICT_OP_SRC,
00039 XCB_RENDER_PICT_OP_DST,
00040 XCB_RENDER_PICT_OP_OVER,
00041 XCB_RENDER_PICT_OP_OVER_REVERSE,
00042 XCB_RENDER_PICT_OP_IN,
00043 XCB_RENDER_PICT_OP_IN_REVERSE,
00044 XCB_RENDER_PICT_OP_OUT,
00045 XCB_RENDER_PICT_OP_OUT_REVERSE,
00046 XCB_RENDER_PICT_OP_ATOP,
00047 XCB_RENDER_PICT_OP_ATOP_REVERSE,
00048 XCB_RENDER_PICT_OP_XOR,
00049 XCB_RENDER_PICT_OP_ADD,
00050 XCB_RENDER_PICT_OP_SATURATE,
00051 XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 16,
00052 XCB_RENDER_PICT_OP_DISJOINT_SRC,
00053 XCB_RENDER_PICT_OP_DISJOINT_DST,
00054 XCB_RENDER_PICT_OP_DISJOINT_OVER,
00055 XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE,
00056 XCB_RENDER_PICT_OP_DISJOINT_IN,
00057 XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE,
00058 XCB_RENDER_PICT_OP_DISJOINT_OUT,
00059 XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE,
00060 XCB_RENDER_PICT_OP_DISJOINT_ATOP,
00061 XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE,
00062 XCB_RENDER_PICT_OP_DISJOINT_XOR,
00063 XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 32,
00064 XCB_RENDER_PICT_OP_CONJOINT_SRC,
00065 XCB_RENDER_PICT_OP_CONJOINT_DST,
00066 XCB_RENDER_PICT_OP_CONJOINT_OVER,
00067 XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE,
00068 XCB_RENDER_PICT_OP_CONJOINT_IN,
00069 XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE,
00070 XCB_RENDER_PICT_OP_CONJOINT_OUT,
00071 XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE,
00072 XCB_RENDER_PICT_OP_CONJOINT_ATOP,
00073 XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE,
00074 XCB_RENDER_PICT_OP_CONJOINT_XOR
00075 } xcb_render_pict_op_t;
00076
00077 typedef enum xcb_render_poly_edge_t {
00078 XCB_RENDER_POLY_EDGE_SHARP,
00079 XCB_RENDER_POLY_EDGE_SMOOTH
00080 } xcb_render_poly_edge_t;
00081
00082 typedef enum xcb_render_poly_mode_t {
00083 XCB_RENDER_POLY_MODE_PRECISE,
00084 XCB_RENDER_POLY_MODE_IMPRECISE
00085 } xcb_render_poly_mode_t;
00086
00087 typedef enum xcb_render_cp_t {
00088 XCB_RENDER_CP_REPEAT = 1,
00089 XCB_RENDER_CP_ALPHA_MAP = 2,
00090 XCB_RENDER_CP_ALPHA_X_ORIGIN = 4,
00091 XCB_RENDER_CP_ALPHA_Y_ORIGIN = 8,
00092 XCB_RENDER_CP_CLIP_X_ORIGIN = 16,
00093 XCB_RENDER_CP_CLIP_Y_ORIGIN = 32,
00094 XCB_RENDER_CP_CLIP_MASK = 64,
00095 XCB_RENDER_CP_GRAPHICS_EXPOSURE = 128,
00096 XCB_RENDER_CP_SUBWINDOW_MODE = 256,
00097 XCB_RENDER_CP_POLY_EDGE = 512,
00098 XCB_RENDER_CP_POLY_MODE = 1024,
00099 XCB_RENDER_CP_DITHER = 2048,
00100 XCB_RENDER_CP_COMPONENT_ALPHA = 4096
00101 } xcb_render_cp_t;
00102
00103 typedef enum xcb_render_sub_pixel_t {
00104 XCB_RENDER_SUB_PIXEL_UNKNOWN,
00105 XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB,
00106 XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR,
00107 XCB_RENDER_SUB_PIXEL_VERTICAL_RGB,
00108 XCB_RENDER_SUB_PIXEL_VERTICAL_BGR,
00109 XCB_RENDER_SUB_PIXEL_NONE
00110 } xcb_render_sub_pixel_t;
00111
00112 typedef enum xcb_render_repeat_t {
00113 XCB_RENDER_REPEAT_NONE,
00114 XCB_RENDER_REPEAT_NORMAL,
00115 XCB_RENDER_REPEAT_PAD,
00116 XCB_RENDER_REPEAT_REFLECT
00117 } xcb_render_repeat_t;
00118
00119 typedef uint32_t xcb_render_glyph_t;
00120
00124 typedef struct xcb_render_glyph_iterator_t {
00125 xcb_render_glyph_t *data;
00126 int rem;
00127 int index;
00128 } xcb_render_glyph_iterator_t;
00129
00130 typedef uint32_t xcb_render_glyphset_t;
00131
00135 typedef struct xcb_render_glyphset_iterator_t {
00136 xcb_render_glyphset_t *data;
00137 int rem;
00138 int index;
00139 } xcb_render_glyphset_iterator_t;
00140
00141 typedef uint32_t xcb_render_picture_t;
00142
00146 typedef struct xcb_render_picture_iterator_t {
00147 xcb_render_picture_t *data;
00148 int rem;
00149 int index;
00150 } xcb_render_picture_iterator_t;
00151
00152 typedef uint32_t xcb_render_pictformat_t;
00153
00157 typedef struct xcb_render_pictformat_iterator_t {
00158 xcb_render_pictformat_t *data;
00159 int rem;
00160 int index;
00161 } xcb_render_pictformat_iterator_t;
00162
00163 typedef int32_t xcb_render_fixed_t;
00164
00168 typedef struct xcb_render_fixed_iterator_t {
00169 xcb_render_fixed_t *data;
00170 int rem;
00171 int index;
00172 } xcb_render_fixed_iterator_t;
00173
00175 #define XCB_RENDER_PICT_FORMAT 0
00176
00180 typedef struct xcb_render_pict_format_error_t {
00181 uint8_t response_type;
00182 uint8_t error_code;
00183 uint16_t sequence;
00184 } xcb_render_pict_format_error_t;
00185
00187 #define XCB_RENDER_PICTURE 1
00188
00192 typedef struct xcb_render_picture_error_t {
00193 uint8_t response_type;
00194 uint8_t error_code;
00195 uint16_t sequence;
00196 } xcb_render_picture_error_t;
00197
00199 #define XCB_RENDER_PICT_OP 2
00200
00204 typedef struct xcb_render_pict_op_error_t {
00205 uint8_t response_type;
00206 uint8_t error_code;
00207 uint16_t sequence;
00208 } xcb_render_pict_op_error_t;
00209
00211 #define XCB_RENDER_GLYPH_SET 3
00212
00216 typedef struct xcb_render_glyph_set_error_t {
00217 uint8_t response_type;
00218 uint8_t error_code;
00219 uint16_t sequence;
00220 } xcb_render_glyph_set_error_t;
00221
00223 #define XCB_RENDER_GLYPH 4
00224
00228 typedef struct xcb_render_glyph_error_t {
00229 uint8_t response_type;
00230 uint8_t error_code;
00231 uint16_t sequence;
00232 } xcb_render_glyph_error_t;
00233
00237 typedef struct xcb_render_directformat_t {
00238 uint16_t red_shift;
00239 uint16_t red_mask;
00240 uint16_t green_shift;
00241 uint16_t green_mask;
00242 uint16_t blue_shift;
00243 uint16_t blue_mask;
00244 uint16_t alpha_shift;
00245 uint16_t alpha_mask;
00246 } xcb_render_directformat_t;
00247
00251 typedef struct xcb_render_directformat_iterator_t {
00252 xcb_render_directformat_t *data;
00253 int rem;
00254 int index;
00255 } xcb_render_directformat_iterator_t;
00256
00260 typedef struct xcb_render_pictforminfo_t {
00261 xcb_render_pictformat_t id;
00262 uint8_t type;
00263 uint8_t depth;
00264 uint8_t pad0[2];
00265 xcb_render_directformat_t direct;
00266 xcb_colormap_t colormap;
00267 } xcb_render_pictforminfo_t;
00268
00272 typedef struct xcb_render_pictforminfo_iterator_t {
00273 xcb_render_pictforminfo_t *data;
00274 int rem;
00275 int index;
00276 } xcb_render_pictforminfo_iterator_t;
00277
00281 typedef struct xcb_render_pictvisual_t {
00282 xcb_visualid_t visual;
00283 xcb_render_pictformat_t format;
00284 } xcb_render_pictvisual_t;
00285
00289 typedef struct xcb_render_pictvisual_iterator_t {
00290 xcb_render_pictvisual_t *data;
00291 int rem;
00292 int index;
00293 } xcb_render_pictvisual_iterator_t;
00294
00298 typedef struct xcb_render_pictdepth_t {
00299 uint8_t depth;
00300 uint8_t pad0;
00301 uint16_t num_visuals;
00302 uint8_t pad1[4];
00303 } xcb_render_pictdepth_t;
00304
00308 typedef struct xcb_render_pictdepth_iterator_t {
00309 xcb_render_pictdepth_t *data;
00310 int rem;
00311 int index;
00312 } xcb_render_pictdepth_iterator_t;
00313
00317 typedef struct xcb_render_pictscreen_t {
00318 uint32_t num_depths;
00319 xcb_render_pictformat_t fallback;
00320 } xcb_render_pictscreen_t;
00321
00325 typedef struct xcb_render_pictscreen_iterator_t {
00326 xcb_render_pictscreen_t *data;
00327 int rem;
00328 int index;
00329 } xcb_render_pictscreen_iterator_t;
00330
00334 typedef struct xcb_render_indexvalue_t {
00335 uint32_t pixel;
00336 uint16_t red;
00337 uint16_t green;
00338 uint16_t blue;
00339 uint16_t alpha;
00340 } xcb_render_indexvalue_t;
00341
00345 typedef struct xcb_render_indexvalue_iterator_t {
00346 xcb_render_indexvalue_t *data;
00347 int rem;
00348 int index;
00349 } xcb_render_indexvalue_iterator_t;
00350
00354 typedef struct xcb_render_color_t {
00355 uint16_t red;
00356 uint16_t green;
00357 uint16_t blue;
00358 uint16_t alpha;
00359 } xcb_render_color_t;
00360
00364 typedef struct xcb_render_color_iterator_t {
00365 xcb_render_color_t *data;
00366 int rem;
00367 int index;
00368 } xcb_render_color_iterator_t;
00369
00373 typedef struct xcb_render_pointfix_t {
00374 xcb_render_fixed_t x;
00375 xcb_render_fixed_t y;
00376 } xcb_render_pointfix_t;
00377
00381 typedef struct xcb_render_pointfix_iterator_t {
00382 xcb_render_pointfix_t *data;
00383 int rem;
00384 int index;
00385 } xcb_render_pointfix_iterator_t;
00386
00390 typedef struct xcb_render_linefix_t {
00391 xcb_render_pointfix_t p1;
00392 xcb_render_pointfix_t p2;
00393 } xcb_render_linefix_t;
00394
00398 typedef struct xcb_render_linefix_iterator_t {
00399 xcb_render_linefix_t *data;
00400 int rem;
00401 int index;
00402 } xcb_render_linefix_iterator_t;
00403
00407 typedef struct xcb_render_triangle_t {
00408 xcb_render_pointfix_t p1;
00409 xcb_render_pointfix_t p2;
00410 xcb_render_pointfix_t p3;
00411 } xcb_render_triangle_t;
00412
00416 typedef struct xcb_render_triangle_iterator_t {
00417 xcb_render_triangle_t *data;
00418 int rem;
00419 int index;
00420 } xcb_render_triangle_iterator_t;
00421
00425 typedef struct xcb_render_trapezoid_t {
00426 xcb_render_fixed_t top;
00427 xcb_render_fixed_t bottom;
00428 xcb_render_linefix_t left;
00429 xcb_render_linefix_t right;
00430 } xcb_render_trapezoid_t;
00431
00435 typedef struct xcb_render_trapezoid_iterator_t {
00436 xcb_render_trapezoid_t *data;
00437 int rem;
00438 int index;
00439 } xcb_render_trapezoid_iterator_t;
00440
00444 typedef struct xcb_render_glyphinfo_t {
00445 uint16_t width;
00446 uint16_t height;
00447 int16_t x;
00448 int16_t y;
00449 int16_t x_off;
00450 int16_t y_off;
00451 } xcb_render_glyphinfo_t;
00452
00456 typedef struct xcb_render_glyphinfo_iterator_t {
00457 xcb_render_glyphinfo_t *data;
00458 int rem;
00459 int index;
00460 } xcb_render_glyphinfo_iterator_t;
00461
00465 typedef struct xcb_render_query_version_cookie_t {
00466 unsigned int sequence;
00467 } xcb_render_query_version_cookie_t;
00468
00470 #define XCB_RENDER_QUERY_VERSION 0
00471
00475 typedef struct xcb_render_query_version_request_t {
00476 uint8_t major_opcode;
00477 uint8_t minor_opcode;
00478 uint16_t length;
00479 uint32_t client_major_version;
00480 uint32_t client_minor_version;
00481 } xcb_render_query_version_request_t;
00482
00486 typedef struct xcb_render_query_version_reply_t {
00487 uint8_t response_type;
00488 uint8_t pad0;
00489 uint16_t sequence;
00490 uint32_t length;
00491 uint32_t major_version;
00492 uint32_t minor_version;
00493 uint8_t pad1[16];
00494 } xcb_render_query_version_reply_t;
00495
00499 typedef struct xcb_render_query_pict_formats_cookie_t {
00500 unsigned int sequence;
00501 } xcb_render_query_pict_formats_cookie_t;
00502
00504 #define XCB_RENDER_QUERY_PICT_FORMATS 1
00505
00509 typedef struct xcb_render_query_pict_formats_request_t {
00510 uint8_t major_opcode;
00511 uint8_t minor_opcode;
00512 uint16_t length;
00513 } xcb_render_query_pict_formats_request_t;
00514
00518 typedef struct xcb_render_query_pict_formats_reply_t {
00519 uint8_t response_type;
00520 uint8_t pad0;
00521 uint16_t sequence;
00522 uint32_t length;
00523 uint32_t num_formats;
00524 uint32_t num_screens;
00525 uint32_t num_depths;
00526 uint32_t num_visuals;
00527 uint32_t num_subpixel;
00528 uint8_t pad1[4];
00529 } xcb_render_query_pict_formats_reply_t;
00530
00534 typedef struct xcb_render_query_pict_index_values_cookie_t {
00535 unsigned int sequence;
00536 } xcb_render_query_pict_index_values_cookie_t;
00537
00539 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
00540
00544 typedef struct xcb_render_query_pict_index_values_request_t {
00545 uint8_t major_opcode;
00546 uint8_t minor_opcode;
00547 uint16_t length;
00548 xcb_render_pictformat_t format;
00549 } xcb_render_query_pict_index_values_request_t;
00550
00554 typedef struct xcb_render_query_pict_index_values_reply_t {
00555 uint8_t response_type;
00556 uint8_t pad0;
00557 uint16_t sequence;
00558 uint32_t length;
00559 uint32_t num_values;
00560 uint8_t pad1[20];
00561 } xcb_render_query_pict_index_values_reply_t;
00562
00564 #define XCB_RENDER_CREATE_PICTURE 4
00565
00569 typedef struct xcb_render_create_picture_request_t {
00570 uint8_t major_opcode;
00571 uint8_t minor_opcode;
00572 uint16_t length;
00573 xcb_render_picture_t pid;
00574 xcb_drawable_t drawable;
00575 xcb_render_pictformat_t format;
00576 uint32_t value_mask;
00577 } xcb_render_create_picture_request_t;
00578
00580 #define XCB_RENDER_CHANGE_PICTURE 5
00581
00585 typedef struct xcb_render_change_picture_request_t {
00586 uint8_t major_opcode;
00587 uint8_t minor_opcode;
00588 uint16_t length;
00589 xcb_render_picture_t picture;
00590 uint32_t value_mask;
00591 } xcb_render_change_picture_request_t;
00592
00594 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
00595
00599 typedef struct xcb_render_set_picture_clip_rectangles_request_t {
00600 uint8_t major_opcode;
00601 uint8_t minor_opcode;
00602 uint16_t length;
00603 xcb_render_picture_t picture;
00604 int16_t clip_x_origin;
00605 int16_t clip_y_origin;
00606 } xcb_render_set_picture_clip_rectangles_request_t;
00607
00609 #define XCB_RENDER_FREE_PICTURE 7
00610
00614 typedef struct xcb_render_free_picture_request_t {
00615 uint8_t major_opcode;
00616 uint8_t minor_opcode;
00617 uint16_t length;
00618 xcb_render_picture_t picture;
00619 } xcb_render_free_picture_request_t;
00620
00622 #define XCB_RENDER_COMPOSITE 8
00623
00627 typedef struct xcb_render_composite_request_t {
00628 uint8_t major_opcode;
00629 uint8_t minor_opcode;
00630 uint16_t length;
00631 uint8_t op;
00632 uint8_t pad0[3];
00633 xcb_render_picture_t src;
00634 xcb_render_picture_t mask;
00635 xcb_render_picture_t dst;
00636 int16_t src_x;
00637 int16_t src_y;
00638 int16_t mask_x;
00639 int16_t mask_y;
00640 int16_t dst_x;
00641 int16_t dst_y;
00642 uint16_t width;
00643 uint16_t height;
00644 } xcb_render_composite_request_t;
00645
00647 #define XCB_RENDER_TRAPEZOIDS 10
00648
00652 typedef struct xcb_render_trapezoids_request_t {
00653 uint8_t major_opcode;
00654 uint8_t minor_opcode;
00655 uint16_t length;
00656 uint8_t op;
00657 uint8_t pad0[3];
00658 xcb_render_picture_t src;
00659 xcb_render_picture_t dst;
00660 xcb_render_pictformat_t mask_format;
00661 int16_t src_x;
00662 int16_t src_y;
00663 } xcb_render_trapezoids_request_t;
00664
00666 #define XCB_RENDER_TRIANGLES 11
00667
00671 typedef struct xcb_render_triangles_request_t {
00672 uint8_t major_opcode;
00673 uint8_t minor_opcode;
00674 uint16_t length;
00675 uint8_t op;
00676 uint8_t pad0[3];
00677 xcb_render_picture_t src;
00678 xcb_render_picture_t dst;
00679 xcb_render_pictformat_t mask_format;
00680 int16_t src_x;
00681 int16_t src_y;
00682 } xcb_render_triangles_request_t;
00683
00685 #define XCB_RENDER_TRI_STRIP 12
00686
00690 typedef struct xcb_render_tri_strip_request_t {
00691 uint8_t major_opcode;
00692 uint8_t minor_opcode;
00693 uint16_t length;
00694 uint8_t op;
00695 uint8_t pad0[3];
00696 xcb_render_picture_t src;
00697 xcb_render_picture_t dst;
00698 xcb_render_pictformat_t mask_format;
00699 int16_t src_x;
00700 int16_t src_y;
00701 } xcb_render_tri_strip_request_t;
00702
00704 #define XCB_RENDER_TRI_FAN 13
00705
00709 typedef struct xcb_render_tri_fan_request_t {
00710 uint8_t major_opcode;
00711 uint8_t minor_opcode;
00712 uint16_t length;
00713 uint8_t op;
00714 uint8_t pad0[3];
00715 xcb_render_picture_t src;
00716 xcb_render_picture_t dst;
00717 xcb_render_pictformat_t mask_format;
00718 int16_t src_x;
00719 int16_t src_y;
00720 } xcb_render_tri_fan_request_t;
00721
00723 #define XCB_RENDER_CREATE_GLYPH_SET 17
00724
00728 typedef struct xcb_render_create_glyph_set_request_t {
00729 uint8_t major_opcode;
00730 uint8_t minor_opcode;
00731 uint16_t length;
00732 xcb_render_glyphset_t gsid;
00733 xcb_render_pictformat_t format;
00734 } xcb_render_create_glyph_set_request_t;
00735
00737 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
00738
00742 typedef struct xcb_render_reference_glyph_set_request_t {
00743 uint8_t major_opcode;
00744 uint8_t minor_opcode;
00745 uint16_t length;
00746 xcb_render_glyphset_t gsid;
00747 xcb_render_glyphset_t existing;
00748 } xcb_render_reference_glyph_set_request_t;
00749
00751 #define XCB_RENDER_FREE_GLYPH_SET 19
00752
00756 typedef struct xcb_render_free_glyph_set_request_t {
00757 uint8_t major_opcode;
00758 uint8_t minor_opcode;
00759 uint16_t length;
00760 xcb_render_glyphset_t glyphset;
00761 } xcb_render_free_glyph_set_request_t;
00762
00764 #define XCB_RENDER_ADD_GLYPHS 20
00765
00769 typedef struct xcb_render_add_glyphs_request_t {
00770 uint8_t major_opcode;
00771 uint8_t minor_opcode;
00772 uint16_t length;
00773 xcb_render_glyphset_t glyphset;
00774 uint32_t glyphs_len;
00775 } xcb_render_add_glyphs_request_t;
00776
00778 #define XCB_RENDER_FREE_GLYPHS 22
00779
00783 typedef struct xcb_render_free_glyphs_request_t {
00784 uint8_t major_opcode;
00785 uint8_t minor_opcode;
00786 uint16_t length;
00787 xcb_render_glyphset_t glyphset;
00788 } xcb_render_free_glyphs_request_t;
00789
00791 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
00792
00796 typedef struct xcb_render_composite_glyphs_8_request_t {
00797 uint8_t major_opcode;
00798 uint8_t minor_opcode;
00799 uint16_t length;
00800 uint8_t op;
00801 uint8_t pad0[3];
00802 xcb_render_picture_t src;
00803 xcb_render_picture_t dst;
00804 xcb_render_pictformat_t mask_format;
00805 xcb_render_glyphset_t glyphset;
00806 int16_t src_x;
00807 int16_t src_y;
00808 } xcb_render_composite_glyphs_8_request_t;
00809
00811 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
00812
00816 typedef struct xcb_render_composite_glyphs_16_request_t {
00817 uint8_t major_opcode;
00818 uint8_t minor_opcode;
00819 uint16_t length;
00820 uint8_t op;
00821 uint8_t pad0[3];
00822 xcb_render_picture_t src;
00823 xcb_render_picture_t dst;
00824 xcb_render_pictformat_t mask_format;
00825 xcb_render_glyphset_t glyphset;
00826 int16_t src_x;
00827 int16_t src_y;
00828 } xcb_render_composite_glyphs_16_request_t;
00829
00831 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
00832
00836 typedef struct xcb_render_composite_glyphs_32_request_t {
00837 uint8_t major_opcode;
00838 uint8_t minor_opcode;
00839 uint16_t length;
00840 uint8_t op;
00841 uint8_t pad0[3];
00842 xcb_render_picture_t src;
00843 xcb_render_picture_t dst;
00844 xcb_render_pictformat_t mask_format;
00845 xcb_render_glyphset_t glyphset;
00846 int16_t src_x;
00847 int16_t src_y;
00848 } xcb_render_composite_glyphs_32_request_t;
00849
00851 #define XCB_RENDER_FILL_RECTANGLES 26
00852
00856 typedef struct xcb_render_fill_rectangles_request_t {
00857 uint8_t major_opcode;
00858 uint8_t minor_opcode;
00859 uint16_t length;
00860 uint8_t op;
00861 uint8_t pad0[3];
00862 xcb_render_picture_t dst;
00863 xcb_render_color_t color;
00864 } xcb_render_fill_rectangles_request_t;
00865
00867 #define XCB_RENDER_CREATE_CURSOR 27
00868
00872 typedef struct xcb_render_create_cursor_request_t {
00873 uint8_t major_opcode;
00874 uint8_t minor_opcode;
00875 uint16_t length;
00876 xcb_cursor_t cid;
00877 xcb_render_picture_t source;
00878 uint16_t x;
00879 uint16_t y;
00880 } xcb_render_create_cursor_request_t;
00881
00885 typedef struct xcb_render_transform_t {
00886 xcb_render_fixed_t matrix11;
00887 xcb_render_fixed_t matrix12;
00888 xcb_render_fixed_t matrix13;
00889 xcb_render_fixed_t matrix21;
00890 xcb_render_fixed_t matrix22;
00891 xcb_render_fixed_t matrix23;
00892 xcb_render_fixed_t matrix31;
00893 xcb_render_fixed_t matrix32;
00894 xcb_render_fixed_t matrix33;
00895 } xcb_render_transform_t;
00896
00900 typedef struct xcb_render_transform_iterator_t {
00901 xcb_render_transform_t *data;
00902 int rem;
00903 int index;
00904 } xcb_render_transform_iterator_t;
00905
00907 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
00908
00912 typedef struct xcb_render_set_picture_transform_request_t {
00913 uint8_t major_opcode;
00914 uint8_t minor_opcode;
00915 uint16_t length;
00916 xcb_render_picture_t picture;
00917 xcb_render_transform_t transform;
00918 } xcb_render_set_picture_transform_request_t;
00919
00923 typedef struct xcb_render_query_filters_cookie_t {
00924 unsigned int sequence;
00925 } xcb_render_query_filters_cookie_t;
00926
00928 #define XCB_RENDER_QUERY_FILTERS 29
00929
00933 typedef struct xcb_render_query_filters_request_t {
00934 uint8_t major_opcode;
00935 uint8_t minor_opcode;
00936 uint16_t length;
00937 xcb_drawable_t drawable;
00938 } xcb_render_query_filters_request_t;
00939
00943 typedef struct xcb_render_query_filters_reply_t {
00944 uint8_t response_type;
00945 uint8_t pad0;
00946 uint16_t sequence;
00947 uint32_t length;
00948 uint32_t num_aliases;
00949 uint32_t num_filters;
00950 uint8_t pad1[16];
00951 } xcb_render_query_filters_reply_t;
00952
00954 #define XCB_RENDER_SET_PICTURE_FILTER 30
00955
00959 typedef struct xcb_render_set_picture_filter_request_t {
00960 uint8_t major_opcode;
00961 uint8_t minor_opcode;
00962 uint16_t length;
00963 xcb_render_picture_t picture;
00964 uint16_t filter_len;
00965 uint8_t pad0[2];
00966 } xcb_render_set_picture_filter_request_t;
00967
00971 typedef struct xcb_render_animcursorelt_t {
00972 xcb_cursor_t cursor;
00973 uint32_t delay;
00974 } xcb_render_animcursorelt_t;
00975
00979 typedef struct xcb_render_animcursorelt_iterator_t {
00980 xcb_render_animcursorelt_t *data;
00981 int rem;
00982 int index;
00983 } xcb_render_animcursorelt_iterator_t;
00984
00986 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
00987
00991 typedef struct xcb_render_create_anim_cursor_request_t {
00992 uint8_t major_opcode;
00993 uint8_t minor_opcode;
00994 uint16_t length;
00995 xcb_cursor_t cid;
00996 } xcb_render_create_anim_cursor_request_t;
00997
01001 typedef struct xcb_render_spanfix_t {
01002 xcb_render_fixed_t l;
01003 xcb_render_fixed_t r;
01004 xcb_render_fixed_t y;
01005 } xcb_render_spanfix_t;
01006
01010 typedef struct xcb_render_spanfix_iterator_t {
01011 xcb_render_spanfix_t *data;
01012 int rem;
01013 int index;
01014 } xcb_render_spanfix_iterator_t;
01015
01019 typedef struct xcb_render_trap_t {
01020 xcb_render_spanfix_t top;
01021 xcb_render_spanfix_t bot;
01022 } xcb_render_trap_t;
01023
01027 typedef struct xcb_render_trap_iterator_t {
01028 xcb_render_trap_t *data;
01029 int rem;
01030 int index;
01031 } xcb_render_trap_iterator_t;
01032
01034 #define XCB_RENDER_ADD_TRAPS 32
01035
01039 typedef struct xcb_render_add_traps_request_t {
01040 uint8_t major_opcode;
01041 uint8_t minor_opcode;
01042 uint16_t length;
01043 xcb_render_picture_t picture;
01044 int16_t x_off;
01045 int16_t y_off;
01046 } xcb_render_add_traps_request_t;
01047
01049 #define XCB_RENDER_CREATE_SOLID_FILL 33
01050
01054 typedef struct xcb_render_create_solid_fill_request_t {
01055 uint8_t major_opcode;
01056 uint8_t minor_opcode;
01057 uint16_t length;
01058 xcb_render_picture_t picture;
01059 xcb_render_color_t color;
01060 } xcb_render_create_solid_fill_request_t;
01061
01063 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
01064
01068 typedef struct xcb_render_create_linear_gradient_request_t {
01069 uint8_t major_opcode;
01070 uint8_t minor_opcode;
01071 uint16_t length;
01072 xcb_render_picture_t picture;
01073 xcb_render_pointfix_t p1;
01074 xcb_render_pointfix_t p2;
01075 uint32_t num_stops;
01076 } xcb_render_create_linear_gradient_request_t;
01077
01079 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
01080
01084 typedef struct xcb_render_create_radial_gradient_request_t {
01085 uint8_t major_opcode;
01086 uint8_t minor_opcode;
01087 uint16_t length;
01088 xcb_render_picture_t picture;
01089 xcb_render_pointfix_t inner;
01090 xcb_render_pointfix_t outer;
01091 xcb_render_fixed_t inner_radius;
01092 xcb_render_fixed_t outer_radius;
01093 uint32_t num_stops;
01094 } xcb_render_create_radial_gradient_request_t;
01095
01097 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
01098
01102 typedef struct xcb_render_create_conical_gradient_request_t {
01103 uint8_t major_opcode;
01104 uint8_t minor_opcode;
01105 uint16_t length;
01106 xcb_render_picture_t picture;
01107 xcb_render_pointfix_t center;
01108 xcb_render_fixed_t angle;
01109 uint32_t num_stops;
01110 } xcb_render_create_conical_gradient_request_t;
01111
01121
01122
01123
01124
01125
01126
01127
01128
01129
01130 void
01131 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i );
01132
01143
01144
01145
01146
01147
01148
01149
01150
01151
01152 xcb_generic_iterator_t
01153 xcb_render_glyph_end (xcb_render_glyph_iterator_t i );
01154
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173 void
01174 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i );
01175
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195 xcb_generic_iterator_t
01196 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i );
01197
01207
01208
01209
01210
01211
01212
01213
01214
01215
01216 void
01217 xcb_render_picture_next (xcb_render_picture_iterator_t *i );
01218
01229
01230
01231
01232
01233
01234
01235
01236
01237
01238 xcb_generic_iterator_t
01239 xcb_render_picture_end (xcb_render_picture_iterator_t i );
01240
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259 void
01260 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i );
01261
01272
01273
01274
01275
01276
01277
01278
01279
01280
01281 xcb_generic_iterator_t
01282 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i );
01283
01293
01294
01295
01296
01297
01298
01299
01300
01301
01302 void
01303 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i );
01304
01315
01316
01317
01318
01319
01320
01321
01322
01323
01324 xcb_generic_iterator_t
01325 xcb_render_fixed_end (xcb_render_fixed_iterator_t i );
01326
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345 void
01346 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i );
01347
01358
01359
01360
01361
01362
01363
01364
01365
01366
01367 xcb_generic_iterator_t
01368 xcb_render_directformat_end (xcb_render_directformat_iterator_t i );
01369
01379
01380
01381
01382
01383
01384
01385
01386
01387
01388 void
01389 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i );
01390
01401
01402
01403
01404
01405
01406
01407
01408
01409
01410 xcb_generic_iterator_t
01411 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i );
01412
01422
01423
01424
01425
01426
01427
01428
01429
01430
01431 void
01432 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i );
01433
01444
01445
01446
01447
01448
01449
01450
01451
01452
01453 xcb_generic_iterator_t
01454 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i );
01455
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466 xcb_render_pictvisual_t *
01467 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R );
01468
01469
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479 int
01480 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R );
01481
01482
01483
01484
01485
01486
01487
01488
01489
01490
01491
01492 xcb_render_pictvisual_iterator_t
01493 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R );
01494
01504
01505
01506
01507
01508
01509
01510
01511
01512
01513 void
01514 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i );
01515
01526
01527
01528
01529
01530
01531
01532
01533
01534
01535 xcb_generic_iterator_t
01536 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i );
01537
01538
01539
01540
01541
01542
01543
01544
01545
01546
01547
01548 int
01549 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R );
01550
01551
01552
01553
01554
01555
01556
01557
01558
01559
01560
01561 xcb_render_pictdepth_iterator_t
01562 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R );
01563
01573
01574
01575
01576
01577
01578
01579
01580
01581
01582 void
01583 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i );
01584
01595
01596
01597
01598
01599
01600
01601
01602
01603
01604 xcb_generic_iterator_t
01605 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i );
01606
01616
01617
01618
01619
01620
01621
01622
01623
01624
01625 void
01626 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i );
01627
01638
01639
01640
01641
01642
01643
01644
01645
01646
01647 xcb_generic_iterator_t
01648 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i );
01649
01659
01660
01661
01662
01663
01664
01665
01666
01667
01668 void
01669 xcb_render_color_next (xcb_render_color_iterator_t *i );
01670
01681
01682
01683
01684
01685
01686
01687
01688
01689
01690 xcb_generic_iterator_t
01691 xcb_render_color_end (xcb_render_color_iterator_t i );
01692
01702
01703
01704
01705
01706
01707
01708
01709
01710
01711 void
01712 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i );
01713
01724
01725
01726
01727
01728
01729
01730
01731
01732
01733 xcb_generic_iterator_t
01734 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i );
01735
01745
01746
01747
01748
01749
01750
01751
01752
01753
01754 void
01755 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i );
01756
01767
01768
01769
01770
01771
01772
01773
01774
01775
01776 xcb_generic_iterator_t
01777 xcb_render_linefix_end (xcb_render_linefix_iterator_t i );
01778
01788
01789
01790
01791
01792
01793
01794
01795
01796
01797 void
01798 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i );
01799
01810
01811
01812
01813
01814
01815
01816
01817
01818
01819 xcb_generic_iterator_t
01820 xcb_render_triangle_end (xcb_render_triangle_iterator_t i );
01821
01831
01832
01833
01834
01835
01836
01837
01838
01839
01840 void
01841 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i );
01842
01853
01854
01855
01856
01857
01858
01859
01860
01861
01862 xcb_generic_iterator_t
01863 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i );
01864
01874
01875
01876
01877
01878
01879
01880
01881
01882
01883 void
01884 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i );
01885
01896
01897
01898
01899
01900
01901
01902
01903
01904
01905 xcb_generic_iterator_t
01906 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i );
01907
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927
01928 xcb_render_query_version_cookie_t
01929 xcb_render_query_version (xcb_connection_t *c ,
01930 uint32_t client_major_version ,
01931 uint32_t client_minor_version );
01932
01945
01946
01947
01948
01949
01950
01951
01952
01953
01954
01955
01956 xcb_render_query_version_cookie_t
01957 xcb_render_query_version_unchecked (xcb_connection_t *c ,
01958 uint32_t client_major_version ,
01959 uint32_t client_minor_version );
01960
01976
01977
01978
01979
01980
01981
01982
01983
01984
01985
01986
01987 xcb_render_query_version_reply_t *
01988 xcb_render_query_version_reply (xcb_connection_t *c ,
01989 xcb_render_query_version_cookie_t cookie ,
01990 xcb_generic_error_t **e );
01991
02001
02002
02003
02004
02005
02006
02007
02008
02009
02010 xcb_render_query_pict_formats_cookie_t
02011 xcb_render_query_pict_formats (xcb_connection_t *c );
02012
02025
02026
02027
02028
02029
02030
02031
02032
02033
02034 xcb_render_query_pict_formats_cookie_t
02035 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
02036
02037
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047 xcb_render_pictforminfo_t *
02048 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060 int
02061 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
02062
02063
02064
02065
02066
02067
02068
02069
02070
02071
02072
02073 xcb_render_pictforminfo_iterator_t
02074 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
02075
02076
02077
02078
02079
02080
02081
02082
02083
02084
02085
02086 int
02087 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099 xcb_render_pictscreen_iterator_t
02100 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
02101
02102
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112 uint32_t *
02113 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
02114
02115
02116
02117
02118
02119
02120
02121
02122
02123
02124
02125 int
02126 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138 xcb_generic_iterator_t
02139 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
02140
02156
02157
02158
02159
02160
02161
02162
02163
02164
02165
02166
02167 xcb_render_query_pict_formats_reply_t *
02168 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
02169 xcb_render_query_pict_formats_cookie_t cookie ,
02170 xcb_generic_error_t **e );
02171
02181
02182
02183
02184
02185
02186
02187
02188
02189
02190
02191 xcb_render_query_pict_index_values_cookie_t
02192 xcb_render_query_pict_index_values (xcb_connection_t *c ,
02193 xcb_render_pictformat_t format );
02194
02207
02208
02209
02210
02211
02212
02213
02214
02215
02216
02217 xcb_render_query_pict_index_values_cookie_t
02218 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
02219 xcb_render_pictformat_t format );
02220
02221
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231 xcb_render_indexvalue_t *
02232 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
02233
02234
02235
02236
02237
02238
02239
02240
02241
02242
02243
02244 int
02245 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
02246
02247
02248
02249
02250
02251
02252
02253
02254
02255
02256
02257 xcb_render_indexvalue_iterator_t
02258 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
02259
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285
02286 xcb_render_query_pict_index_values_reply_t *
02287 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
02288 xcb_render_query_pict_index_values_cookie_t cookie ,
02289 xcb_generic_error_t **e );
02290
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312
02313
02314
02315
02316
02317 xcb_void_cookie_t
02318 xcb_render_create_picture_checked (xcb_connection_t *c ,
02319 xcb_render_picture_t pid ,
02320 xcb_drawable_t drawable ,
02321 xcb_render_pictformat_t format ,
02322 uint32_t value_mask ,
02323 const uint32_t *value_list );
02324
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345
02346
02347
02348 xcb_void_cookie_t
02349 xcb_render_create_picture (xcb_connection_t *c ,
02350 xcb_render_picture_t pid ,
02351 xcb_drawable_t drawable ,
02352 xcb_render_pictformat_t format ,
02353 uint32_t value_mask ,
02354 const uint32_t *value_list );
02355
02368
02369
02370
02371
02372
02373
02374
02375
02376
02377
02378
02379
02380 xcb_void_cookie_t
02381 xcb_render_change_picture_checked (xcb_connection_t *c ,
02382 xcb_render_picture_t picture ,
02383 uint32_t value_mask ,
02384 const uint32_t *value_list );
02385
02395
02396
02397
02398
02399
02400
02401
02402
02403
02404
02405
02406
02407 xcb_void_cookie_t
02408 xcb_render_change_picture (xcb_connection_t *c ,
02409 xcb_render_picture_t picture ,
02410 uint32_t value_mask ,
02411 const uint32_t *value_list );
02412
02425
02426
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439 xcb_void_cookie_t
02440 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
02441 xcb_render_picture_t picture ,
02442 int16_t clip_x_origin ,
02443 int16_t clip_y_origin ,
02444 uint32_t rectangles_len ,
02445 const xcb_rectangle_t *rectangles );
02446
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466
02467
02468
02469
02470 xcb_void_cookie_t
02471 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02472 xcb_render_picture_t picture ,
02473 int16_t clip_x_origin ,
02474 int16_t clip_y_origin ,
02475 uint32_t rectangles_len ,
02476 const xcb_rectangle_t *rectangles );
02477
02490
02491
02492
02493
02494
02495
02496
02497
02498
02499
02500 xcb_void_cookie_t
02501 xcb_render_free_picture_checked (xcb_connection_t *c ,
02502 xcb_render_picture_t picture );
02503
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522
02523 xcb_void_cookie_t
02524 xcb_render_free_picture (xcb_connection_t *c ,
02525 xcb_render_picture_t picture );
02526
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553
02554
02555
02556
02557
02558
02559
02560 xcb_void_cookie_t
02561 xcb_render_composite_checked (xcb_connection_t *c ,
02562 uint8_t op ,
02563 xcb_render_picture_t src ,
02564 xcb_render_picture_t mask ,
02565 xcb_render_picture_t dst ,
02566 int16_t src_x ,
02567 int16_t src_y ,
02568 int16_t mask_x ,
02569 int16_t mask_y ,
02570 int16_t dst_x ,
02571 int16_t dst_y ,
02572 uint16_t width ,
02573 uint16_t height );
02574
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604
02605 xcb_void_cookie_t
02606 xcb_render_composite (xcb_connection_t *c ,
02607 uint8_t op ,
02608 xcb_render_picture_t src ,
02609 xcb_render_picture_t mask ,
02610 xcb_render_picture_t dst ,
02611 int16_t src_x ,
02612 int16_t src_y ,
02613 int16_t mask_x ,
02614 int16_t mask_y ,
02615 int16_t dst_x ,
02616 int16_t dst_y ,
02617 uint16_t width ,
02618 uint16_t height );
02619
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641
02642
02643
02644
02645
02646
02647
02648
02649 xcb_void_cookie_t
02650 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02651 uint8_t op ,
02652 xcb_render_picture_t src ,
02653 xcb_render_picture_t dst ,
02654 xcb_render_pictformat_t mask_format ,
02655 int16_t src_x ,
02656 int16_t src_y ,
02657 uint32_t traps_len ,
02658 const xcb_render_trapezoid_t *traps );
02659
02669
02670
02671
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681
02682
02683
02684
02685
02686 xcb_void_cookie_t
02687 xcb_render_trapezoids (xcb_connection_t *c ,
02688 uint8_t op ,
02689 xcb_render_picture_t src ,
02690 xcb_render_picture_t dst ,
02691 xcb_render_pictformat_t mask_format ,
02692 int16_t src_x ,
02693 int16_t src_y ,
02694 uint32_t traps_len ,
02695 const xcb_render_trapezoid_t *traps );
02696
02709
02710
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720
02721
02722
02723
02724
02725
02726 xcb_void_cookie_t
02727 xcb_render_triangles_checked (xcb_connection_t *c ,
02728 uint8_t op ,
02729 xcb_render_picture_t src ,
02730 xcb_render_picture_t dst ,
02731 xcb_render_pictformat_t mask_format ,
02732 int16_t src_x ,
02733 int16_t src_y ,
02734 uint32_t triangles_len ,
02735 const xcb_render_triangle_t *triangles );
02736
02746
02747
02748
02749
02750
02751
02752
02753
02754
02755
02756
02757
02758
02759
02760
02761
02762
02763 xcb_void_cookie_t
02764 xcb_render_triangles (xcb_connection_t *c ,
02765 uint8_t op ,
02766 xcb_render_picture_t src ,
02767 xcb_render_picture_t dst ,
02768 xcb_render_pictformat_t mask_format ,
02769 int16_t src_x ,
02770 int16_t src_y ,
02771 uint32_t triangles_len ,
02772 const xcb_render_triangle_t *triangles );
02773
02786
02787
02788
02789
02790
02791
02792
02793
02794
02795
02796
02797
02798
02799
02800
02801
02802
02803 xcb_void_cookie_t
02804 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02805 uint8_t op ,
02806 xcb_render_picture_t src ,
02807 xcb_render_picture_t dst ,
02808 xcb_render_pictformat_t mask_format ,
02809 int16_t src_x ,
02810 int16_t src_y ,
02811 uint32_t points_len ,
02812 const xcb_render_pointfix_t *points );
02813
02823
02824
02825
02826
02827
02828
02829
02830
02831
02832
02833
02834
02835
02836
02837
02838
02839
02840 xcb_void_cookie_t
02841 xcb_render_tri_strip (xcb_connection_t *c ,
02842 uint8_t op ,
02843 xcb_render_picture_t src ,
02844 xcb_render_picture_t dst ,
02845 xcb_render_pictformat_t mask_format ,
02846 int16_t src_x ,
02847 int16_t src_y ,
02848 uint32_t points_len ,
02849 const xcb_render_pointfix_t *points );
02850
02863
02864
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875
02876
02877
02878
02879
02880 xcb_void_cookie_t
02881 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02882 uint8_t op ,
02883 xcb_render_picture_t src ,
02884 xcb_render_picture_t dst ,
02885 xcb_render_pictformat_t mask_format ,
02886 int16_t src_x ,
02887 int16_t src_y ,
02888 uint32_t points_len ,
02889 const xcb_render_pointfix_t *points );
02890
02900
02901
02902
02903
02904
02905
02906
02907
02908
02909
02910
02911
02912
02913
02914
02915
02916
02917 xcb_void_cookie_t
02918 xcb_render_tri_fan (xcb_connection_t *c ,
02919 uint8_t op ,
02920 xcb_render_picture_t src ,
02921 xcb_render_picture_t dst ,
02922 xcb_render_pictformat_t mask_format ,
02923 int16_t src_x ,
02924 int16_t src_y ,
02925 uint32_t points_len ,
02926 const xcb_render_pointfix_t *points );
02927
02940
02941
02942
02943
02944
02945
02946
02947
02948
02949
02950
02951 xcb_void_cookie_t
02952 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02953 xcb_render_glyphset_t gsid ,
02954 xcb_render_pictformat_t format );
02955
02965
02966
02967
02968
02969
02970
02971
02972
02973
02974
02975
02976 xcb_void_cookie_t
02977 xcb_render_create_glyph_set (xcb_connection_t *c ,
02978 xcb_render_glyphset_t gsid ,
02979 xcb_render_pictformat_t format );
02980
02993
02994
02995
02996
02997
02998
02999
03000
03001
03002
03003
03004 xcb_void_cookie_t
03005 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
03006 xcb_render_glyphset_t gsid ,
03007 xcb_render_glyphset_t existing );
03008
03018
03019
03020
03021
03022
03023
03024
03025
03026
03027
03028
03029 xcb_void_cookie_t
03030 xcb_render_reference_glyph_set (xcb_connection_t *c ,
03031 xcb_render_glyphset_t gsid ,
03032 xcb_render_glyphset_t existing );
03033
03046
03047
03048
03049
03050
03051
03052
03053
03054
03055
03056 xcb_void_cookie_t
03057 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
03058 xcb_render_glyphset_t glyphset );
03059
03069
03070
03071
03072
03073
03074
03075
03076
03077
03078
03079 xcb_void_cookie_t
03080 xcb_render_free_glyph_set (xcb_connection_t *c ,
03081 xcb_render_glyphset_t glyphset );
03082
03095
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105
03106
03107
03108
03109
03110 xcb_void_cookie_t
03111 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
03112 xcb_render_glyphset_t glyphset ,
03113 uint32_t glyphs_len ,
03114 const uint32_t *glyphids ,
03115 const xcb_render_glyphinfo_t *glyphs ,
03116 uint32_t data_len ,
03117 const uint8_t *data );
03118
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138
03139
03140
03141
03142
03143 xcb_void_cookie_t
03144 xcb_render_add_glyphs (xcb_connection_t *c ,
03145 xcb_render_glyphset_t glyphset ,
03146 uint32_t glyphs_len ,
03147 const uint32_t *glyphids ,
03148 const xcb_render_glyphinfo_t *glyphs ,
03149 uint32_t data_len ,
03150 const uint8_t *data );
03151
03164
03165
03166
03167
03168
03169
03170
03171
03172
03173
03174
03175
03176 xcb_void_cookie_t
03177 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
03178 xcb_render_glyphset_t glyphset ,
03179 uint32_t glyphs_len ,
03180 const xcb_render_glyph_t *glyphs );
03181
03191
03192
03193
03194
03195
03196
03197
03198
03199
03200
03201
03202
03203 xcb_void_cookie_t
03204 xcb_render_free_glyphs (xcb_connection_t *c ,
03205 xcb_render_glyphset_t glyphset ,
03206 uint32_t glyphs_len ,
03207 const xcb_render_glyph_t *glyphs );
03208
03221
03222
03223
03224
03225
03226
03227
03228
03229
03230
03231
03232
03233
03234
03235
03236
03237
03238
03239 xcb_void_cookie_t
03240 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
03241 uint8_t op ,
03242 xcb_render_picture_t src ,
03243 xcb_render_picture_t dst ,
03244 xcb_render_pictformat_t mask_format ,
03245 xcb_render_glyphset_t glyphset ,
03246 int16_t src_x ,
03247 int16_t src_y ,
03248 uint32_t glyphcmds_len ,
03249 const uint8_t *glyphcmds );
03250
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269
03270
03271
03272
03273
03274
03275
03276
03277
03278 xcb_void_cookie_t
03279 xcb_render_composite_glyphs_8 (xcb_connection_t *c ,
03280 uint8_t op ,
03281 xcb_render_picture_t src ,
03282 xcb_render_picture_t dst ,
03283 xcb_render_pictformat_t mask_format ,
03284 xcb_render_glyphset_t glyphset ,
03285 int16_t src_x ,
03286 int16_t src_y ,
03287 uint32_t glyphcmds_len ,
03288 const uint8_t *glyphcmds );
03289
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315
03316
03317
03318
03319
03320 xcb_void_cookie_t
03321 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
03322 uint8_t op ,
03323 xcb_render_picture_t src ,
03324 xcb_render_picture_t dst ,
03325 xcb_render_pictformat_t mask_format ,
03326 xcb_render_glyphset_t glyphset ,
03327 int16_t src_x ,
03328 int16_t src_y ,
03329 uint32_t glyphcmds_len ,
03330 const uint8_t *glyphcmds );
03331
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351
03352
03353
03354
03355
03356
03357
03358
03359 xcb_void_cookie_t
03360 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
03361 uint8_t op ,
03362 xcb_render_picture_t src ,
03363 xcb_render_picture_t dst ,
03364 xcb_render_pictformat_t mask_format ,
03365 xcb_render_glyphset_t glyphset ,
03366 int16_t src_x ,
03367 int16_t src_y ,
03368 uint32_t glyphcmds_len ,
03369 const uint8_t *glyphcmds );
03370
03383
03384
03385
03386
03387
03388
03389
03390
03391
03392
03393
03394
03395
03396
03397
03398
03399
03400
03401 xcb_void_cookie_t
03402 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
03403 uint8_t op ,
03404 xcb_render_picture_t src ,
03405 xcb_render_picture_t dst ,
03406 xcb_render_pictformat_t mask_format ,
03407 xcb_render_glyphset_t glyphset ,
03408 int16_t src_x ,
03409 int16_t src_y ,
03410 uint32_t glyphcmds_len ,
03411 const uint8_t *glyphcmds );
03412
03422
03423
03424
03425
03426
03427
03428
03429
03430
03431
03432
03433
03434
03435
03436
03437
03438
03439
03440 xcb_void_cookie_t
03441 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
03442 uint8_t op ,
03443 xcb_render_picture_t src ,
03444 xcb_render_picture_t dst ,
03445 xcb_render_pictformat_t mask_format ,
03446 xcb_render_glyphset_t glyphset ,
03447 int16_t src_x ,
03448 int16_t src_y ,
03449 uint32_t glyphcmds_len ,
03450 const uint8_t *glyphcmds );
03451
03464
03465
03466
03467
03468
03469
03470
03471
03472
03473
03474
03475
03476
03477
03478 xcb_void_cookie_t
03479 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
03480 uint8_t op ,
03481 xcb_render_picture_t dst ,
03482 xcb_render_color_t color ,
03483 uint32_t rects_len ,
03484 const xcb_rectangle_t *rects );
03485
03495
03496
03497
03498
03499
03500
03501
03502
03503
03504
03505
03506
03507
03508
03509 xcb_void_cookie_t
03510 xcb_render_fill_rectangles (xcb_connection_t *c ,
03511 uint8_t op ,
03512 xcb_render_picture_t dst ,
03513 xcb_render_color_t color ,
03514 uint32_t rects_len ,
03515 const xcb_rectangle_t *rects );
03516
03529
03530
03531
03532
03533
03534
03535
03536
03537
03538
03539
03540
03541
03542 xcb_void_cookie_t
03543 xcb_render_create_cursor_checked (xcb_connection_t *c ,
03544 xcb_cursor_t cid ,
03545 xcb_render_picture_t source ,
03546 uint16_t x ,
03547 uint16_t y );
03548
03558
03559
03560
03561
03562
03563
03564
03565
03566
03567
03568
03569
03570
03571 xcb_void_cookie_t
03572 xcb_render_create_cursor (xcb_connection_t *c ,
03573 xcb_cursor_t cid ,
03574 xcb_render_picture_t source ,
03575 uint16_t x ,
03576 uint16_t y );
03577
03587
03588
03589
03590
03591
03592
03593
03594
03595
03596 void
03597 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
03598
03609
03610
03611
03612
03613
03614
03615
03616
03617
03618 xcb_generic_iterator_t
03619 xcb_render_transform_end (xcb_render_transform_iterator_t i );
03620
03633
03634
03635
03636
03637
03638
03639
03640
03641
03642
03643
03644 xcb_void_cookie_t
03645 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
03646 xcb_render_picture_t picture ,
03647 xcb_render_transform_t transform );
03648
03658
03659
03660
03661
03662
03663
03664
03665
03666
03667
03668
03669 xcb_void_cookie_t
03670 xcb_render_set_picture_transform (xcb_connection_t *c ,
03671 xcb_render_picture_t picture ,
03672 xcb_render_transform_t transform );
03673
03683
03684
03685
03686
03687
03688
03689
03690
03691
03692
03693 xcb_render_query_filters_cookie_t
03694 xcb_render_query_filters (xcb_connection_t *c ,
03695 xcb_drawable_t drawable );
03696
03709
03710
03711
03712
03713
03714
03715
03716
03717
03718
03719 xcb_render_query_filters_cookie_t
03720 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
03721 xcb_drawable_t drawable );
03722
03723
03724
03725
03726
03727
03728
03729
03730
03731
03732
03733 uint16_t *
03734 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
03735
03736
03737
03738
03739
03740
03741
03742
03743
03744
03745
03746 int
03747 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
03748
03749
03750
03751
03752
03753
03754
03755
03756
03757
03758
03759 xcb_generic_iterator_t
03760 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
03761
03762
03763
03764
03765
03766
03767
03768
03769
03770
03771
03772 int
03773 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
03774
03775
03776
03777
03778
03779
03780
03781
03782
03783
03784
03785 xcb_str_iterator_t
03786 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
03787
03803
03804
03805
03806
03807
03808
03809
03810
03811
03812
03813
03814 xcb_render_query_filters_reply_t *
03815 xcb_render_query_filters_reply (xcb_connection_t *c ,
03816 xcb_render_query_filters_cookie_t cookie ,
03817 xcb_generic_error_t **e );
03818
03831
03832
03833
03834
03835
03836
03837
03838
03839
03840
03841
03842
03843
03844
03845 xcb_void_cookie_t
03846 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03847 xcb_render_picture_t picture ,
03848 uint16_t filter_len ,
03849 const char *filter ,
03850 uint32_t values_len ,
03851 const xcb_render_fixed_t *values );
03852
03862
03863
03864
03865
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875
03876 xcb_void_cookie_t
03877 xcb_render_set_picture_filter (xcb_connection_t *c ,
03878 xcb_render_picture_t picture ,
03879 uint16_t filter_len ,
03880 const char *filter ,
03881 uint32_t values_len ,
03882 const xcb_render_fixed_t *values );
03883
03893
03894
03895
03896
03897
03898
03899
03900
03901
03902 void
03903 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03904
03915
03916
03917
03918
03919
03920
03921
03922
03923
03924 xcb_generic_iterator_t
03925 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03926
03939
03940
03941
03942
03943
03944
03945
03946
03947
03948
03949
03950
03951 xcb_void_cookie_t
03952 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03953 xcb_cursor_t cid ,
03954 uint32_t cursors_len ,
03955 const xcb_render_animcursorelt_t *cursors );
03956
03966
03967
03968
03969
03970
03971
03972
03973
03974
03975
03976
03977
03978 xcb_void_cookie_t
03979 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03980 xcb_cursor_t cid ,
03981 uint32_t cursors_len ,
03982 const xcb_render_animcursorelt_t *cursors );
03983
03993
03994
03995
03996
03997
03998
03999
04000
04001
04002 void
04003 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
04004
04015
04016
04017
04018
04019
04020
04021
04022
04023
04024 xcb_generic_iterator_t
04025 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
04026
04036
04037
04038
04039
04040
04041
04042
04043
04044
04045 void
04046 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
04047
04058
04059
04060
04061
04062
04063
04064
04065
04066
04067 xcb_generic_iterator_t
04068 xcb_render_trap_end (xcb_render_trap_iterator_t i );
04069
04082
04083
04084
04085
04086
04087
04088
04089
04090
04091
04092
04093
04094
04095
04096 xcb_void_cookie_t
04097 xcb_render_add_traps_checked (xcb_connection_t *c ,
04098 xcb_render_picture_t picture ,
04099 int16_t x_off ,
04100 int16_t y_off ,
04101 uint32_t traps_len ,
04102 const xcb_render_trap_t *traps );
04103
04113
04114
04115
04116
04117
04118
04119
04120
04121
04122
04123
04124
04125
04126
04127 xcb_void_cookie_t
04128 xcb_render_add_traps (xcb_connection_t *c ,
04129 xcb_render_picture_t picture ,
04130 int16_t x_off ,
04131 int16_t y_off ,
04132 uint32_t traps_len ,
04133 const xcb_render_trap_t *traps );
04134
04147
04148
04149
04150
04151
04152
04153
04154
04155
04156
04157
04158 xcb_void_cookie_t
04159 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
04160 xcb_render_picture_t picture ,
04161 xcb_render_color_t color );
04162
04172
04173
04174
04175
04176
04177
04178
04179
04180
04181
04182
04183 xcb_void_cookie_t
04184 xcb_render_create_solid_fill (xcb_connection_t *c ,
04185 xcb_render_picture_t picture ,
04186 xcb_render_color_t color );
04187
04200
04201
04202
04203
04204
04205
04206
04207
04208
04209
04210
04211
04212
04213
04214
04215 xcb_void_cookie_t
04216 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
04217 xcb_render_picture_t picture ,
04218 xcb_render_pointfix_t p1 ,
04219 xcb_render_pointfix_t p2 ,
04220 uint32_t num_stops ,
04221 const xcb_render_fixed_t *stops ,
04222 const xcb_render_color_t *colors );
04223
04233
04234
04235
04236
04237
04238
04239
04240
04241
04242
04243
04244
04245
04246
04247
04248 xcb_void_cookie_t
04249 xcb_render_create_linear_gradient (xcb_connection_t *c ,
04250 xcb_render_picture_t picture ,
04251 xcb_render_pointfix_t p1 ,
04252 xcb_render_pointfix_t p2 ,
04253 uint32_t num_stops ,
04254 const xcb_render_fixed_t *stops ,
04255 const xcb_render_color_t *colors );
04256
04269
04270
04271
04272
04273
04274
04275
04276
04277
04278
04279
04280
04281
04282
04283
04284
04285
04286 xcb_void_cookie_t
04287 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
04288 xcb_render_picture_t picture ,
04289 xcb_render_pointfix_t inner ,
04290 xcb_render_pointfix_t outer ,
04291 xcb_render_fixed_t inner_radius ,
04292 xcb_render_fixed_t outer_radius ,
04293 uint32_t num_stops ,
04294 const xcb_render_fixed_t *stops ,
04295 const xcb_render_color_t *colors );
04296
04306
04307
04308
04309
04310
04311
04312
04313
04314
04315
04316
04317
04318
04319
04320
04321
04322
04323 xcb_void_cookie_t
04324 xcb_render_create_radial_gradient (xcb_connection_t *c ,
04325 xcb_render_picture_t picture ,
04326 xcb_render_pointfix_t inner ,
04327 xcb_render_pointfix_t outer ,
04328 xcb_render_fixed_t inner_radius ,
04329 xcb_render_fixed_t outer_radius ,
04330 uint32_t num_stops ,
04331 const xcb_render_fixed_t *stops ,
04332 const xcb_render_color_t *colors );
04333
04346
04347
04348
04349
04350
04351
04352
04353
04354
04355
04356
04357
04358
04359
04360
04361 xcb_void_cookie_t
04362 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
04363 xcb_render_picture_t picture ,
04364 xcb_render_pointfix_t center ,
04365 xcb_render_fixed_t angle ,
04366 uint32_t num_stops ,
04367 const xcb_render_fixed_t *stops ,
04368 const xcb_render_color_t *colors );
04369
04379
04380
04381
04382
04383
04384
04385
04386
04387
04388
04389
04390
04391
04392
04393
04394 xcb_void_cookie_t
04395 xcb_render_create_conical_gradient (xcb_connection_t *c ,
04396 xcb_render_picture_t picture ,
04397 xcb_render_pointfix_t center ,
04398 xcb_render_fixed_t angle ,
04399 uint32_t num_stops ,
04400 const xcb_render_fixed_t *stops ,
04401 const xcb_render_color_t *colors );
04402
04403
04404 #ifdef __cplusplus
04405 }
04406 #endif
04407
04408 #endif
04409