00001
00002
00003
00004
00005
00012 #ifndef __RENDER_H
00013 #define __RENDER_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #define XCB_RENDER_MAJOR_VERSION 0
00019 #define XCB_RENDER_MINOR_VERSION 10
00020
00021 extern xcb_extension_t xcb_render_id;
00022
00023 typedef enum xcb_render_pict_type_t {
00024 XCB_RENDER_PICT_TYPE_INDEXED,
00025 XCB_RENDER_PICT_TYPE_DIRECT
00026 } xcb_render_pict_type_t;
00027
00028 typedef enum xcb_render_pict_op_t {
00029 XCB_RENDER_PICT_OP_CLEAR,
00030 XCB_RENDER_PICT_OP_SRC,
00031 XCB_RENDER_PICT_OP_DST,
00032 XCB_RENDER_PICT_OP_OVER,
00033 XCB_RENDER_PICT_OP_OVER_REVERSE,
00034 XCB_RENDER_PICT_OP_IN,
00035 XCB_RENDER_PICT_OP_IN_REVERSE,
00036 XCB_RENDER_PICT_OP_OUT,
00037 XCB_RENDER_PICT_OP_OUT_REVERSE,
00038 XCB_RENDER_PICT_OP_ATOP,
00039 XCB_RENDER_PICT_OP_ATOP_REVERSE,
00040 XCB_RENDER_PICT_OP_XOR,
00041 XCB_RENDER_PICT_OP_ADD,
00042 XCB_RENDER_PICT_OP_SATURATE,
00043 XCB_RENDER_PICT_OP_DISJOINT_CLEAR = 0x10,
00044 XCB_RENDER_PICT_OP_DISJOINT_SRC,
00045 XCB_RENDER_PICT_OP_DISJOINT_DST,
00046 XCB_RENDER_PICT_OP_DISJOINT_OVER,
00047 XCB_RENDER_PICT_OP_DISJOINT_OVER_REVERSE,
00048 XCB_RENDER_PICT_OP_DISJOINT_IN,
00049 XCB_RENDER_PICT_OP_DISJOINT_IN_REVERSE,
00050 XCB_RENDER_PICT_OP_DISJOINT_OUT,
00051 XCB_RENDER_PICT_OP_DISJOINT_OUT_REVERSE,
00052 XCB_RENDER_PICT_OP_DISJOINT_ATOP,
00053 XCB_RENDER_PICT_OP_DISJOINT_ATOP_REVERSE,
00054 XCB_RENDER_PICT_OP_DISJOINT_XOR,
00055 XCB_RENDER_PICT_OP_CONJOINT_CLEAR = 0x20,
00056 XCB_RENDER_PICT_OP_CONJOINT_SRC,
00057 XCB_RENDER_PICT_OP_CONJOINT_DST,
00058 XCB_RENDER_PICT_OP_CONJOINT_OVER,
00059 XCB_RENDER_PICT_OP_CONJOINT_OVER_REVERSE,
00060 XCB_RENDER_PICT_OP_CONJOINT_IN,
00061 XCB_RENDER_PICT_OP_CONJOINT_IN_REVERSE,
00062 XCB_RENDER_PICT_OP_CONJOINT_OUT,
00063 XCB_RENDER_PICT_OP_CONJOINT_OUT_REVERSE,
00064 XCB_RENDER_PICT_OP_CONJOINT_ATOP,
00065 XCB_RENDER_PICT_OP_CONJOINT_ATOP_REVERSE,
00066 XCB_RENDER_PICT_OP_CONJOINT_XOR
00067 } xcb_render_pict_op_t;
00068
00069 typedef enum xcb_render_poly_edge_t {
00070 XCB_RENDER_POLY_EDGE_SHARP,
00071 XCB_RENDER_POLY_EDGE_SMOOTH
00072 } xcb_render_poly_edge_t;
00073
00074 typedef enum xcb_render_poly_mode_t {
00075 XCB_RENDER_POLY_MODE_PRECISE,
00076 XCB_RENDER_POLY_MODE_IMPRECISE
00077 } xcb_render_poly_mode_t;
00078
00079 typedef enum xcb_render_cp_t {
00080 XCB_RENDER_CP_REPEAT = (1 << 0),
00081 XCB_RENDER_CP_ALPHA_MAP = (1 << 1),
00082 XCB_RENDER_CP_ALPHA_X_ORIGIN = (1 << 2),
00083 XCB_RENDER_CP_ALPHA_Y_ORIGIN = (1 << 3),
00084 XCB_RENDER_CP_CLIP_X_ORIGIN = (1 << 4),
00085 XCB_RENDER_CP_CLIP_Y_ORIGIN = (1 << 5),
00086 XCB_RENDER_CP_CLIP_MASK = (1 << 6),
00087 XCB_RENDER_CP_GRAPHICS_EXPOSURE = (1 << 7),
00088 XCB_RENDER_CP_SUBWINDOW_MODE = (1 << 8),
00089 XCB_RENDER_CP_POLY_EDGE = (1 << 9),
00090 XCB_RENDER_CP_POLY_MODE = (1 << 10),
00091 XCB_RENDER_CP_DITHER = (1 << 11),
00092 XCB_RENDER_CP_COMPONENT_ALPHA = (1 << 12)
00093 } xcb_render_cp_t;
00094
00095 typedef enum xcb_render_sub_pixel_t {
00096 XCB_RENDER_SUB_PIXEL_UNKNOWN,
00097 XCB_RENDER_SUB_PIXEL_HORIZONTAL_RGB,
00098 XCB_RENDER_SUB_PIXEL_HORIZONTAL_BGR,
00099 XCB_RENDER_SUB_PIXEL_VERTICAL_RGB,
00100 XCB_RENDER_SUB_PIXEL_VERTICAL_BGR,
00101 XCB_RENDER_SUB_PIXEL_NONE
00102 } xcb_render_sub_pixel_t;
00103
00104 typedef enum xcb_render_repeat_t {
00105 XCB_RENDER_REPEAT_NONE,
00106 XCB_RENDER_REPEAT_NORMAL,
00107 XCB_RENDER_REPEAT_PAD,
00108 XCB_RENDER_REPEAT_REFLECT
00109 } xcb_render_repeat_t;
00110
00111 typedef uint32_t xcb_render_glyph_t;
00112
00116 typedef struct xcb_render_glyph_iterator_t {
00117 xcb_render_glyph_t *data;
00118 int rem;
00119 int index;
00120 } xcb_render_glyph_iterator_t;
00121
00122 typedef uint32_t xcb_render_glyphset_t;
00123
00127 typedef struct xcb_render_glyphset_iterator_t {
00128 xcb_render_glyphset_t *data;
00129 int rem;
00130 int index;
00131 } xcb_render_glyphset_iterator_t;
00132
00133 typedef uint32_t xcb_render_picture_t;
00134
00138 typedef struct xcb_render_picture_iterator_t {
00139 xcb_render_picture_t *data;
00140 int rem;
00141 int index;
00142 } xcb_render_picture_iterator_t;
00143
00144 typedef uint32_t xcb_render_pictformat_t;
00145
00149 typedef struct xcb_render_pictformat_iterator_t {
00150 xcb_render_pictformat_t *data;
00151 int rem;
00152 int index;
00153 } xcb_render_pictformat_iterator_t;
00154
00155 typedef int32_t xcb_render_fixed_t;
00156
00160 typedef struct xcb_render_fixed_iterator_t {
00161 xcb_render_fixed_t *data;
00162 int rem;
00163 int index;
00164 } xcb_render_fixed_iterator_t;
00165
00167 #define XCB_RENDER_PICT_FORMAT 0
00168
00172 typedef struct xcb_render_pict_format_error_t {
00173 uint8_t response_type;
00174 uint8_t error_code;
00175 uint16_t sequence;
00176 } xcb_render_pict_format_error_t;
00177
00179 #define XCB_RENDER_PICTURE 1
00180
00184 typedef struct xcb_render_picture_error_t {
00185 uint8_t response_type;
00186 uint8_t error_code;
00187 uint16_t sequence;
00188 } xcb_render_picture_error_t;
00189
00191 #define XCB_RENDER_PICT_OP 2
00192
00196 typedef struct xcb_render_pict_op_error_t {
00197 uint8_t response_type;
00198 uint8_t error_code;
00199 uint16_t sequence;
00200 } xcb_render_pict_op_error_t;
00201
00203 #define XCB_RENDER_GLYPH_SET 3
00204
00208 typedef struct xcb_render_glyph_set_error_t {
00209 uint8_t response_type;
00210 uint8_t error_code;
00211 uint16_t sequence;
00212 } xcb_render_glyph_set_error_t;
00213
00215 #define XCB_RENDER_GLYPH 4
00216
00220 typedef struct xcb_render_glyph_error_t {
00221 uint8_t response_type;
00222 uint8_t error_code;
00223 uint16_t sequence;
00224 } xcb_render_glyph_error_t;
00225
00229 typedef struct xcb_render_directformat_t {
00230 uint16_t red_shift;
00231 uint16_t red_mask;
00232 uint16_t green_shift;
00233 uint16_t green_mask;
00234 uint16_t blue_shift;
00235 uint16_t blue_mask;
00236 uint16_t alpha_shift;
00237 uint16_t alpha_mask;
00238 } xcb_render_directformat_t;
00239
00243 typedef struct xcb_render_directformat_iterator_t {
00244 xcb_render_directformat_t *data;
00245 int rem;
00246 int index;
00247 } xcb_render_directformat_iterator_t;
00248
00252 typedef struct xcb_render_pictforminfo_t {
00253 xcb_render_pictformat_t id;
00254 uint8_t type;
00255 uint8_t depth;
00256 uint8_t pad0[2];
00257 xcb_render_directformat_t direct;
00258 xcb_colormap_t colormap;
00259 } xcb_render_pictforminfo_t;
00260
00264 typedef struct xcb_render_pictforminfo_iterator_t {
00265 xcb_render_pictforminfo_t *data;
00266 int rem;
00267 int index;
00268 } xcb_render_pictforminfo_iterator_t;
00269
00273 typedef struct xcb_render_pictvisual_t {
00274 xcb_visualid_t visual;
00275 xcb_render_pictformat_t format;
00276 } xcb_render_pictvisual_t;
00277
00281 typedef struct xcb_render_pictvisual_iterator_t {
00282 xcb_render_pictvisual_t *data;
00283 int rem;
00284 int index;
00285 } xcb_render_pictvisual_iterator_t;
00286
00290 typedef struct xcb_render_pictdepth_t {
00291 uint8_t depth;
00292 uint8_t pad0;
00293 uint16_t num_visuals;
00294 uint8_t pad1[4];
00295 } xcb_render_pictdepth_t;
00296
00300 typedef struct xcb_render_pictdepth_iterator_t {
00301 xcb_render_pictdepth_t *data;
00302 int rem;
00303 int index;
00304 } xcb_render_pictdepth_iterator_t;
00305
00309 typedef struct xcb_render_pictscreen_t {
00310 uint32_t num_depths;
00311 xcb_render_pictformat_t fallback;
00312 } xcb_render_pictscreen_t;
00313
00317 typedef struct xcb_render_pictscreen_iterator_t {
00318 xcb_render_pictscreen_t *data;
00319 int rem;
00320 int index;
00321 } xcb_render_pictscreen_iterator_t;
00322
00326 typedef struct xcb_render_indexvalue_t {
00327 uint32_t pixel;
00328 uint16_t red;
00329 uint16_t green;
00330 uint16_t blue;
00331 uint16_t alpha;
00332 } xcb_render_indexvalue_t;
00333
00337 typedef struct xcb_render_indexvalue_iterator_t {
00338 xcb_render_indexvalue_t *data;
00339 int rem;
00340 int index;
00341 } xcb_render_indexvalue_iterator_t;
00342
00346 typedef struct xcb_render_color_t {
00347 uint16_t red;
00348 uint16_t green;
00349 uint16_t blue;
00350 uint16_t alpha;
00351 } xcb_render_color_t;
00352
00356 typedef struct xcb_render_color_iterator_t {
00357 xcb_render_color_t *data;
00358 int rem;
00359 int index;
00360 } xcb_render_color_iterator_t;
00361
00365 typedef struct xcb_render_pointfix_t {
00366 xcb_render_fixed_t x;
00367 xcb_render_fixed_t y;
00368 } xcb_render_pointfix_t;
00369
00373 typedef struct xcb_render_pointfix_iterator_t {
00374 xcb_render_pointfix_t *data;
00375 int rem;
00376 int index;
00377 } xcb_render_pointfix_iterator_t;
00378
00382 typedef struct xcb_render_linefix_t {
00383 xcb_render_pointfix_t p1;
00384 xcb_render_pointfix_t p2;
00385 } xcb_render_linefix_t;
00386
00390 typedef struct xcb_render_linefix_iterator_t {
00391 xcb_render_linefix_t *data;
00392 int rem;
00393 int index;
00394 } xcb_render_linefix_iterator_t;
00395
00399 typedef struct xcb_render_triangle_t {
00400 xcb_render_pointfix_t p1;
00401 xcb_render_pointfix_t p2;
00402 xcb_render_pointfix_t p3;
00403 } xcb_render_triangle_t;
00404
00408 typedef struct xcb_render_triangle_iterator_t {
00409 xcb_render_triangle_t *data;
00410 int rem;
00411 int index;
00412 } xcb_render_triangle_iterator_t;
00413
00417 typedef struct xcb_render_trapezoid_t {
00418 xcb_render_fixed_t top;
00419 xcb_render_fixed_t bottom;
00420 xcb_render_linefix_t left;
00421 xcb_render_linefix_t right;
00422 } xcb_render_trapezoid_t;
00423
00427 typedef struct xcb_render_trapezoid_iterator_t {
00428 xcb_render_trapezoid_t *data;
00429 int rem;
00430 int index;
00431 } xcb_render_trapezoid_iterator_t;
00432
00436 typedef struct xcb_render_glyphinfo_t {
00437 uint16_t width;
00438 uint16_t height;
00439 int16_t x;
00440 int16_t y;
00441 int16_t x_off;
00442 int16_t y_off;
00443 } xcb_render_glyphinfo_t;
00444
00448 typedef struct xcb_render_glyphinfo_iterator_t {
00449 xcb_render_glyphinfo_t *data;
00450 int rem;
00451 int index;
00452 } xcb_render_glyphinfo_iterator_t;
00453
00457 typedef struct xcb_render_query_version_cookie_t {
00458 unsigned int sequence;
00459 } xcb_render_query_version_cookie_t;
00460
00462 #define XCB_RENDER_QUERY_VERSION 0
00463
00467 typedef struct xcb_render_query_version_request_t {
00468 uint8_t major_opcode;
00469 uint8_t minor_opcode;
00470 uint16_t length;
00471 uint32_t client_major_version;
00472 uint32_t client_minor_version;
00473 } xcb_render_query_version_request_t;
00474
00478 typedef struct xcb_render_query_version_reply_t {
00479 uint8_t response_type;
00480 uint8_t pad0;
00481 uint16_t sequence;
00482 uint32_t length;
00483 uint32_t major_version;
00484 uint32_t minor_version;
00485 uint8_t pad1[16];
00486 } xcb_render_query_version_reply_t;
00487
00491 typedef struct xcb_render_query_pict_formats_cookie_t {
00492 unsigned int sequence;
00493 } xcb_render_query_pict_formats_cookie_t;
00494
00496 #define XCB_RENDER_QUERY_PICT_FORMATS 1
00497
00501 typedef struct xcb_render_query_pict_formats_request_t {
00502 uint8_t major_opcode;
00503 uint8_t minor_opcode;
00504 uint16_t length;
00505 } xcb_render_query_pict_formats_request_t;
00506
00510 typedef struct xcb_render_query_pict_formats_reply_t {
00511 uint8_t response_type;
00512 uint8_t pad0;
00513 uint16_t sequence;
00514 uint32_t length;
00515 uint32_t num_formats;
00516 uint32_t num_screens;
00517 uint32_t num_depths;
00518 uint32_t num_visuals;
00519 uint32_t num_subpixel;
00520 uint8_t pad1[4];
00521 } xcb_render_query_pict_formats_reply_t;
00522
00526 typedef struct xcb_render_query_pict_index_values_cookie_t {
00527 unsigned int sequence;
00528 } xcb_render_query_pict_index_values_cookie_t;
00529
00531 #define XCB_RENDER_QUERY_PICT_INDEX_VALUES 2
00532
00536 typedef struct xcb_render_query_pict_index_values_request_t {
00537 uint8_t major_opcode;
00538 uint8_t minor_opcode;
00539 uint16_t length;
00540 xcb_render_pictformat_t format;
00541 } xcb_render_query_pict_index_values_request_t;
00542
00546 typedef struct xcb_render_query_pict_index_values_reply_t {
00547 uint8_t response_type;
00548 uint8_t pad0;
00549 uint16_t sequence;
00550 uint32_t length;
00551 uint32_t num_values;
00552 uint8_t pad1[20];
00553 } xcb_render_query_pict_index_values_reply_t;
00554
00556 #define XCB_RENDER_CREATE_PICTURE 4
00557
00561 typedef struct xcb_render_create_picture_request_t {
00562 uint8_t major_opcode;
00563 uint8_t minor_opcode;
00564 uint16_t length;
00565 xcb_render_picture_t pid;
00566 xcb_drawable_t drawable;
00567 xcb_render_pictformat_t format;
00568 uint32_t value_mask;
00569 } xcb_render_create_picture_request_t;
00570
00572 #define XCB_RENDER_CHANGE_PICTURE 5
00573
00577 typedef struct xcb_render_change_picture_request_t {
00578 uint8_t major_opcode;
00579 uint8_t minor_opcode;
00580 uint16_t length;
00581 xcb_render_picture_t picture;
00582 uint32_t value_mask;
00583 } xcb_render_change_picture_request_t;
00584
00586 #define XCB_RENDER_SET_PICTURE_CLIP_RECTANGLES 6
00587
00591 typedef struct xcb_render_set_picture_clip_rectangles_request_t {
00592 uint8_t major_opcode;
00593 uint8_t minor_opcode;
00594 uint16_t length;
00595 xcb_render_picture_t picture;
00596 int16_t clip_x_origin;
00597 int16_t clip_y_origin;
00598 } xcb_render_set_picture_clip_rectangles_request_t;
00599
00601 #define XCB_RENDER_FREE_PICTURE 7
00602
00606 typedef struct xcb_render_free_picture_request_t {
00607 uint8_t major_opcode;
00608 uint8_t minor_opcode;
00609 uint16_t length;
00610 xcb_render_picture_t picture;
00611 } xcb_render_free_picture_request_t;
00612
00614 #define XCB_RENDER_COMPOSITE 8
00615
00619 typedef struct xcb_render_composite_request_t {
00620 uint8_t major_opcode;
00621 uint8_t minor_opcode;
00622 uint16_t length;
00623 uint8_t op;
00624 uint8_t pad0[3];
00625 xcb_render_picture_t src;
00626 xcb_render_picture_t mask;
00627 xcb_render_picture_t dst;
00628 int16_t src_x;
00629 int16_t src_y;
00630 int16_t mask_x;
00631 int16_t mask_y;
00632 int16_t dst_x;
00633 int16_t dst_y;
00634 uint16_t width;
00635 uint16_t height;
00636 } xcb_render_composite_request_t;
00637
00639 #define XCB_RENDER_TRAPEZOIDS 10
00640
00644 typedef struct xcb_render_trapezoids_request_t {
00645 uint8_t major_opcode;
00646 uint8_t minor_opcode;
00647 uint16_t length;
00648 uint8_t op;
00649 uint8_t pad0[3];
00650 xcb_render_picture_t src;
00651 xcb_render_picture_t dst;
00652 xcb_render_pictformat_t mask_format;
00653 int16_t src_x;
00654 int16_t src_y;
00655 } xcb_render_trapezoids_request_t;
00656
00658 #define XCB_RENDER_TRIANGLES 11
00659
00663 typedef struct xcb_render_triangles_request_t {
00664 uint8_t major_opcode;
00665 uint8_t minor_opcode;
00666 uint16_t length;
00667 uint8_t op;
00668 uint8_t pad0[3];
00669 xcb_render_picture_t src;
00670 xcb_render_picture_t dst;
00671 xcb_render_pictformat_t mask_format;
00672 int16_t src_x;
00673 int16_t src_y;
00674 } xcb_render_triangles_request_t;
00675
00677 #define XCB_RENDER_TRI_STRIP 12
00678
00682 typedef struct xcb_render_tri_strip_request_t {
00683 uint8_t major_opcode;
00684 uint8_t minor_opcode;
00685 uint16_t length;
00686 uint8_t op;
00687 uint8_t pad0[3];
00688 xcb_render_picture_t src;
00689 xcb_render_picture_t dst;
00690 xcb_render_pictformat_t mask_format;
00691 int16_t src_x;
00692 int16_t src_y;
00693 } xcb_render_tri_strip_request_t;
00694
00696 #define XCB_RENDER_TRI_FAN 13
00697
00701 typedef struct xcb_render_tri_fan_request_t {
00702 uint8_t major_opcode;
00703 uint8_t minor_opcode;
00704 uint16_t length;
00705 uint8_t op;
00706 uint8_t pad0[3];
00707 xcb_render_picture_t src;
00708 xcb_render_picture_t dst;
00709 xcb_render_pictformat_t mask_format;
00710 int16_t src_x;
00711 int16_t src_y;
00712 } xcb_render_tri_fan_request_t;
00713
00715 #define XCB_RENDER_CREATE_GLYPH_SET 17
00716
00720 typedef struct xcb_render_create_glyph_set_request_t {
00721 uint8_t major_opcode;
00722 uint8_t minor_opcode;
00723 uint16_t length;
00724 xcb_render_glyphset_t gsid;
00725 xcb_render_pictformat_t format;
00726 } xcb_render_create_glyph_set_request_t;
00727
00729 #define XCB_RENDER_REFERENCE_GLYPH_SET 18
00730
00734 typedef struct xcb_render_reference_glyph_set_request_t {
00735 uint8_t major_opcode;
00736 uint8_t minor_opcode;
00737 uint16_t length;
00738 xcb_render_glyphset_t gsid;
00739 xcb_render_glyphset_t existing;
00740 } xcb_render_reference_glyph_set_request_t;
00741
00743 #define XCB_RENDER_FREE_GLYPH_SET 19
00744
00748 typedef struct xcb_render_free_glyph_set_request_t {
00749 uint8_t major_opcode;
00750 uint8_t minor_opcode;
00751 uint16_t length;
00752 xcb_render_glyphset_t glyphset;
00753 } xcb_render_free_glyph_set_request_t;
00754
00756 #define XCB_RENDER_ADD_GLYPHS 20
00757
00761 typedef struct xcb_render_add_glyphs_request_t {
00762 uint8_t major_opcode;
00763 uint8_t minor_opcode;
00764 uint16_t length;
00765 xcb_render_glyphset_t glyphset;
00766 uint32_t glyphs_len;
00767 } xcb_render_add_glyphs_request_t;
00768
00770 #define XCB_RENDER_FREE_GLYPHS 22
00771
00775 typedef struct xcb_render_free_glyphs_request_t {
00776 uint8_t major_opcode;
00777 uint8_t minor_opcode;
00778 uint16_t length;
00779 xcb_render_glyphset_t glyphset;
00780 } xcb_render_free_glyphs_request_t;
00781
00783 #define XCB_RENDER_COMPOSITE_GLYPHS_8 23
00784
00788 typedef struct xcb_render_composite_glyphs_8_request_t {
00789 uint8_t major_opcode;
00790 uint8_t minor_opcode;
00791 uint16_t length;
00792 uint8_t op;
00793 uint8_t pad0[3];
00794 xcb_render_picture_t src;
00795 xcb_render_picture_t dst;
00796 xcb_render_pictformat_t mask_format;
00797 xcb_render_glyphset_t glyphset;
00798 int16_t src_x;
00799 int16_t src_y;
00800 } xcb_render_composite_glyphs_8_request_t;
00801
00803 #define XCB_RENDER_COMPOSITE_GLYPHS_16 24
00804
00808 typedef struct xcb_render_composite_glyphs_16_request_t {
00809 uint8_t major_opcode;
00810 uint8_t minor_opcode;
00811 uint16_t length;
00812 uint8_t op;
00813 uint8_t pad0[3];
00814 xcb_render_picture_t src;
00815 xcb_render_picture_t dst;
00816 xcb_render_pictformat_t mask_format;
00817 xcb_render_glyphset_t glyphset;
00818 int16_t src_x;
00819 int16_t src_y;
00820 } xcb_render_composite_glyphs_16_request_t;
00821
00823 #define XCB_RENDER_COMPOSITE_GLYPHS_32 25
00824
00828 typedef struct xcb_render_composite_glyphs_32_request_t {
00829 uint8_t major_opcode;
00830 uint8_t minor_opcode;
00831 uint16_t length;
00832 uint8_t op;
00833 uint8_t pad0[3];
00834 xcb_render_picture_t src;
00835 xcb_render_picture_t dst;
00836 xcb_render_pictformat_t mask_format;
00837 xcb_render_glyphset_t glyphset;
00838 int16_t src_x;
00839 int16_t src_y;
00840 } xcb_render_composite_glyphs_32_request_t;
00841
00843 #define XCB_RENDER_FILL_RECTANGLES 26
00844
00848 typedef struct xcb_render_fill_rectangles_request_t {
00849 uint8_t major_opcode;
00850 uint8_t minor_opcode;
00851 uint16_t length;
00852 uint8_t op;
00853 uint8_t pad0[3];
00854 xcb_render_picture_t dst;
00855 xcb_render_color_t color;
00856 } xcb_render_fill_rectangles_request_t;
00857
00859 #define XCB_RENDER_CREATE_CURSOR 27
00860
00864 typedef struct xcb_render_create_cursor_request_t {
00865 uint8_t major_opcode;
00866 uint8_t minor_opcode;
00867 uint16_t length;
00868 xcb_cursor_t cid;
00869 xcb_render_picture_t source;
00870 uint16_t x;
00871 uint16_t y;
00872 } xcb_render_create_cursor_request_t;
00873
00877 typedef struct xcb_render_transform_t {
00878 xcb_render_fixed_t matrix11;
00879 xcb_render_fixed_t matrix12;
00880 xcb_render_fixed_t matrix13;
00881 xcb_render_fixed_t matrix21;
00882 xcb_render_fixed_t matrix22;
00883 xcb_render_fixed_t matrix23;
00884 xcb_render_fixed_t matrix31;
00885 xcb_render_fixed_t matrix32;
00886 xcb_render_fixed_t matrix33;
00887 } xcb_render_transform_t;
00888
00892 typedef struct xcb_render_transform_iterator_t {
00893 xcb_render_transform_t *data;
00894 int rem;
00895 int index;
00896 } xcb_render_transform_iterator_t;
00897
00899 #define XCB_RENDER_SET_PICTURE_TRANSFORM 28
00900
00904 typedef struct xcb_render_set_picture_transform_request_t {
00905 uint8_t major_opcode;
00906 uint8_t minor_opcode;
00907 uint16_t length;
00908 xcb_render_picture_t picture;
00909 xcb_render_transform_t transform;
00910 } xcb_render_set_picture_transform_request_t;
00911
00915 typedef struct xcb_render_query_filters_cookie_t {
00916 unsigned int sequence;
00917 } xcb_render_query_filters_cookie_t;
00918
00920 #define XCB_RENDER_QUERY_FILTERS 29
00921
00925 typedef struct xcb_render_query_filters_request_t {
00926 uint8_t major_opcode;
00927 uint8_t minor_opcode;
00928 uint16_t length;
00929 xcb_drawable_t drawable;
00930 } xcb_render_query_filters_request_t;
00931
00935 typedef struct xcb_render_query_filters_reply_t {
00936 uint8_t response_type;
00937 uint8_t pad0;
00938 uint16_t sequence;
00939 uint32_t length;
00940 uint32_t num_aliases;
00941 uint32_t num_filters;
00942 uint8_t pad1[16];
00943 } xcb_render_query_filters_reply_t;
00944
00946 #define XCB_RENDER_SET_PICTURE_FILTER 30
00947
00951 typedef struct xcb_render_set_picture_filter_request_t {
00952 uint8_t major_opcode;
00953 uint8_t minor_opcode;
00954 uint16_t length;
00955 xcb_render_picture_t picture;
00956 uint16_t filter_len;
00957 } xcb_render_set_picture_filter_request_t;
00958
00962 typedef struct xcb_render_animcursorelt_t {
00963 xcb_cursor_t cursor;
00964 uint32_t delay;
00965 } xcb_render_animcursorelt_t;
00966
00970 typedef struct xcb_render_animcursorelt_iterator_t {
00971 xcb_render_animcursorelt_t *data;
00972 int rem;
00973 int index;
00974 } xcb_render_animcursorelt_iterator_t;
00975
00977 #define XCB_RENDER_CREATE_ANIM_CURSOR 31
00978
00982 typedef struct xcb_render_create_anim_cursor_request_t {
00983 uint8_t major_opcode;
00984 uint8_t minor_opcode;
00985 uint16_t length;
00986 xcb_cursor_t cid;
00987 } xcb_render_create_anim_cursor_request_t;
00988
00992 typedef struct xcb_render_spanfix_t {
00993 xcb_render_fixed_t l;
00994 xcb_render_fixed_t r;
00995 xcb_render_fixed_t y;
00996 } xcb_render_spanfix_t;
00997
01001 typedef struct xcb_render_spanfix_iterator_t {
01002 xcb_render_spanfix_t *data;
01003 int rem;
01004 int index;
01005 } xcb_render_spanfix_iterator_t;
01006
01010 typedef struct xcb_render_trap_t {
01011 xcb_render_spanfix_t top;
01012 xcb_render_spanfix_t bot;
01013 } xcb_render_trap_t;
01014
01018 typedef struct xcb_render_trap_iterator_t {
01019 xcb_render_trap_t *data;
01020 int rem;
01021 int index;
01022 } xcb_render_trap_iterator_t;
01023
01025 #define XCB_RENDER_ADD_TRAPS 32
01026
01030 typedef struct xcb_render_add_traps_request_t {
01031 uint8_t major_opcode;
01032 uint8_t minor_opcode;
01033 uint16_t length;
01034 xcb_render_picture_t picture;
01035 int16_t x_off;
01036 int16_t y_off;
01037 } xcb_render_add_traps_request_t;
01038
01040 #define XCB_RENDER_CREATE_SOLID_FILL 33
01041
01045 typedef struct xcb_render_create_solid_fill_request_t {
01046 uint8_t major_opcode;
01047 uint8_t minor_opcode;
01048 uint16_t length;
01049 xcb_render_picture_t picture;
01050 xcb_render_color_t color;
01051 } xcb_render_create_solid_fill_request_t;
01052
01054 #define XCB_RENDER_CREATE_LINEAR_GRADIENT 34
01055
01059 typedef struct xcb_render_create_linear_gradient_request_t {
01060 uint8_t major_opcode;
01061 uint8_t minor_opcode;
01062 uint16_t length;
01063 xcb_render_picture_t picture;
01064 xcb_render_pointfix_t p1;
01065 xcb_render_pointfix_t p2;
01066 uint32_t num_stops;
01067 } xcb_render_create_linear_gradient_request_t;
01068
01070 #define XCB_RENDER_CREATE_RADIAL_GRADIENT 35
01071
01075 typedef struct xcb_render_create_radial_gradient_request_t {
01076 uint8_t major_opcode;
01077 uint8_t minor_opcode;
01078 uint16_t length;
01079 xcb_render_picture_t picture;
01080 xcb_render_pointfix_t inner;
01081 xcb_render_pointfix_t outer;
01082 xcb_render_fixed_t inner_radius;
01083 xcb_render_fixed_t outer_radius;
01084 uint32_t num_stops;
01085 } xcb_render_create_radial_gradient_request_t;
01086
01088 #define XCB_RENDER_CREATE_CONICAL_GRADIENT 36
01089
01093 typedef struct xcb_render_create_conical_gradient_request_t {
01094 uint8_t major_opcode;
01095 uint8_t minor_opcode;
01096 uint16_t length;
01097 xcb_render_picture_t picture;
01098 xcb_render_pointfix_t center;
01099 xcb_render_fixed_t angle;
01100 uint32_t num_stops;
01101 } xcb_render_create_conical_gradient_request_t;
01102
01112
01113
01114
01115
01116
01117
01118
01119
01120
01121 void
01122 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i );
01123
01134
01135
01136
01137
01138
01139
01140
01141
01142
01143 xcb_generic_iterator_t
01144 xcb_render_glyph_end (xcb_render_glyph_iterator_t i );
01145
01155
01156
01157
01158
01159
01160
01161
01162
01163
01164 void
01165 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i );
01166
01177
01178
01179
01180
01181
01182
01183
01184
01185
01186 xcb_generic_iterator_t
01187 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i );
01188
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207 void
01208 xcb_render_picture_next (xcb_render_picture_iterator_t *i );
01209
01220
01221
01222
01223
01224
01225
01226
01227
01228
01229 xcb_generic_iterator_t
01230 xcb_render_picture_end (xcb_render_picture_iterator_t i );
01231
01241
01242
01243
01244
01245
01246
01247
01248
01249
01250 void
01251 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i );
01252
01263
01264
01265
01266
01267
01268
01269
01270
01271
01272 xcb_generic_iterator_t
01273 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i );
01274
01284
01285
01286
01287
01288
01289
01290
01291
01292
01293 void
01294 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i );
01295
01306
01307
01308
01309
01310
01311
01312
01313
01314
01315 xcb_generic_iterator_t
01316 xcb_render_fixed_end (xcb_render_fixed_iterator_t i );
01317
01327
01328
01329
01330
01331
01332
01333
01334
01335
01336 void
01337 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i );
01338
01349
01350
01351
01352
01353
01354
01355
01356
01357
01358 xcb_generic_iterator_t
01359 xcb_render_directformat_end (xcb_render_directformat_iterator_t i );
01360
01370
01371
01372
01373
01374
01375
01376
01377
01378
01379 void
01380 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i );
01381
01392
01393
01394
01395
01396
01397
01398
01399
01400
01401 xcb_generic_iterator_t
01402 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i );
01403
01413
01414
01415
01416
01417
01418
01419
01420
01421
01422 void
01423 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i );
01424
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444 xcb_generic_iterator_t
01445 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i );
01446
01447
01448
01449
01450
01451
01452
01453
01454
01455
01456
01457 xcb_render_pictvisual_t *
01458 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R );
01459
01460
01461
01462
01463
01464
01465
01466
01467
01468
01469
01470 int
01471 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R );
01472
01473
01474
01475
01476
01477
01478
01479
01480
01481
01482
01483 xcb_render_pictvisual_iterator_t
01484 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R );
01485
01495
01496
01497
01498
01499
01500
01501
01502
01503
01504 void
01505 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i );
01506
01517
01518
01519
01520
01521
01522
01523
01524
01525
01526 xcb_generic_iterator_t
01527 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i );
01528
01529
01530
01531
01532
01533
01534
01535
01536
01537
01538
01539 int
01540 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R );
01541
01542
01543
01544
01545
01546
01547
01548
01549
01550
01551
01552 xcb_render_pictdepth_iterator_t
01553 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R );
01554
01564
01565
01566
01567
01568
01569
01570
01571
01572
01573 void
01574 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i );
01575
01586
01587
01588
01589
01590
01591
01592
01593
01594
01595 xcb_generic_iterator_t
01596 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i );
01597
01607
01608
01609
01610
01611
01612
01613
01614
01615
01616 void
01617 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i );
01618
01629
01630
01631
01632
01633
01634
01635
01636
01637
01638 xcb_generic_iterator_t
01639 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i );
01640
01650
01651
01652
01653
01654
01655
01656
01657
01658
01659 void
01660 xcb_render_color_next (xcb_render_color_iterator_t *i );
01661
01672
01673
01674
01675
01676
01677
01678
01679
01680
01681 xcb_generic_iterator_t
01682 xcb_render_color_end (xcb_render_color_iterator_t i );
01683
01693
01694
01695
01696
01697
01698
01699
01700
01701
01702 void
01703 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i );
01704
01715
01716
01717
01718
01719
01720
01721
01722
01723
01724 xcb_generic_iterator_t
01725 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i );
01726
01736
01737
01738
01739
01740
01741
01742
01743
01744
01745 void
01746 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i );
01747
01758
01759
01760
01761
01762
01763
01764
01765
01766
01767 xcb_generic_iterator_t
01768 xcb_render_linefix_end (xcb_render_linefix_iterator_t i );
01769
01779
01780
01781
01782
01783
01784
01785
01786
01787
01788 void
01789 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i );
01790
01801
01802
01803
01804
01805
01806
01807
01808
01809
01810 xcb_generic_iterator_t
01811 xcb_render_triangle_end (xcb_render_triangle_iterator_t i );
01812
01822
01823
01824
01825
01826
01827
01828
01829
01830
01831 void
01832 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i );
01833
01844
01845
01846
01847
01848
01849
01850
01851
01852
01853 xcb_generic_iterator_t
01854 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i );
01855
01865
01866
01867
01868
01869
01870
01871
01872
01873
01874 void
01875 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i );
01876
01887
01888
01889
01890
01891
01892
01893
01894
01895
01896 xcb_generic_iterator_t
01897 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i );
01898
01908
01909
01910
01911
01912
01913
01914
01915
01916
01917
01918
01919 xcb_render_query_version_cookie_t
01920 xcb_render_query_version (xcb_connection_t *c ,
01921 uint32_t client_major_version ,
01922 uint32_t client_minor_version );
01923
01936
01937
01938
01939
01940
01941
01942
01943
01944
01945
01946
01947 xcb_render_query_version_cookie_t
01948 xcb_render_query_version_unchecked (xcb_connection_t *c ,
01949 uint32_t client_major_version ,
01950 uint32_t client_minor_version );
01951
01967
01968
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978 xcb_render_query_version_reply_t *
01979 xcb_render_query_version_reply (xcb_connection_t *c ,
01980 xcb_render_query_version_cookie_t cookie ,
01981 xcb_generic_error_t **e );
01982
01992
01993
01994
01995
01996
01997
01998
01999
02000
02001 xcb_render_query_pict_formats_cookie_t
02002 xcb_render_query_pict_formats (xcb_connection_t *c );
02003
02016
02017
02018
02019
02020
02021
02022
02023
02024
02025 xcb_render_query_pict_formats_cookie_t
02026 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
02027
02028
02029
02030
02031
02032
02033
02034
02035
02036
02037
02038 xcb_render_pictforminfo_t *
02039 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
02040
02041
02042
02043
02044
02045
02046
02047
02048
02049
02050
02051 int
02052 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064 xcb_render_pictforminfo_iterator_t
02065 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
02066
02067
02068
02069
02070
02071
02072
02073
02074
02075
02076
02077 int
02078 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
02079
02080
02081
02082
02083
02084
02085
02086
02087
02088
02089
02090 xcb_render_pictscreen_iterator_t
02091 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101
02102
02103 uint32_t *
02104 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
02105
02106
02107
02108
02109
02110
02111
02112
02113
02114
02115
02116 int
02117 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
02118
02119
02120
02121
02122
02123
02124
02125
02126
02127
02128
02129 xcb_generic_iterator_t
02130 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
02131
02147
02148
02149
02150
02151
02152
02153
02154
02155
02156
02157
02158 xcb_render_query_pict_formats_reply_t *
02159 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
02160 xcb_render_query_pict_formats_cookie_t cookie ,
02161 xcb_generic_error_t **e );
02162
02172
02173
02174
02175
02176
02177
02178
02179
02180
02181
02182 xcb_render_query_pict_index_values_cookie_t
02183 xcb_render_query_pict_index_values (xcb_connection_t *c ,
02184 xcb_render_pictformat_t format );
02185
02198
02199
02200
02201
02202
02203
02204
02205
02206
02207
02208 xcb_render_query_pict_index_values_cookie_t
02209 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
02210 xcb_render_pictformat_t format );
02211
02212
02213
02214
02215
02216
02217
02218
02219
02220
02221
02222 xcb_render_indexvalue_t *
02223 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
02224
02225
02226
02227
02228
02229
02230
02231
02232
02233
02234
02235 int
02236 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
02237
02238
02239
02240
02241
02242
02243
02244
02245
02246
02247
02248 xcb_render_indexvalue_iterator_t
02249 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
02250
02266
02267
02268
02269
02270
02271
02272
02273
02274
02275
02276
02277 xcb_render_query_pict_index_values_reply_t *
02278 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
02279 xcb_render_query_pict_index_values_cookie_t cookie ,
02280 xcb_generic_error_t **e );
02281
02294
02295
02296
02297
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308 xcb_void_cookie_t
02309 xcb_render_create_picture_checked (xcb_connection_t *c ,
02310 xcb_render_picture_t pid ,
02311 xcb_drawable_t drawable ,
02312 xcb_render_pictformat_t format ,
02313 uint32_t value_mask ,
02314 const uint32_t *value_list );
02315
02325
02326
02327
02328
02329
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339 xcb_void_cookie_t
02340 xcb_render_create_picture (xcb_connection_t *c ,
02341 xcb_render_picture_t pid ,
02342 xcb_drawable_t drawable ,
02343 xcb_render_pictformat_t format ,
02344 uint32_t value_mask ,
02345 const uint32_t *value_list );
02346
02359
02360
02361
02362
02363
02364
02365
02366
02367
02368
02369
02370
02371 xcb_void_cookie_t
02372 xcb_render_change_picture_checked (xcb_connection_t *c ,
02373 xcb_render_picture_t picture ,
02374 uint32_t value_mask ,
02375 const uint32_t *value_list );
02376
02386
02387
02388
02389
02390
02391
02392
02393
02394
02395
02396
02397
02398 xcb_void_cookie_t
02399 xcb_render_change_picture (xcb_connection_t *c ,
02400 xcb_render_picture_t picture ,
02401 uint32_t value_mask ,
02402 const uint32_t *value_list );
02403
02416
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428
02429
02430 xcb_void_cookie_t
02431 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
02432 xcb_render_picture_t picture ,
02433 int16_t clip_x_origin ,
02434 int16_t clip_y_origin ,
02435 uint32_t rectangles_len ,
02436 const xcb_rectangle_t *rectangles );
02437
02447
02448
02449
02450
02451
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461 xcb_void_cookie_t
02462 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02463 xcb_render_picture_t picture ,
02464 int16_t clip_x_origin ,
02465 int16_t clip_y_origin ,
02466 uint32_t rectangles_len ,
02467 const xcb_rectangle_t *rectangles );
02468
02481
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491 xcb_void_cookie_t
02492 xcb_render_free_picture_checked (xcb_connection_t *c ,
02493 xcb_render_picture_t picture );
02494
02504
02505
02506
02507
02508
02509
02510
02511
02512
02513
02514 xcb_void_cookie_t
02515 xcb_render_free_picture (xcb_connection_t *c ,
02516 xcb_render_picture_t picture );
02517
02530
02531
02532
02533
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551 xcb_void_cookie_t
02552 xcb_render_composite_checked (xcb_connection_t *c ,
02553 uint8_t op ,
02554 xcb_render_picture_t src ,
02555 xcb_render_picture_t mask ,
02556 xcb_render_picture_t dst ,
02557 int16_t src_x ,
02558 int16_t src_y ,
02559 int16_t mask_x ,
02560 int16_t mask_y ,
02561 int16_t dst_x ,
02562 int16_t dst_y ,
02563 uint16_t width ,
02564 uint16_t height );
02565
02575
02576
02577
02578
02579
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593
02594
02595
02596 xcb_void_cookie_t
02597 xcb_render_composite (xcb_connection_t *c ,
02598 uint8_t op ,
02599 xcb_render_picture_t src ,
02600 xcb_render_picture_t mask ,
02601 xcb_render_picture_t dst ,
02602 int16_t src_x ,
02603 int16_t src_y ,
02604 int16_t mask_x ,
02605 int16_t mask_y ,
02606 int16_t dst_x ,
02607 int16_t dst_y ,
02608 uint16_t width ,
02609 uint16_t height );
02610
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637
02638
02639
02640 xcb_void_cookie_t
02641 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02642 uint8_t op ,
02643 xcb_render_picture_t src ,
02644 xcb_render_picture_t dst ,
02645 xcb_render_pictformat_t mask_format ,
02646 int16_t src_x ,
02647 int16_t src_y ,
02648 uint32_t traps_len ,
02649 const xcb_render_trapezoid_t *traps );
02650
02660
02661
02662
02663
02664
02665
02666
02667
02668
02669
02670
02671
02672
02673
02674
02675
02676
02677 xcb_void_cookie_t
02678 xcb_render_trapezoids (xcb_connection_t *c ,
02679 uint8_t op ,
02680 xcb_render_picture_t src ,
02681 xcb_render_picture_t dst ,
02682 xcb_render_pictformat_t mask_format ,
02683 int16_t src_x ,
02684 int16_t src_y ,
02685 uint32_t traps_len ,
02686 const xcb_render_trapezoid_t *traps );
02687
02700
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715
02716
02717 xcb_void_cookie_t
02718 xcb_render_triangles_checked (xcb_connection_t *c ,
02719 uint8_t op ,
02720 xcb_render_picture_t src ,
02721 xcb_render_picture_t dst ,
02722 xcb_render_pictformat_t mask_format ,
02723 int16_t src_x ,
02724 int16_t src_y ,
02725 uint32_t triangles_len ,
02726 const xcb_render_triangle_t *triangles );
02727
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754 xcb_void_cookie_t
02755 xcb_render_triangles (xcb_connection_t *c ,
02756 uint8_t op ,
02757 xcb_render_picture_t src ,
02758 xcb_render_picture_t dst ,
02759 xcb_render_pictformat_t mask_format ,
02760 int16_t src_x ,
02761 int16_t src_y ,
02762 uint32_t triangles_len ,
02763 const xcb_render_triangle_t *triangles );
02764
02777
02778
02779
02780
02781
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793
02794 xcb_void_cookie_t
02795 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02796 uint8_t op ,
02797 xcb_render_picture_t src ,
02798 xcb_render_picture_t dst ,
02799 xcb_render_pictformat_t mask_format ,
02800 int16_t src_x ,
02801 int16_t src_y ,
02802 uint32_t points_len ,
02803 const xcb_render_pointfix_t *points );
02804
02814
02815
02816
02817
02818
02819
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830
02831 xcb_void_cookie_t
02832 xcb_render_tri_strip (xcb_connection_t *c ,
02833 uint8_t op ,
02834 xcb_render_picture_t src ,
02835 xcb_render_picture_t dst ,
02836 xcb_render_pictformat_t mask_format ,
02837 int16_t src_x ,
02838 int16_t src_y ,
02839 uint32_t points_len ,
02840 const xcb_render_pointfix_t *points );
02841
02854
02855
02856
02857
02858
02859
02860
02861
02862
02863
02864
02865
02866
02867
02868
02869
02870
02871 xcb_void_cookie_t
02872 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02873 uint8_t op ,
02874 xcb_render_picture_t src ,
02875 xcb_render_picture_t dst ,
02876 xcb_render_pictformat_t mask_format ,
02877 int16_t src_x ,
02878 int16_t src_y ,
02879 uint32_t points_len ,
02880 const xcb_render_pointfix_t *points );
02881
02891
02892
02893
02894
02895
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905
02906
02907
02908 xcb_void_cookie_t
02909 xcb_render_tri_fan (xcb_connection_t *c ,
02910 uint8_t op ,
02911 xcb_render_picture_t src ,
02912 xcb_render_picture_t dst ,
02913 xcb_render_pictformat_t mask_format ,
02914 int16_t src_x ,
02915 int16_t src_y ,
02916 uint32_t points_len ,
02917 const xcb_render_pointfix_t *points );
02918
02931
02932
02933
02934
02935
02936
02937
02938
02939
02940
02941
02942 xcb_void_cookie_t
02943 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02944 xcb_render_glyphset_t gsid ,
02945 xcb_render_pictformat_t format );
02946
02956
02957
02958
02959
02960
02961
02962
02963
02964
02965
02966
02967 xcb_void_cookie_t
02968 xcb_render_create_glyph_set (xcb_connection_t *c ,
02969 xcb_render_glyphset_t gsid ,
02970 xcb_render_pictformat_t format );
02971
02984
02985
02986
02987
02988
02989
02990
02991
02992
02993
02994
02995 xcb_void_cookie_t
02996 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
02997 xcb_render_glyphset_t gsid ,
02998 xcb_render_glyphset_t existing );
02999
03009
03010
03011
03012
03013
03014
03015
03016
03017
03018
03019
03020 xcb_void_cookie_t
03021 xcb_render_reference_glyph_set (xcb_connection_t *c ,
03022 xcb_render_glyphset_t gsid ,
03023 xcb_render_glyphset_t existing );
03024
03037
03038
03039
03040
03041
03042
03043
03044
03045
03046
03047 xcb_void_cookie_t
03048 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
03049 xcb_render_glyphset_t glyphset );
03050
03060
03061
03062
03063
03064
03065
03066
03067
03068
03069
03070 xcb_void_cookie_t
03071 xcb_render_free_glyph_set (xcb_connection_t *c ,
03072 xcb_render_glyphset_t glyphset );
03073
03086
03087
03088
03089
03090
03091
03092
03093
03094
03095
03096
03097
03098
03099
03100
03101 xcb_void_cookie_t
03102 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
03103 xcb_render_glyphset_t glyphset ,
03104 uint32_t glyphs_len ,
03105 const uint32_t *glyphids ,
03106 const xcb_render_glyphinfo_t *glyphs ,
03107 uint32_t data_len ,
03108 const uint8_t *data );
03109
03119
03120
03121
03122
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132
03133
03134 xcb_void_cookie_t
03135 xcb_render_add_glyphs (xcb_connection_t *c ,
03136 xcb_render_glyphset_t glyphset ,
03137 uint32_t glyphs_len ,
03138 const uint32_t *glyphids ,
03139 const xcb_render_glyphinfo_t *glyphs ,
03140 uint32_t data_len ,
03141 const uint8_t *data );
03142
03155
03156
03157
03158
03159
03160
03161
03162
03163
03164
03165
03166
03167 xcb_void_cookie_t
03168 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
03169 xcb_render_glyphset_t glyphset ,
03170 uint32_t glyphs_len ,
03171 const xcb_render_glyph_t *glyphs );
03172
03182
03183
03184
03185
03186
03187
03188
03189
03190
03191
03192
03193
03194 xcb_void_cookie_t
03195 xcb_render_free_glyphs (xcb_connection_t *c ,
03196 xcb_render_glyphset_t glyphset ,
03197 uint32_t glyphs_len ,
03198 const xcb_render_glyph_t *glyphs );
03199
03212
03213
03214
03215
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227
03228
03229
03230 xcb_void_cookie_t
03231 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
03232 uint8_t op ,
03233 xcb_render_picture_t src ,
03234 xcb_render_picture_t dst ,
03235 xcb_render_pictformat_t mask_format ,
03236 xcb_render_glyphset_t glyphset ,
03237 int16_t src_x ,
03238 int16_t src_y ,
03239 uint32_t glyphcmds_len ,
03240 const uint8_t *glyphcmds );
03241
03251
03252
03253
03254
03255
03256
03257
03258
03259
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269 xcb_void_cookie_t
03270 xcb_render_composite_glyphs_8 (xcb_connection_t *c ,
03271 uint8_t op ,
03272 xcb_render_picture_t src ,
03273 xcb_render_picture_t dst ,
03274 xcb_render_pictformat_t mask_format ,
03275 xcb_render_glyphset_t glyphset ,
03276 int16_t src_x ,
03277 int16_t src_y ,
03278 uint32_t glyphcmds_len ,
03279 const uint8_t *glyphcmds );
03280
03293
03294
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311 xcb_void_cookie_t
03312 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
03313 uint8_t op ,
03314 xcb_render_picture_t src ,
03315 xcb_render_picture_t dst ,
03316 xcb_render_pictformat_t mask_format ,
03317 xcb_render_glyphset_t glyphset ,
03318 int16_t src_x ,
03319 int16_t src_y ,
03320 uint32_t glyphcmds_len ,
03321 const uint8_t *glyphcmds );
03322
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350 xcb_void_cookie_t
03351 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
03352 uint8_t op ,
03353 xcb_render_picture_t src ,
03354 xcb_render_picture_t dst ,
03355 xcb_render_pictformat_t mask_format ,
03356 xcb_render_glyphset_t glyphset ,
03357 int16_t src_x ,
03358 int16_t src_y ,
03359 uint32_t glyphcmds_len ,
03360 const uint8_t *glyphcmds );
03361
03374
03375
03376
03377
03378
03379
03380
03381
03382
03383
03384
03385
03386
03387
03388
03389
03390
03391
03392 xcb_void_cookie_t
03393 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
03394 uint8_t op ,
03395 xcb_render_picture_t src ,
03396 xcb_render_picture_t dst ,
03397 xcb_render_pictformat_t mask_format ,
03398 xcb_render_glyphset_t glyphset ,
03399 int16_t src_x ,
03400 int16_t src_y ,
03401 uint32_t glyphcmds_len ,
03402 const uint8_t *glyphcmds );
03403
03413
03414
03415
03416
03417
03418
03419
03420
03421
03422
03423
03424
03425
03426
03427
03428
03429
03430
03431 xcb_void_cookie_t
03432 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
03433 uint8_t op ,
03434 xcb_render_picture_t src ,
03435 xcb_render_picture_t dst ,
03436 xcb_render_pictformat_t mask_format ,
03437 xcb_render_glyphset_t glyphset ,
03438 int16_t src_x ,
03439 int16_t src_y ,
03440 uint32_t glyphcmds_len ,
03441 const uint8_t *glyphcmds );
03442
03455
03456
03457
03458
03459
03460
03461
03462
03463
03464
03465
03466
03467
03468
03469 xcb_void_cookie_t
03470 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
03471 uint8_t op ,
03472 xcb_render_picture_t dst ,
03473 xcb_render_color_t color ,
03474 uint32_t rects_len ,
03475 const xcb_rectangle_t *rects );
03476
03486
03487
03488
03489
03490
03491
03492
03493
03494
03495
03496
03497
03498
03499
03500 xcb_void_cookie_t
03501 xcb_render_fill_rectangles (xcb_connection_t *c ,
03502 uint8_t op ,
03503 xcb_render_picture_t dst ,
03504 xcb_render_color_t color ,
03505 uint32_t rects_len ,
03506 const xcb_rectangle_t *rects );
03507
03520
03521
03522
03523
03524
03525
03526
03527
03528
03529
03530
03531
03532
03533 xcb_void_cookie_t
03534 xcb_render_create_cursor_checked (xcb_connection_t *c ,
03535 xcb_cursor_t cid ,
03536 xcb_render_picture_t source ,
03537 uint16_t x ,
03538 uint16_t y );
03539
03549
03550
03551
03552
03553
03554
03555
03556
03557
03558
03559
03560
03561
03562 xcb_void_cookie_t
03563 xcb_render_create_cursor (xcb_connection_t *c ,
03564 xcb_cursor_t cid ,
03565 xcb_render_picture_t source ,
03566 uint16_t x ,
03567 uint16_t y );
03568
03578
03579
03580
03581
03582
03583
03584
03585
03586
03587 void
03588 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
03589
03600
03601
03602
03603
03604
03605
03606
03607
03608
03609 xcb_generic_iterator_t
03610 xcb_render_transform_end (xcb_render_transform_iterator_t i );
03611
03624
03625
03626
03627
03628
03629
03630
03631
03632
03633
03634
03635 xcb_void_cookie_t
03636 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
03637 xcb_render_picture_t picture ,
03638 xcb_render_transform_t transform );
03639
03649
03650
03651
03652
03653
03654
03655
03656
03657
03658
03659
03660 xcb_void_cookie_t
03661 xcb_render_set_picture_transform (xcb_connection_t *c ,
03662 xcb_render_picture_t picture ,
03663 xcb_render_transform_t transform );
03664
03674
03675
03676
03677
03678
03679
03680
03681
03682
03683
03684 xcb_render_query_filters_cookie_t
03685 xcb_render_query_filters (xcb_connection_t *c ,
03686 xcb_drawable_t drawable );
03687
03700
03701
03702
03703
03704
03705
03706
03707
03708
03709
03710 xcb_render_query_filters_cookie_t
03711 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
03712 xcb_drawable_t drawable );
03713
03714
03715
03716
03717
03718
03719
03720
03721
03722
03723
03724 uint16_t *
03725 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
03726
03727
03728
03729
03730
03731
03732
03733
03734
03735
03736
03737 int
03738 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
03739
03740
03741
03742
03743
03744
03745
03746
03747
03748
03749
03750 xcb_generic_iterator_t
03751 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
03752
03753
03754
03755
03756
03757
03758
03759
03760
03761
03762
03763 int
03764 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
03765
03766
03767
03768
03769
03770
03771
03772
03773
03774
03775
03776 xcb_str_iterator_t
03777 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
03778
03794
03795
03796
03797
03798
03799
03800
03801
03802
03803
03804
03805 xcb_render_query_filters_reply_t *
03806 xcb_render_query_filters_reply (xcb_connection_t *c ,
03807 xcb_render_query_filters_cookie_t cookie ,
03808 xcb_generic_error_t **e );
03809
03822
03823
03824
03825
03826
03827
03828
03829
03830
03831
03832
03833
03834
03835
03836 xcb_void_cookie_t
03837 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03838 xcb_render_picture_t picture ,
03839 uint16_t filter_len ,
03840 const char *filter ,
03841 uint32_t values_len ,
03842 const xcb_render_fixed_t *values );
03843
03853
03854
03855
03856
03857
03858
03859
03860
03861
03862
03863
03864
03865
03866
03867 xcb_void_cookie_t
03868 xcb_render_set_picture_filter (xcb_connection_t *c ,
03869 xcb_render_picture_t picture ,
03870 uint16_t filter_len ,
03871 const char *filter ,
03872 uint32_t values_len ,
03873 const xcb_render_fixed_t *values );
03874
03884
03885
03886
03887
03888
03889
03890
03891
03892
03893 void
03894 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03895
03906
03907
03908
03909
03910
03911
03912
03913
03914
03915 xcb_generic_iterator_t
03916 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03917
03930
03931
03932
03933
03934
03935
03936
03937
03938
03939
03940
03941
03942 xcb_void_cookie_t
03943 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03944 xcb_cursor_t cid ,
03945 uint32_t cursors_len ,
03946 const xcb_render_animcursorelt_t *cursors );
03947
03957
03958
03959
03960
03961
03962
03963
03964
03965
03966
03967
03968
03969 xcb_void_cookie_t
03970 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03971 xcb_cursor_t cid ,
03972 uint32_t cursors_len ,
03973 const xcb_render_animcursorelt_t *cursors );
03974
03984
03985
03986
03987
03988
03989
03990
03991
03992
03993 void
03994 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
03995
04006
04007
04008
04009
04010
04011
04012
04013
04014
04015 xcb_generic_iterator_t
04016 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
04017
04027
04028
04029
04030
04031
04032
04033
04034
04035
04036 void
04037 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
04038
04049
04050
04051
04052
04053
04054
04055
04056
04057
04058 xcb_generic_iterator_t
04059 xcb_render_trap_end (xcb_render_trap_iterator_t i );
04060
04073
04074
04075
04076
04077
04078
04079
04080
04081
04082
04083
04084
04085
04086
04087 xcb_void_cookie_t
04088 xcb_render_add_traps_checked (xcb_connection_t *c ,
04089 xcb_render_picture_t picture ,
04090 int16_t x_off ,
04091 int16_t y_off ,
04092 uint32_t traps_len ,
04093 const xcb_render_trap_t *traps );
04094
04104
04105
04106
04107
04108
04109
04110
04111
04112
04113
04114
04115
04116
04117
04118 xcb_void_cookie_t
04119 xcb_render_add_traps (xcb_connection_t *c ,
04120 xcb_render_picture_t picture ,
04121 int16_t x_off ,
04122 int16_t y_off ,
04123 uint32_t traps_len ,
04124 const xcb_render_trap_t *traps );
04125
04138
04139
04140
04141
04142
04143
04144
04145
04146
04147
04148
04149 xcb_void_cookie_t
04150 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
04151 xcb_render_picture_t picture ,
04152 xcb_render_color_t color );
04153
04163
04164
04165
04166
04167
04168
04169
04170
04171
04172
04173
04174 xcb_void_cookie_t
04175 xcb_render_create_solid_fill (xcb_connection_t *c ,
04176 xcb_render_picture_t picture ,
04177 xcb_render_color_t color );
04178
04191
04192
04193
04194
04195
04196
04197
04198
04199
04200
04201
04202
04203
04204 xcb_void_cookie_t
04205 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
04206 xcb_render_picture_t picture ,
04207 xcb_render_pointfix_t p1 ,
04208 xcb_render_pointfix_t p2 ,
04209 uint32_t num_stops );
04210
04220
04221
04222
04223
04224
04225
04226
04227
04228
04229
04230
04231
04232
04233 xcb_void_cookie_t
04234 xcb_render_create_linear_gradient (xcb_connection_t *c ,
04235 xcb_render_picture_t picture ,
04236 xcb_render_pointfix_t p1 ,
04237 xcb_render_pointfix_t p2 ,
04238 uint32_t num_stops );
04239
04252
04253
04254
04255
04256
04257
04258
04259
04260
04261
04262
04263
04264
04265
04266
04267 xcb_void_cookie_t
04268 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
04269 xcb_render_picture_t picture ,
04270 xcb_render_pointfix_t inner ,
04271 xcb_render_pointfix_t outer ,
04272 xcb_render_fixed_t inner_radius ,
04273 xcb_render_fixed_t outer_radius ,
04274 uint32_t num_stops );
04275
04285
04286
04287
04288
04289
04290
04291
04292
04293
04294
04295
04296
04297
04298
04299
04300 xcb_void_cookie_t
04301 xcb_render_create_radial_gradient (xcb_connection_t *c ,
04302 xcb_render_picture_t picture ,
04303 xcb_render_pointfix_t inner ,
04304 xcb_render_pointfix_t outer ,
04305 xcb_render_fixed_t inner_radius ,
04306 xcb_render_fixed_t outer_radius ,
04307 uint32_t num_stops );
04308
04321
04322
04323
04324
04325
04326
04327
04328
04329
04330
04331
04332
04333
04334 xcb_void_cookie_t
04335 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
04336 xcb_render_picture_t picture ,
04337 xcb_render_pointfix_t center ,
04338 xcb_render_fixed_t angle ,
04339 uint32_t num_stops );
04340
04350
04351
04352
04353
04354
04355
04356
04357
04358
04359
04360
04361
04362
04363 xcb_void_cookie_t
04364 xcb_render_create_conical_gradient (xcb_connection_t *c ,
04365 xcb_render_picture_t picture ,
04366 xcb_render_pointfix_t center ,
04367 xcb_render_fixed_t angle ,
04368 uint32_t num_stops );
04369
04370
04371 #endif
04372