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 = 16,
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 = 32,
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,
00085 XCB_RENDER_CP_ALPHA_MAP = 2,
00086 XCB_RENDER_CP_ALPHA_X_ORIGIN = 4,
00087 XCB_RENDER_CP_ALPHA_Y_ORIGIN = 8,
00088 XCB_RENDER_CP_CLIP_X_ORIGIN = 16,
00089 XCB_RENDER_CP_CLIP_Y_ORIGIN = 32,
00090 XCB_RENDER_CP_CLIP_MASK = 64,
00091 XCB_RENDER_CP_GRAPHICS_EXPOSURE = 128,
00092 XCB_RENDER_CP_SUBWINDOW_MODE = 256,
00093 XCB_RENDER_CP_POLY_EDGE = 512,
00094 XCB_RENDER_CP_POLY_MODE = 1024,
00095 XCB_RENDER_CP_DITHER = 2048,
00096 XCB_RENDER_CP_COMPONENT_ALPHA = 4096
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 uint8_t pad0[2];
00962 } xcb_render_set_picture_filter_request_t;
00963
00967 typedef struct xcb_render_animcursorelt_t {
00968 xcb_cursor_t cursor;
00969 uint32_t delay;
00970 } xcb_render_animcursorelt_t;
00971
00975 typedef struct xcb_render_animcursorelt_iterator_t {
00976 xcb_render_animcursorelt_t *data;
00977 int rem;
00978 int index;
00979 } xcb_render_animcursorelt_iterator_t;
00980
00982 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
00983
00987 typedef struct xcb_render_create_anim_cursor_request_t {
00988 uint8_t major_opcode;
00989 uint8_t minor_opcode;
00990 uint16_t length;
00991 xcb_cursor_t cid;
00992 } xcb_render_create_anim_cursor_request_t;
00993
00997 typedef struct xcb_render_spanfix_t {
00998 xcb_render_fixed_t l;
00999 xcb_render_fixed_t r;
01000 xcb_render_fixed_t y;
01001 } xcb_render_spanfix_t;
01002
01006 typedef struct xcb_render_spanfix_iterator_t {
01007 xcb_render_spanfix_t *data;
01008 int rem;
01009 int index;
01010 } xcb_render_spanfix_iterator_t;
01011
01015 typedef struct xcb_render_trap_t {
01016 xcb_render_spanfix_t top;
01017 xcb_render_spanfix_t bot;
01018 } xcb_render_trap_t;
01019
01023 typedef struct xcb_render_trap_iterator_t {
01024 xcb_render_trap_t *data;
01025 int rem;
01026 int index;
01027 } xcb_render_trap_iterator_t;
01028
01030 #define XCB_RENDER_ADD_TRAPS 32
01031
01035 typedef struct xcb_render_add_traps_request_t {
01036 uint8_t major_opcode;
01037 uint8_t minor_opcode;
01038 uint16_t length;
01039 xcb_render_picture_t picture;
01040 int16_t x_off;
01041 int16_t y_off;
01042 } xcb_render_add_traps_request_t;
01043
01045 #define XCB_RENDER_CREATE_SOLID_FILL 33
01046
01050 typedef struct xcb_render_create_solid_fill_request_t {
01051 uint8_t major_opcode;
01052 uint8_t minor_opcode;
01053 uint16_t length;
01054 xcb_render_picture_t picture;
01055 xcb_render_color_t color;
01056 } xcb_render_create_solid_fill_request_t;
01057
01059 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
01060
01064 typedef struct xcb_render_create_linear_gradient_request_t {
01065 uint8_t major_opcode;
01066 uint8_t minor_opcode;
01067 uint16_t length;
01068 xcb_render_picture_t picture;
01069 xcb_render_pointfix_t p1;
01070 xcb_render_pointfix_t p2;
01071 uint32_t num_stops;
01072 } xcb_render_create_linear_gradient_request_t;
01073
01075 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
01076
01080 typedef struct xcb_render_create_radial_gradient_request_t {
01081 uint8_t major_opcode;
01082 uint8_t minor_opcode;
01083 uint16_t length;
01084 xcb_render_picture_t picture;
01085 xcb_render_pointfix_t inner;
01086 xcb_render_pointfix_t outer;
01087 xcb_render_fixed_t inner_radius;
01088 xcb_render_fixed_t outer_radius;
01089 uint32_t num_stops;
01090 } xcb_render_create_radial_gradient_request_t;
01091
01093 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
01094
01098 typedef struct xcb_render_create_conical_gradient_request_t {
01099 uint8_t major_opcode;
01100 uint8_t minor_opcode;
01101 uint16_t length;
01102 xcb_render_picture_t picture;
01103 xcb_render_pointfix_t center;
01104 xcb_render_fixed_t angle;
01105 uint32_t num_stops;
01106 } xcb_render_create_conical_gradient_request_t;
01107
01117
01118
01119
01120
01121
01122
01123
01124
01125
01126 void
01127 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i );
01128
01139
01140
01141
01142
01143
01144
01145
01146
01147
01148 xcb_generic_iterator_t
01149 xcb_render_glyph_end (xcb_render_glyph_iterator_t i );
01150
01160
01161
01162
01163
01164
01165
01166
01167
01168
01169 void
01170 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i );
01171
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191 xcb_generic_iterator_t
01192 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i );
01193
01203
01204
01205
01206
01207
01208
01209
01210
01211
01212 void
01213 xcb_render_picture_next (xcb_render_picture_iterator_t *i );
01214
01225
01226
01227
01228
01229
01230
01231
01232
01233
01234 xcb_generic_iterator_t
01235 xcb_render_picture_end (xcb_render_picture_iterator_t i );
01236
01246
01247
01248
01249
01250
01251
01252
01253
01254
01255 void
01256 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i );
01257
01268
01269
01270
01271
01272
01273
01274
01275
01276
01277 xcb_generic_iterator_t
01278 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i );
01279
01289
01290
01291
01292
01293
01294
01295
01296
01297
01298 void
01299 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i );
01300
01311
01312
01313
01314
01315
01316
01317
01318
01319
01320 xcb_generic_iterator_t
01321 xcb_render_fixed_end (xcb_render_fixed_iterator_t i );
01322
01332
01333
01334
01335
01336
01337
01338
01339
01340
01341 void
01342 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i );
01343
01354
01355
01356
01357
01358
01359
01360
01361
01362
01363 xcb_generic_iterator_t
01364 xcb_render_directformat_end (xcb_render_directformat_iterator_t i );
01365
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384 void
01385 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i );
01386
01397
01398
01399
01400
01401
01402
01403
01404
01405
01406 xcb_generic_iterator_t
01407 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i );
01408
01418
01419
01420
01421
01422
01423
01424
01425
01426
01427 void
01428 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i );
01429
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449 xcb_generic_iterator_t
01450 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i );
01451
01452
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462 xcb_render_pictvisual_t *
01463 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R );
01464
01465
01466
01467
01468
01469
01470
01471
01472
01473
01474
01475 int
01476 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R );
01477
01478
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488 xcb_render_pictvisual_iterator_t
01489 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R );
01490
01500
01501
01502
01503
01504
01505
01506
01507
01508
01509 void
01510 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i );
01511
01522
01523
01524
01525
01526
01527
01528
01529
01530
01531 xcb_generic_iterator_t
01532 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i );
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543
01544 int
01545 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R );
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556
01557 xcb_render_pictdepth_iterator_t
01558 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R );
01559
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578 void
01579 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i );
01580
01591
01592
01593
01594
01595
01596
01597
01598
01599
01600 xcb_generic_iterator_t
01601 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i );
01602
01612
01613
01614
01615
01616
01617
01618
01619
01620
01621 void
01622 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i );
01623
01634
01635
01636
01637
01638
01639
01640
01641
01642
01643 xcb_generic_iterator_t
01644 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i );
01645
01655
01656
01657
01658
01659
01660
01661
01662
01663
01664 void
01665 xcb_render_color_next (xcb_render_color_iterator_t *i );
01666
01677
01678
01679
01680
01681
01682
01683
01684
01685
01686 xcb_generic_iterator_t
01687 xcb_render_color_end (xcb_render_color_iterator_t i );
01688
01698
01699
01700
01701
01702
01703
01704
01705
01706
01707 void
01708 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i );
01709
01720
01721
01722
01723
01724
01725
01726
01727
01728
01729 xcb_generic_iterator_t
01730 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i );
01731
01741
01742
01743
01744
01745
01746
01747
01748
01749
01750 void
01751 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i );
01752
01763
01764
01765
01766
01767
01768
01769
01770
01771
01772 xcb_generic_iterator_t
01773 xcb_render_linefix_end (xcb_render_linefix_iterator_t i );
01774
01784
01785
01786
01787
01788
01789
01790
01791
01792
01793 void
01794 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i );
01795
01806
01807
01808
01809
01810
01811
01812
01813
01814
01815 xcb_generic_iterator_t
01816 xcb_render_triangle_end (xcb_render_triangle_iterator_t i );
01817
01827
01828
01829
01830
01831
01832
01833
01834
01835
01836 void
01837 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i );
01838
01849
01850
01851
01852
01853
01854
01855
01856
01857
01858 xcb_generic_iterator_t
01859 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i );
01860
01870
01871
01872
01873
01874
01875
01876
01877
01878
01879 void
01880 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i );
01881
01892
01893
01894
01895
01896
01897
01898
01899
01900
01901 xcb_generic_iterator_t
01902 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i );
01903
01913
01914
01915
01916
01917
01918
01919
01920
01921
01922
01923
01924 xcb_render_query_version_cookie_t
01925 xcb_render_query_version (xcb_connection_t *c ,
01926 uint32_t client_major_version ,
01927 uint32_t client_minor_version );
01928
01941
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952 xcb_render_query_version_cookie_t
01953 xcb_render_query_version_unchecked (xcb_connection_t *c ,
01954 uint32_t client_major_version ,
01955 uint32_t client_minor_version );
01956
01972
01973
01974
01975
01976
01977
01978
01979
01980
01981
01982
01983 xcb_render_query_version_reply_t *
01984 xcb_render_query_version_reply (xcb_connection_t *c ,
01985 xcb_render_query_version_cookie_t cookie ,
01986 xcb_generic_error_t **e );
01987
01997
01998
01999
02000
02001
02002
02003
02004
02005
02006 xcb_render_query_pict_formats_cookie_t
02007 xcb_render_query_pict_formats (xcb_connection_t *c );
02008
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030 xcb_render_query_pict_formats_cookie_t
02031 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
02032
02033
02034
02035
02036
02037
02038
02039
02040
02041
02042
02043 xcb_render_pictforminfo_t *
02044 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056 int
02057 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069 xcb_render_pictforminfo_iterator_t
02070 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
02071
02072
02073
02074
02075
02076
02077
02078
02079
02080
02081
02082 int
02083 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
02084
02085
02086
02087
02088
02089
02090
02091
02092
02093
02094
02095 xcb_render_pictscreen_iterator_t
02096 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
02097
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107
02108 uint32_t *
02109 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
02110
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120
02121 int
02122 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
02123
02124
02125
02126
02127
02128
02129
02130
02131
02132
02133
02134 xcb_generic_iterator_t
02135 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
02136
02152
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163 xcb_render_query_pict_formats_reply_t *
02164 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
02165 xcb_render_query_pict_formats_cookie_t cookie ,
02166 xcb_generic_error_t **e );
02167
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186
02187 xcb_render_query_pict_index_values_cookie_t
02188 xcb_render_query_pict_index_values (xcb_connection_t *c ,
02189 xcb_render_pictformat_t format );
02190
02203
02204
02205
02206
02207
02208
02209
02210
02211
02212
02213 xcb_render_query_pict_index_values_cookie_t
02214 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
02215 xcb_render_pictformat_t format );
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225
02226
02227 xcb_render_indexvalue_t *
02228 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
02229
02230
02231
02232
02233
02234
02235
02236
02237
02238
02239
02240 int
02241 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
02242
02243
02244
02245
02246
02247
02248
02249
02250
02251
02252
02253 xcb_render_indexvalue_iterator_t
02254 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
02255
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281
02282 xcb_render_query_pict_index_values_reply_t *
02283 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
02284 xcb_render_query_pict_index_values_cookie_t cookie ,
02285 xcb_generic_error_t **e );
02286
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312
02313 xcb_void_cookie_t
02314 xcb_render_create_picture_checked (xcb_connection_t *c ,
02315 xcb_render_picture_t pid ,
02316 xcb_drawable_t drawable ,
02317 xcb_render_pictformat_t format ,
02318 uint32_t value_mask ,
02319 const uint32_t *value_list );
02320
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344 xcb_void_cookie_t
02345 xcb_render_create_picture (xcb_connection_t *c ,
02346 xcb_render_picture_t pid ,
02347 xcb_drawable_t drawable ,
02348 xcb_render_pictformat_t format ,
02349 uint32_t value_mask ,
02350 const uint32_t *value_list );
02351
02364
02365
02366
02367
02368
02369
02370
02371
02372
02373
02374
02375
02376 xcb_void_cookie_t
02377 xcb_render_change_picture_checked (xcb_connection_t *c ,
02378 xcb_render_picture_t picture ,
02379 uint32_t value_mask ,
02380 const uint32_t *value_list );
02381
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400
02401
02402
02403 xcb_void_cookie_t
02404 xcb_render_change_picture (xcb_connection_t *c ,
02405 xcb_render_picture_t picture ,
02406 uint32_t value_mask ,
02407 const uint32_t *value_list );
02408
02421
02422
02423
02424
02425
02426
02427
02428
02429
02430
02431
02432
02433
02434
02435 xcb_void_cookie_t
02436 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
02437 xcb_render_picture_t picture ,
02438 int16_t clip_x_origin ,
02439 int16_t clip_y_origin ,
02440 uint32_t rectangles_len ,
02441 const xcb_rectangle_t *rectangles );
02442
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466 xcb_void_cookie_t
02467 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02468 xcb_render_picture_t picture ,
02469 int16_t clip_x_origin ,
02470 int16_t clip_y_origin ,
02471 uint32_t rectangles_len ,
02472 const xcb_rectangle_t *rectangles );
02473
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495
02496 xcb_void_cookie_t
02497 xcb_render_free_picture_checked (xcb_connection_t *c ,
02498 xcb_render_picture_t picture );
02499
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518
02519 xcb_void_cookie_t
02520 xcb_render_free_picture (xcb_connection_t *c ,
02521 xcb_render_picture_t picture );
02522
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553
02554
02555
02556 xcb_void_cookie_t
02557 xcb_render_composite_checked (xcb_connection_t *c ,
02558 uint8_t op ,
02559 xcb_render_picture_t src ,
02560 xcb_render_picture_t mask ,
02561 xcb_render_picture_t dst ,
02562 int16_t src_x ,
02563 int16_t src_y ,
02564 int16_t mask_x ,
02565 int16_t mask_y ,
02566 int16_t dst_x ,
02567 int16_t dst_y ,
02568 uint16_t width ,
02569 uint16_t height );
02570
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600
02601 xcb_void_cookie_t
02602 xcb_render_composite (xcb_connection_t *c ,
02603 uint8_t op ,
02604 xcb_render_picture_t src ,
02605 xcb_render_picture_t mask ,
02606 xcb_render_picture_t dst ,
02607 int16_t src_x ,
02608 int16_t src_y ,
02609 int16_t mask_x ,
02610 int16_t mask_y ,
02611 int16_t dst_x ,
02612 int16_t dst_y ,
02613 uint16_t width ,
02614 uint16_t height );
02615
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641
02642
02643
02644
02645 xcb_void_cookie_t
02646 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02647 uint8_t op ,
02648 xcb_render_picture_t src ,
02649 xcb_render_picture_t dst ,
02650 xcb_render_pictformat_t mask_format ,
02651 int16_t src_x ,
02652 int16_t src_y ,
02653 uint32_t traps_len ,
02654 const xcb_render_trapezoid_t *traps );
02655
02665
02666
02667
02668
02669
02670
02671
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681
02682 xcb_void_cookie_t
02683 xcb_render_trapezoids (xcb_connection_t *c ,
02684 uint8_t op ,
02685 xcb_render_picture_t src ,
02686 xcb_render_picture_t dst ,
02687 xcb_render_pictformat_t mask_format ,
02688 int16_t src_x ,
02689 int16_t src_y ,
02690 uint32_t traps_len ,
02691 const xcb_render_trapezoid_t *traps );
02692
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720
02721
02722 xcb_void_cookie_t
02723 xcb_render_triangles_checked (xcb_connection_t *c ,
02724 uint8_t op ,
02725 xcb_render_picture_t src ,
02726 xcb_render_picture_t dst ,
02727 xcb_render_pictformat_t mask_format ,
02728 int16_t src_x ,
02729 int16_t src_y ,
02730 uint32_t triangles_len ,
02731 const xcb_render_triangle_t *triangles );
02732
02742
02743
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754
02755
02756
02757
02758
02759 xcb_void_cookie_t
02760 xcb_render_triangles (xcb_connection_t *c ,
02761 uint8_t op ,
02762 xcb_render_picture_t src ,
02763 xcb_render_picture_t dst ,
02764 xcb_render_pictformat_t mask_format ,
02765 int16_t src_x ,
02766 int16_t src_y ,
02767 uint32_t triangles_len ,
02768 const xcb_render_triangle_t *triangles );
02769
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793
02794
02795
02796
02797
02798
02799 xcb_void_cookie_t
02800 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02801 uint8_t op ,
02802 xcb_render_picture_t src ,
02803 xcb_render_picture_t dst ,
02804 xcb_render_pictformat_t mask_format ,
02805 int16_t src_x ,
02806 int16_t src_y ,
02807 uint32_t points_len ,
02808 const xcb_render_pointfix_t *points );
02809
02819
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830
02831
02832
02833
02834
02835
02836 xcb_void_cookie_t
02837 xcb_render_tri_strip (xcb_connection_t *c ,
02838 uint8_t op ,
02839 xcb_render_picture_t src ,
02840 xcb_render_picture_t dst ,
02841 xcb_render_pictformat_t mask_format ,
02842 int16_t src_x ,
02843 int16_t src_y ,
02844 uint32_t points_len ,
02845 const xcb_render_pointfix_t *points );
02846
02859
02860
02861
02862
02863
02864
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875
02876 xcb_void_cookie_t
02877 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02878 uint8_t op ,
02879 xcb_render_picture_t src ,
02880 xcb_render_picture_t dst ,
02881 xcb_render_pictformat_t mask_format ,
02882 int16_t src_x ,
02883 int16_t src_y ,
02884 uint32_t points_len ,
02885 const xcb_render_pointfix_t *points );
02886
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905
02906
02907
02908
02909
02910
02911
02912
02913 xcb_void_cookie_t
02914 xcb_render_tri_fan (xcb_connection_t *c ,
02915 uint8_t op ,
02916 xcb_render_picture_t src ,
02917 xcb_render_picture_t dst ,
02918 xcb_render_pictformat_t mask_format ,
02919 int16_t src_x ,
02920 int16_t src_y ,
02921 uint32_t points_len ,
02922 const xcb_render_pointfix_t *points );
02923
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945
02946
02947 xcb_void_cookie_t
02948 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02949 xcb_render_glyphset_t gsid ,
02950 xcb_render_pictformat_t format );
02951
02961
02962
02963
02964
02965
02966
02967
02968
02969
02970
02971
02972 xcb_void_cookie_t
02973 xcb_render_create_glyph_set (xcb_connection_t *c ,
02974 xcb_render_glyphset_t gsid ,
02975 xcb_render_pictformat_t format );
02976
02989
02990
02991
02992
02993
02994
02995
02996
02997
02998
02999
03000 xcb_void_cookie_t
03001 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
03002 xcb_render_glyphset_t gsid ,
03003 xcb_render_glyphset_t existing );
03004
03014
03015
03016
03017
03018
03019
03020
03021
03022
03023
03024
03025 xcb_void_cookie_t
03026 xcb_render_reference_glyph_set (xcb_connection_t *c ,
03027 xcb_render_glyphset_t gsid ,
03028 xcb_render_glyphset_t existing );
03029
03042
03043
03044
03045
03046
03047
03048
03049
03050
03051
03052 xcb_void_cookie_t
03053 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
03054 xcb_render_glyphset_t glyphset );
03055
03065
03066
03067
03068
03069
03070
03071
03072
03073
03074
03075 xcb_void_cookie_t
03076 xcb_render_free_glyph_set (xcb_connection_t *c ,
03077 xcb_render_glyphset_t glyphset );
03078
03091
03092
03093
03094
03095
03096
03097
03098
03099
03100
03101
03102
03103
03104
03105
03106 xcb_void_cookie_t
03107 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
03108 xcb_render_glyphset_t glyphset ,
03109 uint32_t glyphs_len ,
03110 const uint32_t *glyphids ,
03111 const xcb_render_glyphinfo_t *glyphs ,
03112 uint32_t data_len ,
03113 const uint8_t *data );
03114
03124
03125
03126
03127
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138
03139 xcb_void_cookie_t
03140 xcb_render_add_glyphs (xcb_connection_t *c ,
03141 xcb_render_glyphset_t glyphset ,
03142 uint32_t glyphs_len ,
03143 const uint32_t *glyphids ,
03144 const xcb_render_glyphinfo_t *glyphs ,
03145 uint32_t data_len ,
03146 const uint8_t *data );
03147
03160
03161
03162
03163
03164
03165
03166
03167
03168
03169
03170
03171
03172 xcb_void_cookie_t
03173 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
03174 xcb_render_glyphset_t glyphset ,
03175 uint32_t glyphs_len ,
03176 const xcb_render_glyph_t *glyphs );
03177
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197
03198
03199 xcb_void_cookie_t
03200 xcb_render_free_glyphs (xcb_connection_t *c ,
03201 xcb_render_glyphset_t glyphset ,
03202 uint32_t glyphs_len ,
03203 const xcb_render_glyph_t *glyphs );
03204
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227
03228
03229
03230
03231
03232
03233
03234
03235 xcb_void_cookie_t
03236 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
03237 uint8_t op ,
03238 xcb_render_picture_t src ,
03239 xcb_render_picture_t dst ,
03240 xcb_render_pictformat_t mask_format ,
03241 xcb_render_glyphset_t glyphset ,
03242 int16_t src_x ,
03243 int16_t src_y ,
03244 uint32_t glyphcmds_len ,
03245 const uint8_t *glyphcmds );
03246
03256
03257
03258
03259
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269
03270
03271
03272
03273
03274 xcb_void_cookie_t
03275 xcb_render_composite_glyphs_8 (xcb_connection_t *c ,
03276 uint8_t op ,
03277 xcb_render_picture_t src ,
03278 xcb_render_picture_t dst ,
03279 xcb_render_pictformat_t mask_format ,
03280 xcb_render_glyphset_t glyphset ,
03281 int16_t src_x ,
03282 int16_t src_y ,
03283 uint32_t glyphcmds_len ,
03284 const uint8_t *glyphcmds );
03285
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315
03316 xcb_void_cookie_t
03317 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
03318 uint8_t op ,
03319 xcb_render_picture_t src ,
03320 xcb_render_picture_t dst ,
03321 xcb_render_pictformat_t mask_format ,
03322 xcb_render_glyphset_t glyphset ,
03323 int16_t src_x ,
03324 int16_t src_y ,
03325 uint32_t glyphcmds_len ,
03326 const uint8_t *glyphcmds );
03327
03337
03338
03339
03340
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351
03352
03353
03354
03355 xcb_void_cookie_t
03356 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
03357 uint8_t op ,
03358 xcb_render_picture_t src ,
03359 xcb_render_picture_t dst ,
03360 xcb_render_pictformat_t mask_format ,
03361 xcb_render_glyphset_t glyphset ,
03362 int16_t src_x ,
03363 int16_t src_y ,
03364 uint32_t glyphcmds_len ,
03365 const uint8_t *glyphcmds );
03366
03379
03380
03381
03382
03383
03384
03385
03386
03387
03388
03389
03390
03391
03392
03393
03394
03395
03396
03397 xcb_void_cookie_t
03398 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
03399 uint8_t op ,
03400 xcb_render_picture_t src ,
03401 xcb_render_picture_t dst ,
03402 xcb_render_pictformat_t mask_format ,
03403 xcb_render_glyphset_t glyphset ,
03404 int16_t src_x ,
03405 int16_t src_y ,
03406 uint32_t glyphcmds_len ,
03407 const uint8_t *glyphcmds );
03408
03418
03419
03420
03421
03422
03423
03424
03425
03426
03427
03428
03429
03430
03431
03432
03433
03434
03435
03436 xcb_void_cookie_t
03437 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
03438 uint8_t op ,
03439 xcb_render_picture_t src ,
03440 xcb_render_picture_t dst ,
03441 xcb_render_pictformat_t mask_format ,
03442 xcb_render_glyphset_t glyphset ,
03443 int16_t src_x ,
03444 int16_t src_y ,
03445 uint32_t glyphcmds_len ,
03446 const uint8_t *glyphcmds );
03447
03460
03461
03462
03463
03464
03465
03466
03467
03468
03469
03470
03471
03472
03473
03474 xcb_void_cookie_t
03475 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
03476 uint8_t op ,
03477 xcb_render_picture_t dst ,
03478 xcb_render_color_t color ,
03479 uint32_t rects_len ,
03480 const xcb_rectangle_t *rects );
03481
03491
03492
03493
03494
03495
03496
03497
03498
03499
03500
03501
03502
03503
03504
03505 xcb_void_cookie_t
03506 xcb_render_fill_rectangles (xcb_connection_t *c ,
03507 uint8_t op ,
03508 xcb_render_picture_t dst ,
03509 xcb_render_color_t color ,
03510 uint32_t rects_len ,
03511 const xcb_rectangle_t *rects );
03512
03525
03526
03527
03528
03529
03530
03531
03532
03533
03534
03535
03536
03537
03538 xcb_void_cookie_t
03539 xcb_render_create_cursor_checked (xcb_connection_t *c ,
03540 xcb_cursor_t cid ,
03541 xcb_render_picture_t source ,
03542 uint16_t x ,
03543 uint16_t y );
03544
03554
03555
03556
03557
03558
03559
03560
03561
03562
03563
03564
03565
03566
03567 xcb_void_cookie_t
03568 xcb_render_create_cursor (xcb_connection_t *c ,
03569 xcb_cursor_t cid ,
03570 xcb_render_picture_t source ,
03571 uint16_t x ,
03572 uint16_t y );
03573
03583
03584
03585
03586
03587
03588
03589
03590
03591
03592 void
03593 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
03594
03605
03606
03607
03608
03609
03610
03611
03612
03613
03614 xcb_generic_iterator_t
03615 xcb_render_transform_end (xcb_render_transform_iterator_t i );
03616
03629
03630
03631
03632
03633
03634
03635
03636
03637
03638
03639
03640 xcb_void_cookie_t
03641 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
03642 xcb_render_picture_t picture ,
03643 xcb_render_transform_t transform );
03644
03654
03655
03656
03657
03658
03659
03660
03661
03662
03663
03664
03665 xcb_void_cookie_t
03666 xcb_render_set_picture_transform (xcb_connection_t *c ,
03667 xcb_render_picture_t picture ,
03668 xcb_render_transform_t transform );
03669
03679
03680
03681
03682
03683
03684
03685
03686
03687
03688
03689 xcb_render_query_filters_cookie_t
03690 xcb_render_query_filters (xcb_connection_t *c ,
03691 xcb_drawable_t drawable );
03692
03705
03706
03707
03708
03709
03710
03711
03712
03713
03714
03715 xcb_render_query_filters_cookie_t
03716 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
03717 xcb_drawable_t drawable );
03718
03719
03720
03721
03722
03723
03724
03725
03726
03727
03728
03729 uint16_t *
03730 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
03731
03732
03733
03734
03735
03736
03737
03738
03739
03740
03741
03742 int
03743 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
03744
03745
03746
03747
03748
03749
03750
03751
03752
03753
03754
03755 xcb_generic_iterator_t
03756 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
03757
03758
03759
03760
03761
03762
03763
03764
03765
03766
03767
03768 int
03769 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
03770
03771
03772
03773
03774
03775
03776
03777
03778
03779
03780
03781 xcb_str_iterator_t
03782 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
03783
03799
03800
03801
03802
03803
03804
03805
03806
03807
03808
03809
03810 xcb_render_query_filters_reply_t *
03811 xcb_render_query_filters_reply (xcb_connection_t *c ,
03812 xcb_render_query_filters_cookie_t cookie ,
03813 xcb_generic_error_t **e );
03814
03827
03828
03829
03830
03831
03832
03833
03834
03835
03836
03837
03838
03839
03840
03841 xcb_void_cookie_t
03842 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03843 xcb_render_picture_t picture ,
03844 uint16_t filter_len ,
03845 const char *filter ,
03846 uint32_t values_len ,
03847 const xcb_render_fixed_t *values );
03848
03858
03859
03860
03861
03862
03863
03864
03865
03866
03867
03868
03869
03870
03871
03872 xcb_void_cookie_t
03873 xcb_render_set_picture_filter (xcb_connection_t *c ,
03874 xcb_render_picture_t picture ,
03875 uint16_t filter_len ,
03876 const char *filter ,
03877 uint32_t values_len ,
03878 const xcb_render_fixed_t *values );
03879
03889
03890
03891
03892
03893
03894
03895
03896
03897
03898 void
03899 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03900
03911
03912
03913
03914
03915
03916
03917
03918
03919
03920 xcb_generic_iterator_t
03921 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03922
03935
03936
03937
03938
03939
03940
03941
03942
03943
03944
03945
03946
03947 xcb_void_cookie_t
03948 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03949 xcb_cursor_t cid ,
03950 uint32_t cursors_len ,
03951 const xcb_render_animcursorelt_t *cursors );
03952
03962
03963
03964
03965
03966
03967
03968
03969
03970
03971
03972
03973
03974 xcb_void_cookie_t
03975 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03976 xcb_cursor_t cid ,
03977 uint32_t cursors_len ,
03978 const xcb_render_animcursorelt_t *cursors );
03979
03989
03990
03991
03992
03993
03994
03995
03996
03997
03998 void
03999 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
04000
04011
04012
04013
04014
04015
04016
04017
04018
04019
04020 xcb_generic_iterator_t
04021 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
04022
04032
04033
04034
04035
04036
04037
04038
04039
04040
04041 void
04042 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
04043
04054
04055
04056
04057
04058
04059
04060
04061
04062
04063 xcb_generic_iterator_t
04064 xcb_render_trap_end (xcb_render_trap_iterator_t i );
04065
04078
04079
04080
04081
04082
04083
04084
04085
04086
04087
04088
04089
04090
04091
04092 xcb_void_cookie_t
04093 xcb_render_add_traps_checked (xcb_connection_t *c ,
04094 xcb_render_picture_t picture ,
04095 int16_t x_off ,
04096 int16_t y_off ,
04097 uint32_t traps_len ,
04098 const xcb_render_trap_t *traps );
04099
04109
04110
04111
04112
04113
04114
04115
04116
04117
04118
04119
04120
04121
04122
04123 xcb_void_cookie_t
04124 xcb_render_add_traps (xcb_connection_t *c ,
04125 xcb_render_picture_t picture ,
04126 int16_t x_off ,
04127 int16_t y_off ,
04128 uint32_t traps_len ,
04129 const xcb_render_trap_t *traps );
04130
04143
04144
04145
04146
04147
04148
04149
04150
04151
04152
04153
04154 xcb_void_cookie_t
04155 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
04156 xcb_render_picture_t picture ,
04157 xcb_render_color_t color );
04158
04168
04169
04170
04171
04172
04173
04174
04175
04176
04177
04178
04179 xcb_void_cookie_t
04180 xcb_render_create_solid_fill (xcb_connection_t *c ,
04181 xcb_render_picture_t picture ,
04182 xcb_render_color_t color );
04183
04196
04197
04198
04199
04200
04201
04202
04203
04204
04205
04206
04207
04208
04209
04210
04211 xcb_void_cookie_t
04212 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
04213 xcb_render_picture_t picture ,
04214 xcb_render_pointfix_t p1 ,
04215 xcb_render_pointfix_t p2 ,
04216 uint32_t num_stops ,
04217 const xcb_render_fixed_t *stops ,
04218 const xcb_render_color_t *colors );
04219
04229
04230
04231
04232
04233
04234
04235
04236
04237
04238
04239
04240
04241
04242
04243
04244 xcb_void_cookie_t
04245 xcb_render_create_linear_gradient (xcb_connection_t *c ,
04246 xcb_render_picture_t picture ,
04247 xcb_render_pointfix_t p1 ,
04248 xcb_render_pointfix_t p2 ,
04249 uint32_t num_stops ,
04250 const xcb_render_fixed_t *stops ,
04251 const xcb_render_color_t *colors );
04252
04265
04266
04267
04268
04269
04270
04271
04272
04273
04274
04275
04276
04277
04278
04279
04280
04281
04282 xcb_void_cookie_t
04283 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
04284 xcb_render_picture_t picture ,
04285 xcb_render_pointfix_t inner ,
04286 xcb_render_pointfix_t outer ,
04287 xcb_render_fixed_t inner_radius ,
04288 xcb_render_fixed_t outer_radius ,
04289 uint32_t num_stops ,
04290 const xcb_render_fixed_t *stops ,
04291 const xcb_render_color_t *colors );
04292
04302
04303
04304
04305
04306
04307
04308
04309
04310
04311
04312
04313
04314
04315
04316
04317
04318
04319 xcb_void_cookie_t
04320 xcb_render_create_radial_gradient (xcb_connection_t *c ,
04321 xcb_render_picture_t picture ,
04322 xcb_render_pointfix_t inner ,
04323 xcb_render_pointfix_t outer ,
04324 xcb_render_fixed_t inner_radius ,
04325 xcb_render_fixed_t outer_radius ,
04326 uint32_t num_stops ,
04327 const xcb_render_fixed_t *stops ,
04328 const xcb_render_color_t *colors );
04329
04342
04343
04344
04345
04346
04347
04348
04349
04350
04351
04352
04353
04354
04355
04356
04357 xcb_void_cookie_t
04358 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
04359 xcb_render_picture_t picture ,
04360 xcb_render_pointfix_t center ,
04361 xcb_render_fixed_t angle ,
04362 uint32_t num_stops ,
04363 const xcb_render_fixed_t *stops ,
04364 const xcb_render_color_t *colors );
04365
04375
04376
04377
04378
04379
04380
04381
04382
04383
04384
04385
04386
04387
04388
04389
04390 xcb_void_cookie_t
04391 xcb_render_create_conical_gradient (xcb_connection_t *c ,
04392 xcb_render_picture_t picture ,
04393 xcb_render_pointfix_t center ,
04394 xcb_render_fixed_t angle ,
04395 uint32_t num_stops ,
04396 const xcb_render_fixed_t *stops ,
04397 const xcb_render_color_t *colors );
04398
04399
04400 #ifdef __cplusplus
04401 }
04402 #endif
04403
04404 #endif
04405