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
01965
01966
01967
01968
01969
01970
01971
01972
01973
01974
01975
01976 xcb_render_query_version_reply_t *
01977 xcb_render_query_version_reply (xcb_connection_t *c ,
01978 xcb_render_query_version_cookie_t cookie ,
01979 xcb_generic_error_t **e );
01980
01990
01991
01992
01993
01994
01995
01996
01997
01998
01999 xcb_render_query_pict_formats_cookie_t
02000 xcb_render_query_pict_formats (xcb_connection_t *c );
02001
02014
02015
02016
02017
02018
02019
02020
02021
02022
02023 xcb_render_query_pict_formats_cookie_t
02024 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
02025
02026
02027
02028
02029
02030
02031
02032
02033
02034
02035
02036 xcb_render_pictforminfo_t *
02037 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047
02048
02049 int
02050 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062 xcb_render_pictforminfo_iterator_t
02063 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
02064
02065
02066
02067
02068
02069
02070
02071
02072
02073
02074
02075 int
02076 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
02077
02078
02079
02080
02081
02082
02083
02084
02085
02086
02087
02088 xcb_render_pictscreen_iterator_t
02089 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101 uint32_t *
02102 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112
02113
02114 int
02115 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
02116
02117
02118
02119
02120
02121
02122
02123
02124
02125
02126
02127 xcb_generic_iterator_t
02128 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
02129
02143
02144
02145
02146
02147
02148
02149
02150
02151
02152
02153
02154 xcb_render_query_pict_formats_reply_t *
02155 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
02156 xcb_render_query_pict_formats_cookie_t cookie ,
02157 xcb_generic_error_t **e );
02158
02168
02169
02170
02171
02172
02173
02174
02175
02176
02177
02178 xcb_render_query_pict_index_values_cookie_t
02179 xcb_render_query_pict_index_values (xcb_connection_t *c ,
02180 xcb_render_pictformat_t format );
02181
02194
02195
02196
02197
02198
02199
02200
02201
02202
02203
02204 xcb_render_query_pict_index_values_cookie_t
02205 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
02206 xcb_render_pictformat_t format );
02207
02208
02209
02210
02211
02212
02213
02214
02215
02216
02217
02218 xcb_render_indexvalue_t *
02219 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
02220
02221
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231 int
02232 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
02233
02234
02235
02236
02237
02238
02239
02240
02241
02242
02243
02244 xcb_render_indexvalue_iterator_t
02245 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
02246
02260
02261
02262
02263
02264
02265
02266
02267
02268
02269
02270
02271 xcb_render_query_pict_index_values_reply_t *
02272 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
02273 xcb_render_query_pict_index_values_cookie_t cookie ,
02274 xcb_generic_error_t **e );
02275
02288
02289
02290
02291
02292
02293
02294
02295
02296
02297
02298
02299
02300
02301
02302 xcb_void_cookie_t
02303 xcb_render_create_picture_checked (xcb_connection_t *c ,
02304 xcb_render_picture_t pid ,
02305 xcb_drawable_t drawable ,
02306 xcb_render_pictformat_t format ,
02307 uint32_t value_mask ,
02308 const uint32_t *value_list );
02309
02319
02320
02321
02322
02323
02324
02325
02326
02327
02328
02329
02330
02331
02332
02333 xcb_void_cookie_t
02334 xcb_render_create_picture (xcb_connection_t *c ,
02335 xcb_render_picture_t pid ,
02336 xcb_drawable_t drawable ,
02337 xcb_render_pictformat_t format ,
02338 uint32_t value_mask ,
02339 const uint32_t *value_list );
02340
02353
02354
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364
02365 xcb_void_cookie_t
02366 xcb_render_change_picture_checked (xcb_connection_t *c ,
02367 xcb_render_picture_t picture ,
02368 uint32_t value_mask ,
02369 const uint32_t *value_list );
02370
02380
02381
02382
02383
02384
02385
02386
02387
02388
02389
02390
02391
02392 xcb_void_cookie_t
02393 xcb_render_change_picture (xcb_connection_t *c ,
02394 xcb_render_picture_t picture ,
02395 uint32_t value_mask ,
02396 const uint32_t *value_list );
02397
02410
02411
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423
02424 xcb_void_cookie_t
02425 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
02426 xcb_render_picture_t picture ,
02427 int16_t clip_x_origin ,
02428 int16_t clip_y_origin ,
02429 uint32_t rectangles_len ,
02430 const xcb_rectangle_t *rectangles );
02431
02441
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453
02454
02455 xcb_void_cookie_t
02456 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02457 xcb_render_picture_t picture ,
02458 int16_t clip_x_origin ,
02459 int16_t clip_y_origin ,
02460 uint32_t rectangles_len ,
02461 const xcb_rectangle_t *rectangles );
02462
02475
02476
02477
02478
02479
02480
02481
02482
02483
02484
02485 xcb_void_cookie_t
02486 xcb_render_free_picture_checked (xcb_connection_t *c ,
02487 xcb_render_picture_t picture );
02488
02498
02499
02500
02501
02502
02503
02504
02505
02506
02507
02508 xcb_void_cookie_t
02509 xcb_render_free_picture (xcb_connection_t *c ,
02510 xcb_render_picture_t picture );
02511
02524
02525
02526
02527
02528
02529
02530
02531
02532
02533
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544
02545 xcb_void_cookie_t
02546 xcb_render_composite_checked (xcb_connection_t *c ,
02547 uint8_t op ,
02548 xcb_render_picture_t src ,
02549 xcb_render_picture_t mask ,
02550 xcb_render_picture_t dst ,
02551 int16_t src_x ,
02552 int16_t src_y ,
02553 int16_t mask_x ,
02554 int16_t mask_y ,
02555 int16_t dst_x ,
02556 int16_t dst_y ,
02557 uint16_t width ,
02558 uint16_t height );
02559
02569
02570
02571
02572
02573
02574
02575
02576
02577
02578
02579
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589
02590 xcb_void_cookie_t
02591 xcb_render_composite (xcb_connection_t *c ,
02592 uint8_t op ,
02593 xcb_render_picture_t src ,
02594 xcb_render_picture_t mask ,
02595 xcb_render_picture_t dst ,
02596 int16_t src_x ,
02597 int16_t src_y ,
02598 int16_t mask_x ,
02599 int16_t mask_y ,
02600 int16_t dst_x ,
02601 int16_t dst_y ,
02602 uint16_t width ,
02603 uint16_t height );
02604
02617
02618
02619
02620
02621
02622
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634 xcb_void_cookie_t
02635 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02636 uint8_t op ,
02637 xcb_render_picture_t src ,
02638 xcb_render_picture_t dst ,
02639 xcb_render_pictformat_t mask_format ,
02640 int16_t src_x ,
02641 int16_t src_y ,
02642 uint32_t traps_len ,
02643 const xcb_render_trapezoid_t *traps );
02644
02654
02655
02656
02657
02658
02659
02660
02661
02662
02663
02664
02665
02666
02667
02668
02669
02670
02671 xcb_void_cookie_t
02672 xcb_render_trapezoids (xcb_connection_t *c ,
02673 uint8_t op ,
02674 xcb_render_picture_t src ,
02675 xcb_render_picture_t dst ,
02676 xcb_render_pictformat_t mask_format ,
02677 int16_t src_x ,
02678 int16_t src_y ,
02679 uint32_t traps_len ,
02680 const xcb_render_trapezoid_t *traps );
02681
02694
02695
02696
02697
02698
02699
02700
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711 xcb_void_cookie_t
02712 xcb_render_triangles_checked (xcb_connection_t *c ,
02713 uint8_t op ,
02714 xcb_render_picture_t src ,
02715 xcb_render_picture_t dst ,
02716 xcb_render_pictformat_t mask_format ,
02717 int16_t src_x ,
02718 int16_t src_y ,
02719 uint32_t triangles_len ,
02720 const xcb_render_triangle_t *triangles );
02721
02731
02732
02733
02734
02735
02736
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746
02747
02748 xcb_void_cookie_t
02749 xcb_render_triangles (xcb_connection_t *c ,
02750 uint8_t op ,
02751 xcb_render_picture_t src ,
02752 xcb_render_picture_t dst ,
02753 xcb_render_pictformat_t mask_format ,
02754 int16_t src_x ,
02755 int16_t src_y ,
02756 uint32_t triangles_len ,
02757 const xcb_render_triangle_t *triangles );
02758
02771
02772
02773
02774
02775
02776
02777
02778
02779
02780
02781
02782
02783
02784
02785
02786
02787
02788 xcb_void_cookie_t
02789 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02790 uint8_t op ,
02791 xcb_render_picture_t src ,
02792 xcb_render_picture_t dst ,
02793 xcb_render_pictformat_t mask_format ,
02794 int16_t src_x ,
02795 int16_t src_y ,
02796 uint32_t points_len ,
02797 const xcb_render_pointfix_t *points );
02798
02808
02809
02810
02811
02812
02813
02814
02815
02816
02817
02818
02819
02820
02821
02822
02823
02824
02825 xcb_void_cookie_t
02826 xcb_render_tri_strip (xcb_connection_t *c ,
02827 uint8_t op ,
02828 xcb_render_picture_t src ,
02829 xcb_render_picture_t dst ,
02830 xcb_render_pictformat_t mask_format ,
02831 int16_t src_x ,
02832 int16_t src_y ,
02833 uint32_t points_len ,
02834 const xcb_render_pointfix_t *points );
02835
02848
02849
02850
02851
02852
02853
02854
02855
02856
02857
02858
02859
02860
02861
02862
02863
02864
02865 xcb_void_cookie_t
02866 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02867 uint8_t op ,
02868 xcb_render_picture_t src ,
02869 xcb_render_picture_t dst ,
02870 xcb_render_pictformat_t mask_format ,
02871 int16_t src_x ,
02872 int16_t src_y ,
02873 uint32_t points_len ,
02874 const xcb_render_pointfix_t *points );
02875
02885
02886
02887
02888
02889
02890
02891
02892
02893
02894
02895
02896
02897
02898
02899
02900
02901
02902 xcb_void_cookie_t
02903 xcb_render_tri_fan (xcb_connection_t *c ,
02904 uint8_t op ,
02905 xcb_render_picture_t src ,
02906 xcb_render_picture_t dst ,
02907 xcb_render_pictformat_t mask_format ,
02908 int16_t src_x ,
02909 int16_t src_y ,
02910 uint32_t points_len ,
02911 const xcb_render_pointfix_t *points );
02912
02925
02926
02927
02928
02929
02930
02931
02932
02933
02934
02935
02936 xcb_void_cookie_t
02937 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02938 xcb_render_glyphset_t gsid ,
02939 xcb_render_pictformat_t format );
02940
02950
02951
02952
02953
02954
02955
02956
02957
02958
02959
02960
02961 xcb_void_cookie_t
02962 xcb_render_create_glyph_set (xcb_connection_t *c ,
02963 xcb_render_glyphset_t gsid ,
02964 xcb_render_pictformat_t format );
02965
02978
02979
02980
02981
02982
02983
02984
02985
02986
02987
02988
02989 xcb_void_cookie_t
02990 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
02991 xcb_render_glyphset_t gsid ,
02992 xcb_render_glyphset_t existing );
02993
03003
03004
03005
03006
03007
03008
03009
03010
03011
03012
03013
03014 xcb_void_cookie_t
03015 xcb_render_reference_glyph_set (xcb_connection_t *c ,
03016 xcb_render_glyphset_t gsid ,
03017 xcb_render_glyphset_t existing );
03018
03031
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041 xcb_void_cookie_t
03042 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
03043 xcb_render_glyphset_t glyphset );
03044
03054
03055
03056
03057
03058
03059
03060
03061
03062
03063
03064 xcb_void_cookie_t
03065 xcb_render_free_glyph_set (xcb_connection_t *c ,
03066 xcb_render_glyphset_t glyphset );
03067
03080
03081
03082
03083
03084
03085
03086
03087
03088
03089
03090
03091
03092
03093
03094
03095 xcb_void_cookie_t
03096 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
03097 xcb_render_glyphset_t glyphset ,
03098 uint32_t glyphs_len ,
03099 const uint32_t *glyphids ,
03100 const xcb_render_glyphinfo_t *glyphs ,
03101 uint32_t data_len ,
03102 const uint8_t *data );
03103
03113
03114
03115
03116
03117
03118
03119
03120
03121
03122
03123
03124
03125
03126
03127
03128 xcb_void_cookie_t
03129 xcb_render_add_glyphs (xcb_connection_t *c ,
03130 xcb_render_glyphset_t glyphset ,
03131 uint32_t glyphs_len ,
03132 const uint32_t *glyphids ,
03133 const xcb_render_glyphinfo_t *glyphs ,
03134 uint32_t data_len ,
03135 const uint8_t *data );
03136
03149
03150
03151
03152
03153
03154
03155
03156
03157
03158
03159
03160
03161 xcb_void_cookie_t
03162 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
03163 xcb_render_glyphset_t glyphset ,
03164 uint32_t glyphs_len ,
03165 const xcb_render_glyph_t *glyphs );
03166
03176
03177
03178
03179
03180
03181
03182
03183
03184
03185
03186
03187
03188 xcb_void_cookie_t
03189 xcb_render_free_glyphs (xcb_connection_t *c ,
03190 xcb_render_glyphset_t glyphset ,
03191 uint32_t glyphs_len ,
03192 const xcb_render_glyph_t *glyphs );
03193
03206
03207
03208
03209
03210
03211
03212
03213
03214
03215
03216
03217
03218
03219
03220
03221
03222
03223
03224 xcb_void_cookie_t
03225 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
03226 uint8_t op ,
03227 xcb_render_picture_t src ,
03228 xcb_render_picture_t dst ,
03229 xcb_render_pictformat_t mask_format ,
03230 xcb_render_glyphset_t glyphset ,
03231 int16_t src_x ,
03232 int16_t src_y ,
03233 uint32_t glyphcmds_len ,
03234 const uint8_t *glyphcmds );
03235
03245
03246
03247
03248
03249
03250
03251
03252
03253
03254
03255
03256
03257
03258
03259
03260
03261
03262
03263 xcb_void_cookie_t
03264 xcb_render_composite_glyphs_8 (xcb_connection_t *c ,
03265 uint8_t op ,
03266 xcb_render_picture_t src ,
03267 xcb_render_picture_t dst ,
03268 xcb_render_pictformat_t mask_format ,
03269 xcb_render_glyphset_t glyphset ,
03270 int16_t src_x ,
03271 int16_t src_y ,
03272 uint32_t glyphcmds_len ,
03273 const uint8_t *glyphcmds );
03274
03287
03288
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304
03305 xcb_void_cookie_t
03306 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
03307 uint8_t op ,
03308 xcb_render_picture_t src ,
03309 xcb_render_picture_t dst ,
03310 xcb_render_pictformat_t mask_format ,
03311 xcb_render_glyphset_t glyphset ,
03312 int16_t src_x ,
03313 int16_t src_y ,
03314 uint32_t glyphcmds_len ,
03315 const uint8_t *glyphcmds );
03316
03326
03327
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341
03342
03343
03344 xcb_void_cookie_t
03345 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
03346 uint8_t op ,
03347 xcb_render_picture_t src ,
03348 xcb_render_picture_t dst ,
03349 xcb_render_pictformat_t mask_format ,
03350 xcb_render_glyphset_t glyphset ,
03351 int16_t src_x ,
03352 int16_t src_y ,
03353 uint32_t glyphcmds_len ,
03354 const uint8_t *glyphcmds );
03355
03368
03369
03370
03371
03372
03373
03374
03375
03376
03377
03378
03379
03380
03381
03382
03383
03384
03385
03386 xcb_void_cookie_t
03387 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
03388 uint8_t op ,
03389 xcb_render_picture_t src ,
03390 xcb_render_picture_t dst ,
03391 xcb_render_pictformat_t mask_format ,
03392 xcb_render_glyphset_t glyphset ,
03393 int16_t src_x ,
03394 int16_t src_y ,
03395 uint32_t glyphcmds_len ,
03396 const uint8_t *glyphcmds );
03397
03407
03408
03409
03410
03411
03412
03413
03414
03415
03416
03417
03418
03419
03420
03421
03422
03423
03424
03425 xcb_void_cookie_t
03426 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
03427 uint8_t op ,
03428 xcb_render_picture_t src ,
03429 xcb_render_picture_t dst ,
03430 xcb_render_pictformat_t mask_format ,
03431 xcb_render_glyphset_t glyphset ,
03432 int16_t src_x ,
03433 int16_t src_y ,
03434 uint32_t glyphcmds_len ,
03435 const uint8_t *glyphcmds );
03436
03449
03450
03451
03452
03453
03454
03455
03456
03457
03458
03459
03460
03461
03462
03463 xcb_void_cookie_t
03464 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
03465 uint8_t op ,
03466 xcb_render_picture_t dst ,
03467 xcb_render_color_t color ,
03468 uint32_t rects_len ,
03469 const xcb_rectangle_t *rects );
03470
03480
03481
03482
03483
03484
03485
03486
03487
03488
03489
03490
03491
03492
03493
03494 xcb_void_cookie_t
03495 xcb_render_fill_rectangles (xcb_connection_t *c ,
03496 uint8_t op ,
03497 xcb_render_picture_t dst ,
03498 xcb_render_color_t color ,
03499 uint32_t rects_len ,
03500 const xcb_rectangle_t *rects );
03501
03514
03515
03516
03517
03518
03519
03520
03521
03522
03523
03524
03525
03526
03527 xcb_void_cookie_t
03528 xcb_render_create_cursor_checked (xcb_connection_t *c ,
03529 xcb_cursor_t cid ,
03530 xcb_render_picture_t source ,
03531 uint16_t x ,
03532 uint16_t y );
03533
03543
03544
03545
03546
03547
03548
03549
03550
03551
03552
03553
03554
03555
03556 xcb_void_cookie_t
03557 xcb_render_create_cursor (xcb_connection_t *c ,
03558 xcb_cursor_t cid ,
03559 xcb_render_picture_t source ,
03560 uint16_t x ,
03561 uint16_t y );
03562
03572
03573
03574
03575
03576
03577
03578
03579
03580
03581 void
03582 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
03583
03594
03595
03596
03597
03598
03599
03600
03601
03602
03603 xcb_generic_iterator_t
03604 xcb_render_transform_end (xcb_render_transform_iterator_t i );
03605
03618
03619
03620
03621
03622
03623
03624
03625
03626
03627
03628
03629 xcb_void_cookie_t
03630 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
03631 xcb_render_picture_t picture ,
03632 xcb_render_transform_t transform );
03633
03643
03644
03645
03646
03647
03648
03649
03650
03651
03652
03653
03654 xcb_void_cookie_t
03655 xcb_render_set_picture_transform (xcb_connection_t *c ,
03656 xcb_render_picture_t picture ,
03657 xcb_render_transform_t transform );
03658
03668
03669
03670
03671
03672
03673
03674
03675
03676
03677
03678 xcb_render_query_filters_cookie_t
03679 xcb_render_query_filters (xcb_connection_t *c ,
03680 xcb_drawable_t drawable );
03681
03694
03695
03696
03697
03698
03699
03700
03701
03702
03703
03704 xcb_render_query_filters_cookie_t
03705 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
03706 xcb_drawable_t drawable );
03707
03708
03709
03710
03711
03712
03713
03714
03715
03716
03717
03718 uint16_t *
03719 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
03720
03721
03722
03723
03724
03725
03726
03727
03728
03729
03730
03731 int
03732 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
03733
03734
03735
03736
03737
03738
03739
03740
03741
03742
03743
03744 xcb_generic_iterator_t
03745 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
03746
03747
03748
03749
03750
03751
03752
03753
03754
03755
03756
03757 int
03758 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
03759
03760
03761
03762
03763
03764
03765
03766
03767
03768
03769
03770 xcb_str_iterator_t
03771 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
03772
03786
03787
03788
03789
03790
03791
03792
03793
03794
03795
03796
03797 xcb_render_query_filters_reply_t *
03798 xcb_render_query_filters_reply (xcb_connection_t *c ,
03799 xcb_render_query_filters_cookie_t cookie ,
03800 xcb_generic_error_t **e );
03801
03814
03815
03816
03817
03818
03819
03820
03821
03822
03823
03824
03825
03826
03827
03828 xcb_void_cookie_t
03829 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03830 xcb_render_picture_t picture ,
03831 uint16_t filter_len ,
03832 const char *filter ,
03833 uint32_t values_len ,
03834 const xcb_render_fixed_t *values );
03835
03845
03846
03847
03848
03849
03850
03851
03852
03853
03854
03855
03856
03857
03858
03859 xcb_void_cookie_t
03860 xcb_render_set_picture_filter (xcb_connection_t *c ,
03861 xcb_render_picture_t picture ,
03862 uint16_t filter_len ,
03863 const char *filter ,
03864 uint32_t values_len ,
03865 const xcb_render_fixed_t *values );
03866
03876
03877
03878
03879
03880
03881
03882
03883
03884
03885 void
03886 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03887
03898
03899
03900
03901
03902
03903
03904
03905
03906
03907 xcb_generic_iterator_t
03908 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03909
03922
03923
03924
03925
03926
03927
03928
03929
03930
03931
03932
03933
03934 xcb_void_cookie_t
03935 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03936 xcb_cursor_t cid ,
03937 uint32_t cursors_len ,
03938 const xcb_render_animcursorelt_t *cursors );
03939
03949
03950
03951
03952
03953
03954
03955
03956
03957
03958
03959
03960
03961 xcb_void_cookie_t
03962 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03963 xcb_cursor_t cid ,
03964 uint32_t cursors_len ,
03965 const xcb_render_animcursorelt_t *cursors );
03966
03976
03977
03978
03979
03980
03981
03982
03983
03984
03985 void
03986 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
03987
03998
03999
04000
04001
04002
04003
04004
04005
04006
04007 xcb_generic_iterator_t
04008 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
04009
04019
04020
04021
04022
04023
04024
04025
04026
04027
04028 void
04029 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
04030
04041
04042
04043
04044
04045
04046
04047
04048
04049
04050 xcb_generic_iterator_t
04051 xcb_render_trap_end (xcb_render_trap_iterator_t i );
04052
04065
04066
04067
04068
04069
04070
04071
04072
04073
04074
04075
04076
04077
04078
04079 xcb_void_cookie_t
04080 xcb_render_add_traps_checked (xcb_connection_t *c ,
04081 xcb_render_picture_t picture ,
04082 int16_t x_off ,
04083 int16_t y_off ,
04084 uint32_t traps_len ,
04085 const xcb_render_trap_t *traps );
04086
04096
04097
04098
04099
04100
04101
04102
04103
04104
04105
04106
04107
04108
04109
04110 xcb_void_cookie_t
04111 xcb_render_add_traps (xcb_connection_t *c ,
04112 xcb_render_picture_t picture ,
04113 int16_t x_off ,
04114 int16_t y_off ,
04115 uint32_t traps_len ,
04116 const xcb_render_trap_t *traps );
04117
04130
04131
04132
04133
04134
04135
04136
04137
04138
04139
04140
04141 xcb_void_cookie_t
04142 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
04143 xcb_render_picture_t picture ,
04144 xcb_render_color_t color );
04145
04155
04156
04157
04158
04159
04160
04161
04162
04163
04164
04165
04166 xcb_void_cookie_t
04167 xcb_render_create_solid_fill (xcb_connection_t *c ,
04168 xcb_render_picture_t picture ,
04169 xcb_render_color_t color );
04170
04183
04184
04185
04186
04187
04188
04189
04190
04191
04192
04193
04194
04195
04196 xcb_void_cookie_t
04197 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
04198 xcb_render_picture_t picture ,
04199 xcb_render_pointfix_t p1 ,
04200 xcb_render_pointfix_t p2 ,
04201 uint32_t num_stops );
04202
04212
04213
04214
04215
04216
04217
04218
04219
04220
04221
04222
04223
04224
04225 xcb_void_cookie_t
04226 xcb_render_create_linear_gradient (xcb_connection_t *c ,
04227 xcb_render_picture_t picture ,
04228 xcb_render_pointfix_t p1 ,
04229 xcb_render_pointfix_t p2 ,
04230 uint32_t num_stops );
04231
04244
04245
04246
04247
04248
04249
04250
04251
04252
04253
04254
04255
04256
04257
04258
04259 xcb_void_cookie_t
04260 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
04261 xcb_render_picture_t picture ,
04262 xcb_render_pointfix_t inner ,
04263 xcb_render_pointfix_t outer ,
04264 xcb_render_fixed_t inner_radius ,
04265 xcb_render_fixed_t outer_radius ,
04266 uint32_t num_stops );
04267
04277
04278
04279
04280
04281
04282
04283
04284
04285
04286
04287
04288
04289
04290
04291
04292 xcb_void_cookie_t
04293 xcb_render_create_radial_gradient (xcb_connection_t *c ,
04294 xcb_render_picture_t picture ,
04295 xcb_render_pointfix_t inner ,
04296 xcb_render_pointfix_t outer ,
04297 xcb_render_fixed_t inner_radius ,
04298 xcb_render_fixed_t outer_radius ,
04299 uint32_t num_stops );
04300
04313
04314
04315
04316
04317
04318
04319
04320
04321
04322
04323
04324
04325
04326 xcb_void_cookie_t
04327 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
04328 xcb_render_picture_t picture ,
04329 xcb_render_pointfix_t center ,
04330 xcb_render_fixed_t angle ,
04331 uint32_t num_stops );
04332
04342
04343
04344
04345
04346
04347
04348
04349
04350
04351
04352
04353
04354
04355 xcb_void_cookie_t
04356 xcb_render_create_conical_gradient (xcb_connection_t *c ,
04357 xcb_render_picture_t picture ,
04358 xcb_render_pointfix_t center ,
04359 xcb_render_fixed_t angle ,
04360 uint32_t num_stops );
04361
04362
04363 #endif
04364