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_pict_op_t {
00033 XCB_RENDER_PICT_OP_CLEAR,
00034 XCB_RENDER_PICT_OP_SRC,
00035 XCB_RENDER_PICT_OP_DST,
00036 XCB_RENDER_PICT_OP_OVER,
00037 XCB_RENDER_PICT_OP_OVER_REVERSE,
00038 XCB_RENDER_PICT_OP_IN,
00039 XCB_RENDER_PICT_OP_IN_REVERSE,
00040 XCB_RENDER_PICT_OP_OUT,
00041 XCB_RENDER_PICT_OP_OUT_REVERSE,
00042 XCB_RENDER_PICT_OP_ATOP,
00043 XCB_RENDER_PICT_OP_ATOP_REVERSE,
00044 XCB_RENDER_PICT_OP_XOR,
00045 XCB_RENDER_PICT_OP_ADD,
00046 XCB_RENDER_PICT_OP_SATURATE,
00047 XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 0x10,
00048 XCB_RENDER_PICT_OP_DISJOINT_SRC,
00049 XCB_RENDER_PICT_OP_DISJOINT_DST,
00050 XCB_RENDER_PICT_OP_DISJOINT_OVER,
00051 XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE,
00052 XCB_RENDER_PICT_OP_DISJOINT_IN,
00053 XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE,
00054 XCB_RENDER_PICT_OP_DISJOINT_OUT,
00055 XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE,
00056 XCB_RENDER_PICT_OP_DISJOINT_ATOP,
00057 XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE,
00058 XCB_RENDER_PICT_OP_DISJOINT_XOR,
00059 XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 0x20,
00060 XCB_RENDER_PICT_OP_CONJOINT_SRC,
00061 XCB_RENDER_PICT_OP_CONJOINT_DST,
00062 XCB_RENDER_PICT_OP_CONJOINT_OVER,
00063 XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE,
00064 XCB_RENDER_PICT_OP_CONJOINT_IN,
00065 XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE,
00066 XCB_RENDER_PICT_OP_CONJOINT_OUT,
00067 XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE,
00068 XCB_RENDER_PICT_OP_CONJOINT_ATOP,
00069 XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE,
00070 XCB_RENDER_PICT_OP_CONJOINT_XOR
00071 } xcb_render_pict_op_t;
00072
00073 typedef enum xcb_render_poly_edge_t {
00074 XCB_RENDER_POLY_EDGE_SHARP,
00075 XCB_RENDER_POLY_EDGE_SMOOTH
00076 } xcb_render_poly_edge_t;
00077
00078 typedef enum xcb_render_poly_mode_t {
00079 XCB_RENDER_POLY_MODE_PRECISE,
00080 XCB_RENDER_POLY_MODE_IMPRECISE
00081 } xcb_render_poly_mode_t;
00082
00083 typedef enum xcb_render_cp_t {
00084 XCB_RENDER_CP_REPEAT = (1 << 0),
00085 XCB_RENDER_CP_ALPHA_MAP = (1 << 1),
00086 XCB_RENDER_CP_ALPHA_X_ORIGIN = (1 << 2),
00087 XCB_RENDER_CP_ALPHA_Y_ORIGIN = (1 << 3),
00088 XCB_RENDER_CP_CLIP_X_ORIGIN = (1 << 4),
00089 XCB_RENDER_CP_CLIP_Y_ORIGIN = (1 << 5),
00090 XCB_RENDER_CP_CLIP_MASK = (1 << 6),
00091 XCB_RENDER_CP_GRAPHICS_EXPOSURE = (1 << 7),
00092 XCB_RENDER_CP_SUBWINDOW_MODE = (1 << 8),
00093 XCB_RENDER_CP_POLY_EDGE = (1 << 9),
00094 XCB_RENDER_CP_POLY_MODE = (1 << 10),
00095 XCB_RENDER_CP_DITHER = (1 << 11),
00096 XCB_RENDER_CP_COMPONENT_ALPHA = (1 << 12)
00097 } xcb_render_cp_t;
00098
00099 typedef enum xcb_render_sub_pixel_t {
00100 XCB_RENDER_SUB_PIXEL_UNKNOWN,
00101 XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB,
00102 XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR,
00103 XCB_RENDER_SUB_PIXEL_VERTICAL_RGB,
00104 XCB_RENDER_SUB_PIXEL_VERTICAL_BGR,
00105 XCB_RENDER_SUB_PIXEL_NONE
00106 } xcb_render_sub_pixel_t;
00107
00108 typedef enum xcb_render_repeat_t {
00109 XCB_RENDER_REPEAT_NONE,
00110 XCB_RENDER_REPEAT_NORMAL,
00111 XCB_RENDER_REPEAT_PAD,
00112 XCB_RENDER_REPEAT_REFLECT
00113 } xcb_render_repeat_t;
00114
00115 typedef uint32_t xcb_render_glyph_t;
00116
00120 typedef struct xcb_render_glyph_iterator_t {
00121 xcb_render_glyph_t *data;
00122 int rem;
00123 int index;
00124 } xcb_render_glyph_iterator_t;
00125
00126 typedef uint32_t xcb_render_glyphset_t;
00127
00131 typedef struct xcb_render_glyphset_iterator_t {
00132 xcb_render_glyphset_t *data;
00133 int rem;
00134 int index;
00135 } xcb_render_glyphset_iterator_t;
00136
00137 typedef uint32_t xcb_render_picture_t;
00138
00142 typedef struct xcb_render_picture_iterator_t {
00143 xcb_render_picture_t *data;
00144 int rem;
00145 int index;
00146 } xcb_render_picture_iterator_t;
00147
00148 typedef uint32_t xcb_render_pictformat_t;
00149
00153 typedef struct xcb_render_pictformat_iterator_t {
00154 xcb_render_pictformat_t *data;
00155 int rem;
00156 int index;
00157 } xcb_render_pictformat_iterator_t;
00158
00159 typedef int32_t xcb_render_fixed_t;
00160
00164 typedef struct xcb_render_fixed_iterator_t {
00165 xcb_render_fixed_t *data;
00166 int rem;
00167 int index;
00168 } xcb_render_fixed_iterator_t;
00169
00171 #define XCB_RENDER_PICT_FORMAT 0
00172
00176 typedef struct xcb_render_pict_format_error_t {
00177 uint8_t response_type;
00178 uint8_t error_code;
00179 uint16_t sequence;
00180 } xcb_render_pict_format_error_t;
00181
00183 #define XCB_RENDER_PICTURE 1
00184
00188 typedef struct xcb_render_picture_error_t {
00189 uint8_t response_type;
00190 uint8_t error_code;
00191 uint16_t sequence;
00192 } xcb_render_picture_error_t;
00193
00195 #define XCB_RENDER_PICT_OP 2
00196
00200 typedef struct xcb_render_pict_op_error_t {
00201 uint8_t response_type;
00202 uint8_t error_code;
00203 uint16_t sequence;
00204 } xcb_render_pict_op_error_t;
00205
00207 #define XCB_RENDER_GLYPH_SET 3
00208
00212 typedef struct xcb_render_glyph_set_error_t {
00213 uint8_t response_type;
00214 uint8_t error_code;
00215 uint16_t sequence;
00216 } xcb_render_glyph_set_error_t;
00217
00219 #define XCB_RENDER_GLYPH 4
00220
00224 typedef struct xcb_render_glyph_error_t {
00225 uint8_t response_type;
00226 uint8_t error_code;
00227 uint16_t sequence;
00228 } xcb_render_glyph_error_t;
00229
00233 typedef struct xcb_render_directformat_t {
00234 uint16_t red_shift;
00235 uint16_t red_mask;
00236 uint16_t green_shift;
00237 uint16_t green_mask;
00238 uint16_t blue_shift;
00239 uint16_t blue_mask;
00240 uint16_t alpha_shift;
00241 uint16_t alpha_mask;
00242 } xcb_render_directformat_t;
00243
00247 typedef struct xcb_render_directformat_iterator_t {
00248 xcb_render_directformat_t *data;
00249 int rem;
00250 int index;
00251 } xcb_render_directformat_iterator_t;
00252
00256 typedef struct xcb_render_pictforminfo_t {
00257 xcb_render_pictformat_t id;
00258 uint8_t type;
00259 uint8_t depth;
00260 uint8_t pad0[2];
00261 xcb_render_directformat_t direct;
00262 xcb_colormap_t colormap;
00263 } xcb_render_pictforminfo_t;
00264
00268 typedef struct xcb_render_pictforminfo_iterator_t {
00269 xcb_render_pictforminfo_t *data;
00270 int rem;
00271 int index;
00272 } xcb_render_pictforminfo_iterator_t;
00273
00277 typedef struct xcb_render_pictvisual_t {
00278 xcb_visualid_t visual;
00279 xcb_render_pictformat_t format;
00280 } xcb_render_pictvisual_t;
00281
00285 typedef struct xcb_render_pictvisual_iterator_t {
00286 xcb_render_pictvisual_t *data;
00287 int rem;
00288 int index;
00289 } xcb_render_pictvisual_iterator_t;
00290
00294 typedef struct xcb_render_pictdepth_t {
00295 uint8_t depth;
00296 uint8_t pad0;
00297 uint16_t num_visuals;
00298 uint8_t pad1[4];
00299 } xcb_render_pictdepth_t;
00300
00304 typedef struct xcb_render_pictdepth_iterator_t {
00305 xcb_render_pictdepth_t *data;
00306 int rem;
00307 int index;
00308 } xcb_render_pictdepth_iterator_t;
00309
00313 typedef struct xcb_render_pictscreen_t {
00314 uint32_t num_depths;
00315 xcb_render_pictformat_t fallback;
00316 } xcb_render_pictscreen_t;
00317
00321 typedef struct xcb_render_pictscreen_iterator_t {
00322 xcb_render_pictscreen_t *data;
00323 int rem;
00324 int index;
00325 } xcb_render_pictscreen_iterator_t;
00326
00330 typedef struct xcb_render_indexvalue_t {
00331 uint32_t pixel;
00332 uint16_t red;
00333 uint16_t green;
00334 uint16_t blue;
00335 uint16_t alpha;
00336 } xcb_render_indexvalue_t;
00337
00341 typedef struct xcb_render_indexvalue_iterator_t {
00342 xcb_render_indexvalue_t *data;
00343 int rem;
00344 int index;
00345 } xcb_render_indexvalue_iterator_t;
00346
00350 typedef struct xcb_render_color_t {
00351 uint16_t red;
00352 uint16_t green;
00353 uint16_t blue;
00354 uint16_t alpha;
00355 } xcb_render_color_t;
00356
00360 typedef struct xcb_render_color_iterator_t {
00361 xcb_render_color_t *data;
00362 int rem;
00363 int index;
00364 } xcb_render_color_iterator_t;
00365
00369 typedef struct xcb_render_pointfix_t {
00370 xcb_render_fixed_t x;
00371 xcb_render_fixed_t y;
00372 } xcb_render_pointfix_t;
00373
00377 typedef struct xcb_render_pointfix_iterator_t {
00378 xcb_render_pointfix_t *data;
00379 int rem;
00380 int index;
00381 } xcb_render_pointfix_iterator_t;
00382
00386 typedef struct xcb_render_linefix_t {
00387 xcb_render_pointfix_t p1;
00388 xcb_render_pointfix_t p2;
00389 } xcb_render_linefix_t;
00390
00394 typedef struct xcb_render_linefix_iterator_t {
00395 xcb_render_linefix_t *data;
00396 int rem;
00397 int index;
00398 } xcb_render_linefix_iterator_t;
00399
00403 typedef struct xcb_render_triangle_t {
00404 xcb_render_pointfix_t p1;
00405 xcb_render_pointfix_t p2;
00406 xcb_render_pointfix_t p3;
00407 } xcb_render_triangle_t;
00408
00412 typedef struct xcb_render_triangle_iterator_t {
00413 xcb_render_triangle_t *data;
00414 int rem;
00415 int index;
00416 } xcb_render_triangle_iterator_t;
00417
00421 typedef struct xcb_render_trapezoid_t {
00422 xcb_render_fixed_t top;
00423 xcb_render_fixed_t bottom;
00424 xcb_render_linefix_t left;
00425 xcb_render_linefix_t right;
00426 } xcb_render_trapezoid_t;
00427
00431 typedef struct xcb_render_trapezoid_iterator_t {
00432 xcb_render_trapezoid_t *data;
00433 int rem;
00434 int index;
00435 } xcb_render_trapezoid_iterator_t;
00436
00440 typedef struct xcb_render_glyphinfo_t {
00441 uint16_t width;
00442 uint16_t height;
00443 int16_t x;
00444 int16_t y;
00445 int16_t x_off;
00446 int16_t y_off;
00447 } xcb_render_glyphinfo_t;
00448
00452 typedef struct xcb_render_glyphinfo_iterator_t {
00453 xcb_render_glyphinfo_t *data;
00454 int rem;
00455 int index;
00456 } xcb_render_glyphinfo_iterator_t;
00457
00461 typedef struct xcb_render_query_version_cookie_t {
00462 unsigned int sequence;
00463 } xcb_render_query_version_cookie_t;
00464
00466 #define XCB_RENDER_QUERY_VERSION 0
00467
00471 typedef struct xcb_render_query_version_request_t {
00472 uint8_t major_opcode;
00473 uint8_t minor_opcode;
00474 uint16_t length;
00475 uint32_t client_major_version;
00476 uint32_t client_minor_version;
00477 } xcb_render_query_version_request_t;
00478
00482 typedef struct xcb_render_query_version_reply_t {
00483 uint8_t response_type;
00484 uint8_t pad0;
00485 uint16_t sequence;
00486 uint32_t length;
00487 uint32_t major_version;
00488 uint32_t minor_version;
00489 uint8_t pad1[16];
00490 } xcb_render_query_version_reply_t;
00491
00495 typedef struct xcb_render_query_pict_formats_cookie_t {
00496 unsigned int sequence;
00497 } xcb_render_query_pict_formats_cookie_t;
00498
00500 #define XCB_RENDER_QUERY_PICT_FORMATS 1
00501
00505 typedef struct xcb_render_query_pict_formats_request_t {
00506 uint8_t major_opcode;
00507 uint8_t minor_opcode;
00508 uint16_t length;
00509 } xcb_render_query_pict_formats_request_t;
00510
00514 typedef struct xcb_render_query_pict_formats_reply_t {
00515 uint8_t response_type;
00516 uint8_t pad0;
00517 uint16_t sequence;
00518 uint32_t length;
00519 uint32_t num_formats;
00520 uint32_t num_screens;
00521 uint32_t num_depths;
00522 uint32_t num_visuals;
00523 uint32_t num_subpixel;
00524 uint8_t pad1[4];
00525 } xcb_render_query_pict_formats_reply_t;
00526
00530 typedef struct xcb_render_query_pict_index_values_cookie_t {
00531 unsigned int sequence;
00532 } xcb_render_query_pict_index_values_cookie_t;
00533
00535 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
00536
00540 typedef struct xcb_render_query_pict_index_values_request_t {
00541 uint8_t major_opcode;
00542 uint8_t minor_opcode;
00543 uint16_t length;
00544 xcb_render_pictformat_t format;
00545 } xcb_render_query_pict_index_values_request_t;
00546
00550 typedef struct xcb_render_query_pict_index_values_reply_t {
00551 uint8_t response_type;
00552 uint8_t pad0;
00553 uint16_t sequence;
00554 uint32_t length;
00555 uint32_t num_values;
00556 uint8_t pad1[20];
00557 } xcb_render_query_pict_index_values_reply_t;
00558
00560 #define XCB_RENDER_CREATE_PICTURE 4
00561
00565 typedef struct xcb_render_create_picture_request_t {
00566 uint8_t major_opcode;
00567 uint8_t minor_opcode;
00568 uint16_t length;
00569 xcb_render_picture_t pid;
00570 xcb_drawable_t drawable;
00571 xcb_render_pictformat_t format;
00572 uint32_t value_mask;
00573 } xcb_render_create_picture_request_t;
00574
00576 #define XCB_RENDER_CHANGE_PICTURE 5
00577
00581 typedef struct xcb_render_change_picture_request_t {
00582 uint8_t major_opcode;
00583 uint8_t minor_opcode;
00584 uint16_t length;
00585 xcb_render_picture_t picture;
00586 uint32_t value_mask;
00587 } xcb_render_change_picture_request_t;
00588
00590 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
00591
00595 typedef struct xcb_render_set_picture_clip_rectangles_request_t {
00596 uint8_t major_opcode;
00597 uint8_t minor_opcode;
00598 uint16_t length;
00599 xcb_render_picture_t picture;
00600 int16_t clip_x_origin;
00601 int16_t clip_y_origin;
00602 } xcb_render_set_picture_clip_rectangles_request_t;
00603
00605 #define XCB_RENDER_FREE_PICTURE 7
00606
00610 typedef struct xcb_render_free_picture_request_t {
00611 uint8_t major_opcode;
00612 uint8_t minor_opcode;
00613 uint16_t length;
00614 xcb_render_picture_t picture;
00615 } xcb_render_free_picture_request_t;
00616
00618 #define XCB_RENDER_COMPOSITE 8
00619
00623 typedef struct xcb_render_composite_request_t {
00624 uint8_t major_opcode;
00625 uint8_t minor_opcode;
00626 uint16_t length;
00627 uint8_t op;
00628 uint8_t pad0[3];
00629 xcb_render_picture_t src;
00630 xcb_render_picture_t mask;
00631 xcb_render_picture_t dst;
00632 int16_t src_x;
00633 int16_t src_y;
00634 int16_t mask_x;
00635 int16_t mask_y;
00636 int16_t dst_x;
00637 int16_t dst_y;
00638 uint16_t width;
00639 uint16_t height;
00640 } xcb_render_composite_request_t;
00641
00643 #define XCB_RENDER_TRAPEZOIDS 10
00644
00648 typedef struct xcb_render_trapezoids_request_t {
00649 uint8_t major_opcode;
00650 uint8_t minor_opcode;
00651 uint16_t length;
00652 uint8_t op;
00653 uint8_t pad0[3];
00654 xcb_render_picture_t src;
00655 xcb_render_picture_t dst;
00656 xcb_render_pictformat_t mask_format;
00657 int16_t src_x;
00658 int16_t src_y;
00659 } xcb_render_trapezoids_request_t;
00660
00662 #define XCB_RENDER_TRIANGLES 11
00663
00667 typedef struct xcb_render_triangles_request_t {
00668 uint8_t major_opcode;
00669 uint8_t minor_opcode;
00670 uint16_t length;
00671 uint8_t op;
00672 uint8_t pad0[3];
00673 xcb_render_picture_t src;
00674 xcb_render_picture_t dst;
00675 xcb_render_pictformat_t mask_format;
00676 int16_t src_x;
00677 int16_t src_y;
00678 } xcb_render_triangles_request_t;
00679
00681 #define XCB_RENDER_TRI_STRIP 12
00682
00686 typedef struct xcb_render_tri_strip_request_t {
00687 uint8_t major_opcode;
00688 uint8_t minor_opcode;
00689 uint16_t length;
00690 uint8_t op;
00691 uint8_t pad0[3];
00692 xcb_render_picture_t src;
00693 xcb_render_picture_t dst;
00694 xcb_render_pictformat_t mask_format;
00695 int16_t src_x;
00696 int16_t src_y;
00697 } xcb_render_tri_strip_request_t;
00698
00700 #define XCB_RENDER_TRI_FAN 13
00701
00705 typedef struct xcb_render_tri_fan_request_t {
00706 uint8_t major_opcode;
00707 uint8_t minor_opcode;
00708 uint16_t length;
00709 uint8_t op;
00710 uint8_t pad0[3];
00711 xcb_render_picture_t src;
00712 xcb_render_picture_t dst;
00713 xcb_render_pictformat_t mask_format;
00714 int16_t src_x;
00715 int16_t src_y;
00716 } xcb_render_tri_fan_request_t;
00717
00719 #define XCB_RENDER_CREATE_GLYPH_SET 17
00720
00724 typedef struct xcb_render_create_glyph_set_request_t {
00725 uint8_t major_opcode;
00726 uint8_t minor_opcode;
00727 uint16_t length;
00728 xcb_render_glyphset_t gsid;
00729 xcb_render_pictformat_t format;
00730 } xcb_render_create_glyph_set_request_t;
00731
00733 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
00734
00738 typedef struct xcb_render_reference_glyph_set_request_t {
00739 uint8_t major_opcode;
00740 uint8_t minor_opcode;
00741 uint16_t length;
00742 xcb_render_glyphset_t gsid;
00743 xcb_render_glyphset_t existing;
00744 } xcb_render_reference_glyph_set_request_t;
00745
00747 #define XCB_RENDER_FREE_GLYPH_SET 19
00748
00752 typedef struct xcb_render_free_glyph_set_request_t {
00753 uint8_t major_opcode;
00754 uint8_t minor_opcode;
00755 uint16_t length;
00756 xcb_render_glyphset_t glyphset;
00757 } xcb_render_free_glyph_set_request_t;
00758
00760 #define XCB_RENDER_ADD_GLYPHS 20
00761
00765 typedef struct xcb_render_add_glyphs_request_t {
00766 uint8_t major_opcode;
00767 uint8_t minor_opcode;
00768 uint16_t length;
00769 xcb_render_glyphset_t glyphset;
00770 uint32_t glyphs_len;
00771 } xcb_render_add_glyphs_request_t;
00772
00774 #define XCB_RENDER_FREE_GLYPHS 22
00775
00779 typedef struct xcb_render_free_glyphs_request_t {
00780 uint8_t major_opcode;
00781 uint8_t minor_opcode;
00782 uint16_t length;
00783 xcb_render_glyphset_t glyphset;
00784 } xcb_render_free_glyphs_request_t;
00785
00787 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
00788
00792 typedef struct xcb_render_composite_glyphs_8_request_t {
00793 uint8_t major_opcode;
00794 uint8_t minor_opcode;
00795 uint16_t length;
00796 uint8_t op;
00797 uint8_t pad0[3];
00798 xcb_render_picture_t src;
00799 xcb_render_picture_t dst;
00800 xcb_render_pictformat_t mask_format;
00801 xcb_render_glyphset_t glyphset;
00802 int16_t src_x;
00803 int16_t src_y;
00804 } xcb_render_composite_glyphs_8_request_t;
00805
00807 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
00808
00812 typedef struct xcb_render_composite_glyphs_16_request_t {
00813 uint8_t major_opcode;
00814 uint8_t minor_opcode;
00815 uint16_t length;
00816 uint8_t op;
00817 uint8_t pad0[3];
00818 xcb_render_picture_t src;
00819 xcb_render_picture_t dst;
00820 xcb_render_pictformat_t mask_format;
00821 xcb_render_glyphset_t glyphset;
00822 int16_t src_x;
00823 int16_t src_y;
00824 } xcb_render_composite_glyphs_16_request_t;
00825
00827 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
00828
00832 typedef struct xcb_render_composite_glyphs_32_request_t {
00833 uint8_t major_opcode;
00834 uint8_t minor_opcode;
00835 uint16_t length;
00836 uint8_t op;
00837 uint8_t pad0[3];
00838 xcb_render_picture_t src;
00839 xcb_render_picture_t dst;
00840 xcb_render_pictformat_t mask_format;
00841 xcb_render_glyphset_t glyphset;
00842 int16_t src_x;
00843 int16_t src_y;
00844 } xcb_render_composite_glyphs_32_request_t;
00845
00847 #define XCB_RENDER_FILL_RECTANGLES 26
00848
00852 typedef struct xcb_render_fill_rectangles_request_t {
00853 uint8_t major_opcode;
00854 uint8_t minor_opcode;
00855 uint16_t length;
00856 uint8_t op;
00857 uint8_t pad0[3];
00858 xcb_render_picture_t dst;
00859 xcb_render_color_t color;
00860 } xcb_render_fill_rectangles_request_t;
00861
00863 #define XCB_RENDER_CREATE_CURSOR 27
00864
00868 typedef struct xcb_render_create_cursor_request_t {
00869 uint8_t major_opcode;
00870 uint8_t minor_opcode;
00871 uint16_t length;
00872 xcb_cursor_t cid;
00873 xcb_render_picture_t source;
00874 uint16_t x;
00875 uint16_t y;
00876 } xcb_render_create_cursor_request_t;
00877
00881 typedef struct xcb_render_transform_t {
00882 xcb_render_fixed_t matrix11;
00883 xcb_render_fixed_t matrix12;
00884 xcb_render_fixed_t matrix13;
00885 xcb_render_fixed_t matrix21;
00886 xcb_render_fixed_t matrix22;
00887 xcb_render_fixed_t matrix23;
00888 xcb_render_fixed_t matrix31;
00889 xcb_render_fixed_t matrix32;
00890 xcb_render_fixed_t matrix33;
00891 } xcb_render_transform_t;
00892
00896 typedef struct xcb_render_transform_iterator_t {
00897 xcb_render_transform_t *data;
00898 int rem;
00899 int index;
00900 } xcb_render_transform_iterator_t;
00901
00903 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
00904
00908 typedef struct xcb_render_set_picture_transform_request_t {
00909 uint8_t major_opcode;
00910 uint8_t minor_opcode;
00911 uint16_t length;
00912 xcb_render_picture_t picture;
00913 xcb_render_transform_t transform;
00914 } xcb_render_set_picture_transform_request_t;
00915
00919 typedef struct xcb_render_query_filters_cookie_t {
00920 unsigned int sequence;
00921 } xcb_render_query_filters_cookie_t;
00922
00924 #define XCB_RENDER_QUERY_FILTERS 29
00925
00929 typedef struct xcb_render_query_filters_request_t {
00930 uint8_t major_opcode;
00931 uint8_t minor_opcode;
00932 uint16_t length;
00933 xcb_drawable_t drawable;
00934 } xcb_render_query_filters_request_t;
00935
00939 typedef struct xcb_render_query_filters_reply_t {
00940 uint8_t response_type;
00941 uint8_t pad0;
00942 uint16_t sequence;
00943 uint32_t length;
00944 uint32_t num_aliases;
00945 uint32_t num_filters;
00946 uint8_t pad1[16];
00947 } xcb_render_query_filters_reply_t;
00948
00950 #define XCB_RENDER_SET_PICTURE_FILTER 30
00951
00955 typedef struct xcb_render_set_picture_filter_request_t {
00956 uint8_t major_opcode;
00957 uint8_t minor_opcode;
00958 uint16_t length;
00959 xcb_render_picture_t picture;
00960 uint16_t filter_len;
00961 } xcb_render_set_picture_filter_request_t;
00962
00966 typedef struct xcb_render_animcursorelt_t {
00967 xcb_cursor_t cursor;
00968 uint32_t delay;
00969 } xcb_render_animcursorelt_t;
00970
00974 typedef struct xcb_render_animcursorelt_iterator_t {
00975 xcb_render_animcursorelt_t *data;
00976 int rem;
00977 int index;
00978 } xcb_render_animcursorelt_iterator_t;
00979
00981 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
00982
00986 typedef struct xcb_render_create_anim_cursor_request_t {
00987 uint8_t major_opcode;
00988 uint8_t minor_opcode;
00989 uint16_t length;
00990 xcb_cursor_t cid;
00991 } xcb_render_create_anim_cursor_request_t;
00992
00996 typedef struct xcb_render_spanfix_t {
00997 xcb_render_fixed_t l;
00998 xcb_render_fixed_t r;
00999 xcb_render_fixed_t y;
01000 } xcb_render_spanfix_t;
01001
01005 typedef struct xcb_render_spanfix_iterator_t {
01006 xcb_render_spanfix_t *data;
01007 int rem;
01008 int index;
01009 } xcb_render_spanfix_iterator_t;
01010
01014 typedef struct xcb_render_trap_t {
01015 xcb_render_spanfix_t top;
01016 xcb_render_spanfix_t bot;
01017 } xcb_render_trap_t;
01018
01022 typedef struct xcb_render_trap_iterator_t {
01023 xcb_render_trap_t *data;
01024 int rem;
01025 int index;
01026 } xcb_render_trap_iterator_t;
01027
01029 #define XCB_RENDER_ADD_TRAPS 32
01030
01034 typedef struct xcb_render_add_traps_request_t {
01035 uint8_t major_opcode;
01036 uint8_t minor_opcode;
01037 uint16_t length;
01038 xcb_render_picture_t picture;
01039 int16_t x_off;
01040 int16_t y_off;
01041 } xcb_render_add_traps_request_t;
01042
01044 #define XCB_RENDER_CREATE_SOLID_FILL 33
01045
01049 typedef struct xcb_render_create_solid_fill_request_t {
01050 uint8_t major_opcode;
01051 uint8_t minor_opcode;
01052 uint16_t length;
01053 xcb_render_picture_t picture;
01054 xcb_render_color_t color;
01055 } xcb_render_create_solid_fill_request_t;
01056
01058 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
01059
01063 typedef struct xcb_render_create_linear_gradient_request_t {
01064 uint8_t major_opcode;
01065 uint8_t minor_opcode;
01066 uint16_t length;
01067 xcb_render_picture_t picture;
01068 xcb_render_pointfix_t p1;
01069 xcb_render_pointfix_t p2;
01070 uint32_t num_stops;
01071 } xcb_render_create_linear_gradient_request_t;
01072
01074 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
01075
01079 typedef struct xcb_render_create_radial_gradient_request_t {
01080 uint8_t major_opcode;
01081 uint8_t minor_opcode;
01082 uint16_t length;
01083 xcb_render_picture_t picture;
01084 xcb_render_pointfix_t inner;
01085 xcb_render_pointfix_t outer;
01086 xcb_render_fixed_t inner_radius;
01087 xcb_render_fixed_t outer_radius;
01088 uint32_t num_stops;
01089 } xcb_render_create_radial_gradient_request_t;
01090
01092 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
01093
01097 typedef struct xcb_render_create_conical_gradient_request_t {
01098 uint8_t major_opcode;
01099 uint8_t minor_opcode;
01100 uint16_t length;
01101 xcb_render_picture_t picture;
01102 xcb_render_pointfix_t center;
01103 xcb_render_fixed_t angle;
01104 uint32_t num_stops;
01105 } xcb_render_create_conical_gradient_request_t;
01106
01116
01117
01118
01119
01120
01121
01122
01123
01124
01125 void
01126 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i );
01127
01138
01139
01140
01141
01142
01143
01144
01145
01146
01147 xcb_generic_iterator_t
01148 xcb_render_glyph_end (xcb_render_glyph_iterator_t i );
01149
01159
01160
01161
01162
01163
01164
01165
01166
01167
01168 void
01169 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i );
01170
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190 xcb_generic_iterator_t
01191 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i );
01192
01202
01203
01204
01205
01206
01207
01208
01209
01210
01211 void
01212 xcb_render_picture_next (xcb_render_picture_iterator_t *i );
01213
01224
01225
01226
01227
01228
01229
01230
01231
01232
01233 xcb_generic_iterator_t
01234 xcb_render_picture_end (xcb_render_picture_iterator_t i );
01235
01245
01246
01247
01248
01249
01250
01251
01252
01253
01254 void
01255 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i );
01256
01267
01268
01269
01270
01271
01272
01273
01274
01275
01276 xcb_generic_iterator_t
01277 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i );
01278
01288
01289
01290
01291
01292
01293
01294
01295
01296
01297 void
01298 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i );
01299
01310
01311
01312
01313
01314
01315
01316
01317
01318
01319 xcb_generic_iterator_t
01320 xcb_render_fixed_end (xcb_render_fixed_iterator_t i );
01321
01331
01332
01333
01334
01335
01336
01337
01338
01339
01340 void
01341 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i );
01342
01353
01354
01355
01356
01357
01358
01359
01360
01361
01362 xcb_generic_iterator_t
01363 xcb_render_directformat_end (xcb_render_directformat_iterator_t i );
01364
01374
01375
01376
01377
01378
01379
01380
01381
01382
01383 void
01384 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i );
01385
01396
01397
01398
01399
01400
01401
01402
01403
01404
01405 xcb_generic_iterator_t
01406 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i );
01407
01417
01418
01419
01420
01421
01422
01423
01424
01425
01426 void
01427 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i );
01428
01439
01440
01441
01442
01443
01444
01445
01446
01447
01448 xcb_generic_iterator_t
01449 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i );
01450
01451
01452
01453
01454
01455
01456
01457
01458
01459
01460
01461 xcb_render_pictvisual_t *
01462 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R );
01463
01464
01465
01466
01467
01468
01469
01470
01471
01472
01473
01474 int
01475 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R );
01476
01477
01478
01479
01480
01481
01482
01483
01484
01485
01486
01487 xcb_render_pictvisual_iterator_t
01488 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R );
01489
01499
01500
01501
01502
01503
01504
01505
01506
01507
01508 void
01509 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i );
01510
01521
01522
01523
01524
01525
01526
01527
01528
01529
01530 xcb_generic_iterator_t
01531 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i );
01532
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543 int
01544 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R );
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556 xcb_render_pictdepth_iterator_t
01557 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R );
01558
01568
01569
01570
01571
01572
01573
01574
01575
01576
01577 void
01578 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i );
01579
01590
01591
01592
01593
01594
01595
01596
01597
01598
01599 xcb_generic_iterator_t
01600 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i );
01601
01611
01612
01613
01614
01615
01616
01617
01618
01619
01620 void
01621 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i );
01622
01633
01634
01635
01636
01637
01638
01639
01640
01641
01642 xcb_generic_iterator_t
01643 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i );
01644
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663 void
01664 xcb_render_color_next (xcb_render_color_iterator_t *i );
01665
01676
01677
01678
01679
01680
01681
01682
01683
01684
01685 xcb_generic_iterator_t
01686 xcb_render_color_end (xcb_render_color_iterator_t i );
01687
01697
01698
01699
01700
01701
01702
01703
01704
01705
01706 void
01707 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i );
01708
01719
01720
01721
01722
01723
01724
01725
01726
01727
01728 xcb_generic_iterator_t
01729 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i );
01730
01740
01741
01742
01743
01744
01745
01746
01747
01748
01749 void
01750 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i );
01751
01762
01763
01764
01765
01766
01767
01768
01769
01770
01771 xcb_generic_iterator_t
01772 xcb_render_linefix_end (xcb_render_linefix_iterator_t i );
01773
01783
01784
01785
01786
01787
01788
01789
01790
01791
01792 void
01793 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i );
01794
01805
01806
01807
01808
01809
01810
01811
01812
01813
01814 xcb_generic_iterator_t
01815 xcb_render_triangle_end (xcb_render_triangle_iterator_t i );
01816
01826
01827
01828
01829
01830
01831
01832
01833
01834
01835 void
01836 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i );
01837
01848
01849
01850
01851
01852
01853
01854
01855
01856
01857 xcb_generic_iterator_t
01858 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i );
01859
01869
01870
01871
01872
01873
01874
01875
01876
01877
01878 void
01879 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i );
01880
01891
01892
01893
01894
01895
01896
01897
01898
01899
01900 xcb_generic_iterator_t
01901 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i );
01902
01912
01913
01914
01915
01916
01917
01918
01919
01920
01921
01922
01923 xcb_render_query_version_cookie_t
01924 xcb_render_query_version (xcb_connection_t *c ,
01925 uint32_t client_major_version ,
01926 uint32_t client_minor_version );
01927
01940
01941
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951 xcb_render_query_version_cookie_t
01952 xcb_render_query_version_unchecked (xcb_connection_t *c ,
01953 uint32_t client_major_version ,
01954 uint32_t client_minor_version );
01955
01971
01972
01973
01974
01975
01976
01977
01978
01979
01980
01981
01982 xcb_render_query_version_reply_t *
01983 xcb_render_query_version_reply (xcb_connection_t *c ,
01984 xcb_render_query_version_cookie_t cookie ,
01985 xcb_generic_error_t **e );
01986
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005 xcb_render_query_pict_formats_cookie_t
02006 xcb_render_query_pict_formats (xcb_connection_t *c );
02007
02020
02021
02022
02023
02024
02025
02026
02027
02028
02029 xcb_render_query_pict_formats_cookie_t
02030 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
02031
02032
02033
02034
02035
02036
02037
02038
02039
02040
02041
02042 xcb_render_pictforminfo_t *
02043 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
02044
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055 int
02056 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067
02068 xcb_render_pictforminfo_iterator_t
02069 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
02070
02071
02072
02073
02074
02075
02076
02077
02078
02079
02080
02081 int
02082 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
02083
02084
02085
02086
02087
02088
02089
02090
02091
02092
02093
02094 xcb_render_pictscreen_iterator_t
02095 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
02096
02097
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107 uint32_t *
02108 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
02109
02110
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120 int
02121 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
02122
02123
02124
02125
02126
02127
02128
02129
02130
02131
02132
02133 xcb_generic_iterator_t
02134 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
02135
02151
02152
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162 xcb_render_query_pict_formats_reply_t *
02163 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
02164 xcb_render_query_pict_formats_cookie_t cookie ,
02165 xcb_generic_error_t **e );
02166
02176
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186 xcb_render_query_pict_index_values_cookie_t
02187 xcb_render_query_pict_index_values (xcb_connection_t *c ,
02188 xcb_render_pictformat_t format );
02189
02202
02203
02204
02205
02206
02207
02208
02209
02210
02211
02212 xcb_render_query_pict_index_values_cookie_t
02213 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
02214 xcb_render_pictformat_t format );
02215
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225
02226 xcb_render_indexvalue_t *
02227 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
02228
02229
02230
02231
02232
02233
02234
02235
02236
02237
02238
02239 int
02240 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
02241
02242
02243
02244
02245
02246
02247
02248
02249
02250
02251
02252 xcb_render_indexvalue_iterator_t
02253 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
02254
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281 xcb_render_query_pict_index_values_reply_t *
02282 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
02283 xcb_render_query_pict_index_values_cookie_t cookie ,
02284 xcb_generic_error_t **e );
02285
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312 xcb_void_cookie_t
02313 xcb_render_create_picture_checked (xcb_connection_t *c ,
02314 xcb_render_picture_t pid ,
02315 xcb_drawable_t drawable ,
02316 xcb_render_pictformat_t format ,
02317 uint32_t value_mask ,
02318 const uint32_t *value_list );
02319
02329
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343 xcb_void_cookie_t
02344 xcb_render_create_picture (xcb_connection_t *c ,
02345 xcb_render_picture_t pid ,
02346 xcb_drawable_t drawable ,
02347 xcb_render_pictformat_t format ,
02348 uint32_t value_mask ,
02349 const uint32_t *value_list );
02350
02363
02364
02365
02366
02367
02368
02369
02370
02371
02372
02373
02374
02375 xcb_void_cookie_t
02376 xcb_render_change_picture_checked (xcb_connection_t *c ,
02377 xcb_render_picture_t picture ,
02378 uint32_t value_mask ,
02379 const uint32_t *value_list );
02380
02390
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400
02401
02402 xcb_void_cookie_t
02403 xcb_render_change_picture (xcb_connection_t *c ,
02404 xcb_render_picture_t picture ,
02405 uint32_t value_mask ,
02406 const uint32_t *value_list );
02407
02420
02421
02422
02423
02424
02425
02426
02427
02428
02429
02430
02431
02432
02433
02434 xcb_void_cookie_t
02435 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
02436 xcb_render_picture_t picture ,
02437 int16_t clip_x_origin ,
02438 int16_t clip_y_origin ,
02439 uint32_t rectangles_len ,
02440 const xcb_rectangle_t *rectangles );
02441
02451
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465 xcb_void_cookie_t
02466 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02467 xcb_render_picture_t picture ,
02468 int16_t clip_x_origin ,
02469 int16_t clip_y_origin ,
02470 uint32_t rectangles_len ,
02471 const xcb_rectangle_t *rectangles );
02472
02485
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495 xcb_void_cookie_t
02496 xcb_render_free_picture_checked (xcb_connection_t *c ,
02497 xcb_render_picture_t picture );
02498
02508
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518 xcb_void_cookie_t
02519 xcb_render_free_picture (xcb_connection_t *c ,
02520 xcb_render_picture_t picture );
02521
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553
02554
02555 xcb_void_cookie_t
02556 xcb_render_composite_checked (xcb_connection_t *c ,
02557 uint8_t op ,
02558 xcb_render_picture_t src ,
02559 xcb_render_picture_t mask ,
02560 xcb_render_picture_t dst ,
02561 int16_t src_x ,
02562 int16_t src_y ,
02563 int16_t mask_x ,
02564 int16_t mask_y ,
02565 int16_t dst_x ,
02566 int16_t dst_y ,
02567 uint16_t width ,
02568 uint16_t height );
02569
02579
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600 xcb_void_cookie_t
02601 xcb_render_composite (xcb_connection_t *c ,
02602 uint8_t op ,
02603 xcb_render_picture_t src ,
02604 xcb_render_picture_t mask ,
02605 xcb_render_picture_t dst ,
02606 int16_t src_x ,
02607 int16_t src_y ,
02608 int16_t mask_x ,
02609 int16_t mask_y ,
02610 int16_t dst_x ,
02611 int16_t dst_y ,
02612 uint16_t width ,
02613 uint16_t height );
02614
02627
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641
02642
02643
02644 xcb_void_cookie_t
02645 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02646 uint8_t op ,
02647 xcb_render_picture_t src ,
02648 xcb_render_picture_t dst ,
02649 xcb_render_pictformat_t mask_format ,
02650 int16_t src_x ,
02651 int16_t src_y ,
02652 uint32_t traps_len ,
02653 const xcb_render_trapezoid_t *traps );
02654
02664
02665
02666
02667
02668
02669
02670
02671
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681 xcb_void_cookie_t
02682 xcb_render_trapezoids (xcb_connection_t *c ,
02683 uint8_t op ,
02684 xcb_render_picture_t src ,
02685 xcb_render_picture_t dst ,
02686 xcb_render_pictformat_t mask_format ,
02687 int16_t src_x ,
02688 int16_t src_y ,
02689 uint32_t traps_len ,
02690 const xcb_render_trapezoid_t *traps );
02691
02704
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720
02721 xcb_void_cookie_t
02722 xcb_render_triangles_checked (xcb_connection_t *c ,
02723 uint8_t op ,
02724 xcb_render_picture_t src ,
02725 xcb_render_picture_t dst ,
02726 xcb_render_pictformat_t mask_format ,
02727 int16_t src_x ,
02728 int16_t src_y ,
02729 uint32_t triangles_len ,
02730 const xcb_render_triangle_t *triangles );
02731
02741
02742
02743
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754
02755
02756
02757
02758 xcb_void_cookie_t
02759 xcb_render_triangles (xcb_connection_t *c ,
02760 uint8_t op ,
02761 xcb_render_picture_t src ,
02762 xcb_render_picture_t dst ,
02763 xcb_render_pictformat_t mask_format ,
02764 int16_t src_x ,
02765 int16_t src_y ,
02766 uint32_t triangles_len ,
02767 const xcb_render_triangle_t *triangles );
02768
02781
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793
02794
02795
02796
02797
02798 xcb_void_cookie_t
02799 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02800 uint8_t op ,
02801 xcb_render_picture_t src ,
02802 xcb_render_picture_t dst ,
02803 xcb_render_pictformat_t mask_format ,
02804 int16_t src_x ,
02805 int16_t src_y ,
02806 uint32_t points_len ,
02807 const xcb_render_pointfix_t *points );
02808
02818
02819
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830
02831
02832
02833
02834
02835 xcb_void_cookie_t
02836 xcb_render_tri_strip (xcb_connection_t *c ,
02837 uint8_t op ,
02838 xcb_render_picture_t src ,
02839 xcb_render_picture_t dst ,
02840 xcb_render_pictformat_t mask_format ,
02841 int16_t src_x ,
02842 int16_t src_y ,
02843 uint32_t points_len ,
02844 const xcb_render_pointfix_t *points );
02845
02858
02859
02860
02861
02862
02863
02864
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875 xcb_void_cookie_t
02876 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02877 uint8_t op ,
02878 xcb_render_picture_t src ,
02879 xcb_render_picture_t dst ,
02880 xcb_render_pictformat_t mask_format ,
02881 int16_t src_x ,
02882 int16_t src_y ,
02883 uint32_t points_len ,
02884 const xcb_render_pointfix_t *points );
02885
02895
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905
02906
02907
02908
02909
02910
02911
02912 xcb_void_cookie_t
02913 xcb_render_tri_fan (xcb_connection_t *c ,
02914 uint8_t op ,
02915 xcb_render_picture_t src ,
02916 xcb_render_picture_t dst ,
02917 xcb_render_pictformat_t mask_format ,
02918 int16_t src_x ,
02919 int16_t src_y ,
02920 uint32_t points_len ,
02921 const xcb_render_pointfix_t *points );
02922
02935
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945
02946 xcb_void_cookie_t
02947 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02948 xcb_render_glyphset_t gsid ,
02949 xcb_render_pictformat_t format );
02950
02960
02961
02962
02963
02964
02965
02966
02967
02968
02969
02970
02971 xcb_void_cookie_t
02972 xcb_render_create_glyph_set (xcb_connection_t *c ,
02973 xcb_render_glyphset_t gsid ,
02974 xcb_render_pictformat_t format );
02975
02988
02989
02990
02991
02992
02993
02994
02995
02996
02997
02998
02999 xcb_void_cookie_t
03000 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
03001 xcb_render_glyphset_t gsid ,
03002 xcb_render_glyphset_t existing );
03003
03013
03014
03015
03016
03017
03018
03019
03020
03021
03022
03023
03024 xcb_void_cookie_t
03025 xcb_render_reference_glyph_set (xcb_connection_t *c ,
03026 xcb_render_glyphset_t gsid ,
03027 xcb_render_glyphset_t existing );
03028
03041
03042
03043
03044
03045
03046
03047
03048
03049
03050
03051 xcb_void_cookie_t
03052 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
03053 xcb_render_glyphset_t glyphset );
03054
03064
03065
03066
03067
03068
03069
03070
03071
03072
03073
03074 xcb_void_cookie_t
03075 xcb_render_free_glyph_set (xcb_connection_t *c ,
03076 xcb_render_glyphset_t glyphset );
03077
03090
03091
03092
03093
03094
03095
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105 xcb_void_cookie_t
03106 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
03107 xcb_render_glyphset_t glyphset ,
03108 uint32_t glyphs_len ,
03109 const uint32_t *glyphids ,
03110 const xcb_render_glyphinfo_t *glyphs ,
03111 uint32_t data_len ,
03112 const uint8_t *data );
03113
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138 xcb_void_cookie_t
03139 xcb_render_add_glyphs (xcb_connection_t *c ,
03140 xcb_render_glyphset_t glyphset ,
03141 uint32_t glyphs_len ,
03142 const uint32_t *glyphids ,
03143 const xcb_render_glyphinfo_t *glyphs ,
03144 uint32_t data_len ,
03145 const uint8_t *data );
03146
03159
03160
03161
03162
03163
03164
03165
03166
03167
03168
03169
03170
03171 xcb_void_cookie_t
03172 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
03173 xcb_render_glyphset_t glyphset ,
03174 uint32_t glyphs_len ,
03175 const xcb_render_glyph_t *glyphs );
03176
03186
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197
03198 xcb_void_cookie_t
03199 xcb_render_free_glyphs (xcb_connection_t *c ,
03200 xcb_render_glyphset_t glyphset ,
03201 uint32_t glyphs_len ,
03202 const xcb_render_glyph_t *glyphs );
03203
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227
03228
03229
03230
03231
03232
03233
03234 xcb_void_cookie_t
03235 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
03236 uint8_t op ,
03237 xcb_render_picture_t src ,
03238 xcb_render_picture_t dst ,
03239 xcb_render_pictformat_t mask_format ,
03240 xcb_render_glyphset_t glyphset ,
03241 int16_t src_x ,
03242 int16_t src_y ,
03243 uint32_t glyphcmds_len ,
03244 const uint8_t *glyphcmds );
03245
03255
03256
03257
03258
03259
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269
03270
03271
03272
03273 xcb_void_cookie_t
03274 xcb_render_composite_glyphs_8 (xcb_connection_t *c ,
03275 uint8_t op ,
03276 xcb_render_picture_t src ,
03277 xcb_render_picture_t dst ,
03278 xcb_render_pictformat_t mask_format ,
03279 xcb_render_glyphset_t glyphset ,
03280 int16_t src_x ,
03281 int16_t src_y ,
03282 uint32_t glyphcmds_len ,
03283 const uint8_t *glyphcmds );
03284
03297
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315 xcb_void_cookie_t
03316 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
03317 uint8_t op ,
03318 xcb_render_picture_t src ,
03319 xcb_render_picture_t dst ,
03320 xcb_render_pictformat_t mask_format ,
03321 xcb_render_glyphset_t glyphset ,
03322 int16_t src_x ,
03323 int16_t src_y ,
03324 uint32_t glyphcmds_len ,
03325 const uint8_t *glyphcmds );
03326
03336
03337
03338
03339
03340
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351
03352
03353
03354 xcb_void_cookie_t
03355 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
03356 uint8_t op ,
03357 xcb_render_picture_t src ,
03358 xcb_render_picture_t dst ,
03359 xcb_render_pictformat_t mask_format ,
03360 xcb_render_glyphset_t glyphset ,
03361 int16_t src_x ,
03362 int16_t src_y ,
03363 uint32_t glyphcmds_len ,
03364 const uint8_t *glyphcmds );
03365
03378
03379
03380
03381
03382
03383
03384
03385
03386
03387
03388
03389
03390
03391
03392
03393
03394
03395
03396 xcb_void_cookie_t
03397 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
03398 uint8_t op ,
03399 xcb_render_picture_t src ,
03400 xcb_render_picture_t dst ,
03401 xcb_render_pictformat_t mask_format ,
03402 xcb_render_glyphset_t glyphset ,
03403 int16_t src_x ,
03404 int16_t src_y ,
03405 uint32_t glyphcmds_len ,
03406 const uint8_t *glyphcmds );
03407
03417
03418
03419
03420
03421
03422
03423
03424
03425
03426
03427
03428
03429
03430
03431
03432
03433
03434
03435 xcb_void_cookie_t
03436 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
03437 uint8_t op ,
03438 xcb_render_picture_t src ,
03439 xcb_render_picture_t dst ,
03440 xcb_render_pictformat_t mask_format ,
03441 xcb_render_glyphset_t glyphset ,
03442 int16_t src_x ,
03443 int16_t src_y ,
03444 uint32_t glyphcmds_len ,
03445 const uint8_t *glyphcmds );
03446
03459
03460
03461
03462
03463
03464
03465
03466
03467
03468
03469
03470
03471
03472
03473 xcb_void_cookie_t
03474 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
03475 uint8_t op ,
03476 xcb_render_picture_t dst ,
03477 xcb_render_color_t color ,
03478 uint32_t rects_len ,
03479 const xcb_rectangle_t *rects );
03480
03490
03491
03492
03493
03494
03495
03496
03497
03498
03499
03500
03501
03502
03503
03504 xcb_void_cookie_t
03505 xcb_render_fill_rectangles (xcb_connection_t *c ,
03506 uint8_t op ,
03507 xcb_render_picture_t dst ,
03508 xcb_render_color_t color ,
03509 uint32_t rects_len ,
03510 const xcb_rectangle_t *rects );
03511
03524
03525
03526
03527
03528
03529
03530
03531
03532
03533
03534
03535
03536
03537 xcb_void_cookie_t
03538 xcb_render_create_cursor_checked (xcb_connection_t *c ,
03539 xcb_cursor_t cid ,
03540 xcb_render_picture_t source ,
03541 uint16_t x ,
03542 uint16_t y );
03543
03553
03554
03555
03556
03557
03558
03559
03560
03561
03562
03563
03564
03565
03566 xcb_void_cookie_t
03567 xcb_render_create_cursor (xcb_connection_t *c ,
03568 xcb_cursor_t cid ,
03569 xcb_render_picture_t source ,
03570 uint16_t x ,
03571 uint16_t y );
03572
03582
03583
03584
03585
03586
03587
03588
03589
03590
03591 void
03592 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
03593
03604
03605
03606
03607
03608
03609
03610
03611
03612
03613 xcb_generic_iterator_t
03614 xcb_render_transform_end (xcb_render_transform_iterator_t i );
03615
03628
03629
03630
03631
03632
03633
03634
03635
03636
03637
03638
03639 xcb_void_cookie_t
03640 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
03641 xcb_render_picture_t picture ,
03642 xcb_render_transform_t transform );
03643
03653
03654
03655
03656
03657
03658
03659
03660
03661
03662
03663
03664 xcb_void_cookie_t
03665 xcb_render_set_picture_transform (xcb_connection_t *c ,
03666 xcb_render_picture_t picture ,
03667 xcb_render_transform_t transform );
03668
03678
03679
03680
03681
03682
03683
03684
03685
03686
03687
03688 xcb_render_query_filters_cookie_t
03689 xcb_render_query_filters (xcb_connection_t *c ,
03690 xcb_drawable_t drawable );
03691
03704
03705
03706
03707
03708
03709
03710
03711
03712
03713
03714 xcb_render_query_filters_cookie_t
03715 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
03716 xcb_drawable_t drawable );
03717
03718
03719
03720
03721
03722
03723
03724
03725
03726
03727
03728 uint16_t *
03729 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
03730
03731
03732
03733
03734
03735
03736
03737
03738
03739
03740
03741 int
03742 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
03743
03744
03745
03746
03747
03748
03749
03750
03751
03752
03753
03754 xcb_generic_iterator_t
03755 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
03756
03757
03758
03759
03760
03761
03762
03763
03764
03765
03766
03767 int
03768 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
03769
03770
03771
03772
03773
03774
03775
03776
03777
03778
03779
03780 xcb_str_iterator_t
03781 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
03782
03798
03799
03800
03801
03802
03803
03804
03805
03806
03807
03808
03809 xcb_render_query_filters_reply_t *
03810 xcb_render_query_filters_reply (xcb_connection_t *c ,
03811 xcb_render_query_filters_cookie_t cookie ,
03812 xcb_generic_error_t **e );
03813
03826
03827
03828
03829
03830
03831
03832
03833
03834
03835
03836
03837
03838
03839
03840 xcb_void_cookie_t
03841 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03842 xcb_render_picture_t picture ,
03843 uint16_t filter_len ,
03844 const char *filter ,
03845 uint32_t values_len ,
03846 const xcb_render_fixed_t *values );
03847
03857
03858
03859
03860
03861
03862
03863
03864
03865
03866
03867
03868
03869
03870
03871 xcb_void_cookie_t
03872 xcb_render_set_picture_filter (xcb_connection_t *c ,
03873 xcb_render_picture_t picture ,
03874 uint16_t filter_len ,
03875 const char *filter ,
03876 uint32_t values_len ,
03877 const xcb_render_fixed_t *values );
03878
03888
03889
03890
03891
03892
03893
03894
03895
03896
03897 void
03898 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03899
03910
03911
03912
03913
03914
03915
03916
03917
03918
03919 xcb_generic_iterator_t
03920 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03921
03934
03935
03936
03937
03938
03939
03940
03941
03942
03943
03944
03945
03946 xcb_void_cookie_t
03947 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03948 xcb_cursor_t cid ,
03949 uint32_t cursors_len ,
03950 const xcb_render_animcursorelt_t *cursors );
03951
03961
03962
03963
03964
03965
03966
03967
03968
03969
03970
03971
03972
03973 xcb_void_cookie_t
03974 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03975 xcb_cursor_t cid ,
03976 uint32_t cursors_len ,
03977 const xcb_render_animcursorelt_t *cursors );
03978
03988
03989
03990
03991
03992
03993
03994
03995
03996
03997 void
03998 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
03999
04010
04011
04012
04013
04014
04015
04016
04017
04018
04019 xcb_generic_iterator_t
04020 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
04021
04031
04032
04033
04034
04035
04036
04037
04038
04039
04040 void
04041 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
04042
04053
04054
04055
04056
04057
04058
04059
04060
04061
04062 xcb_generic_iterator_t
04063 xcb_render_trap_end (xcb_render_trap_iterator_t i );
04064
04077
04078
04079
04080
04081
04082
04083
04084
04085
04086
04087
04088
04089
04090
04091 xcb_void_cookie_t
04092 xcb_render_add_traps_checked (xcb_connection_t *c ,
04093 xcb_render_picture_t picture ,
04094 int16_t x_off ,
04095 int16_t y_off ,
04096 uint32_t traps_len ,
04097 const xcb_render_trap_t *traps );
04098
04108
04109
04110
04111
04112
04113
04114
04115
04116
04117
04118
04119
04120
04121
04122 xcb_void_cookie_t
04123 xcb_render_add_traps (xcb_connection_t *c ,
04124 xcb_render_picture_t picture ,
04125 int16_t x_off ,
04126 int16_t y_off ,
04127 uint32_t traps_len ,
04128 const xcb_render_trap_t *traps );
04129
04142
04143
04144
04145
04146
04147
04148
04149
04150
04151
04152
04153 xcb_void_cookie_t
04154 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
04155 xcb_render_picture_t picture ,
04156 xcb_render_color_t color );
04157
04167
04168
04169
04170
04171
04172
04173
04174
04175
04176
04177
04178 xcb_void_cookie_t
04179 xcb_render_create_solid_fill (xcb_connection_t *c ,
04180 xcb_render_picture_t picture ,
04181 xcb_render_color_t color );
04182
04195
04196
04197
04198
04199
04200
04201
04202
04203
04204
04205
04206
04207
04208 xcb_void_cookie_t
04209 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
04210 xcb_render_picture_t picture ,
04211 xcb_render_pointfix_t p1 ,
04212 xcb_render_pointfix_t p2 ,
04213 uint32_t num_stops );
04214
04224
04225
04226
04227
04228
04229
04230
04231
04232
04233
04234
04235
04236
04237 xcb_void_cookie_t
04238 xcb_render_create_linear_gradient (xcb_connection_t *c ,
04239 xcb_render_picture_t picture ,
04240 xcb_render_pointfix_t p1 ,
04241 xcb_render_pointfix_t p2 ,
04242 uint32_t num_stops );
04243
04256
04257
04258
04259
04260
04261
04262
04263
04264
04265
04266
04267
04268
04269
04270
04271 xcb_void_cookie_t
04272 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
04273 xcb_render_picture_t picture ,
04274 xcb_render_pointfix_t inner ,
04275 xcb_render_pointfix_t outer ,
04276 xcb_render_fixed_t inner_radius ,
04277 xcb_render_fixed_t outer_radius ,
04278 uint32_t num_stops );
04279
04289
04290
04291
04292
04293
04294
04295
04296
04297
04298
04299
04300
04301
04302
04303
04304 xcb_void_cookie_t
04305 xcb_render_create_radial_gradient (xcb_connection_t *c ,
04306 xcb_render_picture_t picture ,
04307 xcb_render_pointfix_t inner ,
04308 xcb_render_pointfix_t outer ,
04309 xcb_render_fixed_t inner_radius ,
04310 xcb_render_fixed_t outer_radius ,
04311 uint32_t num_stops );
04312
04325
04326
04327
04328
04329
04330
04331
04332
04333
04334
04335
04336
04337
04338 xcb_void_cookie_t
04339 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
04340 xcb_render_picture_t picture ,
04341 xcb_render_pointfix_t center ,
04342 xcb_render_fixed_t angle ,
04343 uint32_t num_stops );
04344
04354
04355
04356
04357
04358
04359
04360
04361
04362
04363
04364
04365
04366
04367 xcb_void_cookie_t
04368 xcb_render_create_conical_gradient (xcb_connection_t *c ,
04369 xcb_render_picture_t picture ,
04370 xcb_render_pointfix_t center ,
04371 xcb_render_fixed_t angle ,
04372 uint32_t num_stops );
04373
04374
04375 #ifdef __cplusplus
04376 }
04377 #endif
04378
04379 #endif
04380