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
01103
01104
01105
01106
01107
01108
01109
01110
01111
01112
01113 void
01114 xcb_render_glyph_next (xcb_render_glyph_iterator_t *i );
01115
01116
01117
01118
01119
01120
01121
01122
01123
01124
01125
01126 xcb_generic_iterator_t
01127 xcb_render_glyph_end (xcb_render_glyph_iterator_t i );
01128
01129
01130
01131
01132
01133
01134
01135
01136
01137
01138
01139 void
01140 xcb_render_glyphset_next (xcb_render_glyphset_iterator_t *i );
01141
01142
01143
01144
01145
01146
01147
01148
01149
01150
01151
01152 xcb_generic_iterator_t
01153 xcb_render_glyphset_end (xcb_render_glyphset_iterator_t i );
01154
01155
01156
01157
01158
01159
01160
01161
01162
01163
01164
01165 void
01166 xcb_render_picture_next (xcb_render_picture_iterator_t *i );
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178 xcb_generic_iterator_t
01179 xcb_render_picture_end (xcb_render_picture_iterator_t i );
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191 void
01192 xcb_render_pictformat_next (xcb_render_pictformat_iterator_t *i );
01193
01194
01195
01196
01197
01198
01199
01200
01201
01202
01203
01204 xcb_generic_iterator_t
01205 xcb_render_pictformat_end (xcb_render_pictformat_iterator_t i );
01206
01207
01208
01209
01210
01211
01212
01213
01214
01215
01216
01217 void
01218 xcb_render_fixed_next (xcb_render_fixed_iterator_t *i );
01219
01220
01221
01222
01223
01224
01225
01226
01227
01228
01229
01230 xcb_generic_iterator_t
01231 xcb_render_fixed_end (xcb_render_fixed_iterator_t i );
01232
01233
01234
01235
01236
01237
01238
01239
01240
01241
01242
01243 void
01244 xcb_render_directformat_next (xcb_render_directformat_iterator_t *i );
01245
01246
01247
01248
01249
01250
01251
01252
01253
01254
01255
01256 xcb_generic_iterator_t
01257 xcb_render_directformat_end (xcb_render_directformat_iterator_t i );
01258
01259
01260
01261
01262
01263
01264
01265
01266
01267
01268
01269 void
01270 xcb_render_pictforminfo_next (xcb_render_pictforminfo_iterator_t *i );
01271
01272
01273
01274
01275
01276
01277
01278
01279
01280
01281
01282 xcb_generic_iterator_t
01283 xcb_render_pictforminfo_end (xcb_render_pictforminfo_iterator_t i );
01284
01285
01286
01287
01288
01289
01290
01291
01292
01293
01294
01295 void
01296 xcb_render_pictvisual_next (xcb_render_pictvisual_iterator_t *i );
01297
01298
01299
01300
01301
01302
01303
01304
01305
01306
01307
01308 xcb_generic_iterator_t
01309 xcb_render_pictvisual_end (xcb_render_pictvisual_iterator_t i );
01310
01311
01312
01313
01314
01315
01316
01317
01318
01319
01320
01321 xcb_render_pictvisual_t *
01322 xcb_render_pictdepth_visuals (const xcb_render_pictdepth_t *R );
01323
01324
01325
01326
01327
01328
01329
01330
01331
01332
01333
01334 int
01335 xcb_render_pictdepth_visuals_length (const xcb_render_pictdepth_t *R );
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346
01347 xcb_render_pictvisual_iterator_t
01348 xcb_render_pictdepth_visuals_iterator (const xcb_render_pictdepth_t *R );
01349
01350
01351
01352
01353
01354
01355
01356
01357
01358
01359
01360 void
01361 xcb_render_pictdepth_next (xcb_render_pictdepth_iterator_t *i );
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373 xcb_generic_iterator_t
01374 xcb_render_pictdepth_end (xcb_render_pictdepth_iterator_t i );
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385
01386 int
01387 xcb_render_pictscreen_depths_length (const xcb_render_pictscreen_t *R );
01388
01389
01390
01391
01392
01393
01394
01395
01396
01397
01398
01399 xcb_render_pictdepth_iterator_t
01400 xcb_render_pictscreen_depths_iterator (const xcb_render_pictscreen_t *R );
01401
01402
01403
01404
01405
01406
01407
01408
01409
01410
01411
01412 void
01413 xcb_render_pictscreen_next (xcb_render_pictscreen_iterator_t *i );
01414
01415
01416
01417
01418
01419
01420
01421
01422
01423
01424
01425 xcb_generic_iterator_t
01426 xcb_render_pictscreen_end (xcb_render_pictscreen_iterator_t i );
01427
01428
01429
01430
01431
01432
01433
01434
01435
01436
01437
01438 void
01439 xcb_render_indexvalue_next (xcb_render_indexvalue_iterator_t *i );
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449
01450
01451 xcb_generic_iterator_t
01452 xcb_render_indexvalue_end (xcb_render_indexvalue_iterator_t i );
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462
01463
01464 void
01465 xcb_render_color_next (xcb_render_color_iterator_t *i );
01466
01467
01468
01469
01470
01471
01472
01473
01474
01475
01476
01477 xcb_generic_iterator_t
01478 xcb_render_color_end (xcb_render_color_iterator_t i );
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488
01489
01490 void
01491 xcb_render_pointfix_next (xcb_render_pointfix_iterator_t *i );
01492
01493
01494
01495
01496
01497
01498
01499
01500
01501
01502
01503 xcb_generic_iterator_t
01504 xcb_render_pointfix_end (xcb_render_pointfix_iterator_t i );
01505
01506
01507
01508
01509
01510
01511
01512
01513
01514
01515
01516 void
01517 xcb_render_linefix_next (xcb_render_linefix_iterator_t *i );
01518
01519
01520
01521
01522
01523
01524
01525
01526
01527
01528
01529 xcb_generic_iterator_t
01530 xcb_render_linefix_end (xcb_render_linefix_iterator_t i );
01531
01532
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542 void
01543 xcb_render_triangle_next (xcb_render_triangle_iterator_t *i );
01544
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555 xcb_generic_iterator_t
01556 xcb_render_triangle_end (xcb_render_triangle_iterator_t i );
01557
01558
01559
01560
01561
01562
01563
01564
01565
01566
01567
01568 void
01569 xcb_render_trapezoid_next (xcb_render_trapezoid_iterator_t *i );
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579
01580
01581 xcb_generic_iterator_t
01582 xcb_render_trapezoid_end (xcb_render_trapezoid_iterator_t i );
01583
01584
01585
01586
01587
01588
01589
01590
01591
01592
01593
01594 void
01595 xcb_render_glyphinfo_next (xcb_render_glyphinfo_iterator_t *i );
01596
01597
01598
01599
01600
01601
01602
01603
01604
01605
01606
01607 xcb_generic_iterator_t
01608 xcb_render_glyphinfo_end (xcb_render_glyphinfo_iterator_t i );
01609
01610
01611
01612
01613
01614
01615
01616
01617
01618
01619
01620
01621
01622 xcb_render_query_version_cookie_t
01623 xcb_render_query_version (xcb_connection_t *c ,
01624 uint32_t client_major_version ,
01625 uint32_t client_minor_version );
01626
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636
01637
01638
01639 xcb_render_query_version_cookie_t
01640 xcb_render_query_version_unchecked (xcb_connection_t *c ,
01641 uint32_t client_major_version ,
01642 uint32_t client_minor_version );
01643
01644
01645
01646
01647
01648
01649
01650
01651
01652
01653
01654
01655
01656 xcb_render_query_version_reply_t *
01657 xcb_render_query_version_reply (xcb_connection_t *c ,
01658 xcb_render_query_version_cookie_t cookie ,
01659 xcb_generic_error_t **e );
01660
01661
01662
01663
01664
01665
01666
01667
01668
01669
01670
01671 xcb_render_query_pict_formats_cookie_t
01672 xcb_render_query_pict_formats (xcb_connection_t *c );
01673
01674
01675
01676
01677
01678
01679
01680
01681
01682
01683
01684 xcb_render_query_pict_formats_cookie_t
01685 xcb_render_query_pict_formats_unchecked (xcb_connection_t *c );
01686
01687
01688
01689
01690
01691
01692
01693
01694
01695
01696
01697 xcb_render_pictforminfo_t *
01698 xcb_render_query_pict_formats_formats (const xcb_render_query_pict_formats_reply_t *R );
01699
01700
01701
01702
01703
01704
01705
01706
01707
01708
01709
01710 int
01711 xcb_render_query_pict_formats_formats_length (const xcb_render_query_pict_formats_reply_t *R );
01712
01713
01714
01715
01716
01717
01718
01719
01720
01721
01722
01723 xcb_render_pictforminfo_iterator_t
01724 xcb_render_query_pict_formats_formats_iterator (const xcb_render_query_pict_formats_reply_t *R );
01725
01726
01727
01728
01729
01730
01731
01732
01733
01734
01735
01736 int
01737 xcb_render_query_pict_formats_screens_length (const xcb_render_query_pict_formats_reply_t *R );
01738
01739
01740
01741
01742
01743
01744
01745
01746
01747
01748
01749 xcb_render_pictscreen_iterator_t
01750 xcb_render_query_pict_formats_screens_iterator (const xcb_render_query_pict_formats_reply_t *R );
01751
01752
01753
01754
01755
01756
01757
01758
01759
01760
01761
01762 uint32_t *
01763 xcb_render_query_pict_formats_subpixels (const xcb_render_query_pict_formats_reply_t *R );
01764
01765
01766
01767
01768
01769
01770
01771
01772
01773
01774
01775 int
01776 xcb_render_query_pict_formats_subpixels_length (const xcb_render_query_pict_formats_reply_t *R );
01777
01778
01779
01780
01781
01782
01783
01784
01785
01786
01787
01788 xcb_generic_iterator_t
01789 xcb_render_query_pict_formats_subpixels_end (const xcb_render_query_pict_formats_reply_t *R );
01790
01791
01792
01793
01794
01795
01796
01797
01798
01799
01800
01801
01802
01803 xcb_render_query_pict_formats_reply_t *
01804 xcb_render_query_pict_formats_reply (xcb_connection_t *c ,
01805 xcb_render_query_pict_formats_cookie_t cookie ,
01806 xcb_generic_error_t **e );
01807
01808
01809
01810
01811
01812
01813
01814
01815
01816
01817
01818
01819 xcb_render_query_pict_index_values_cookie_t
01820 xcb_render_query_pict_index_values (xcb_connection_t *c ,
01821 xcb_render_pictformat_t format );
01822
01823
01824
01825
01826
01827
01828
01829
01830
01831
01832
01833
01834 xcb_render_query_pict_index_values_cookie_t
01835 xcb_render_query_pict_index_values_unchecked (xcb_connection_t *c ,
01836 xcb_render_pictformat_t format );
01837
01838
01839
01840
01841
01842
01843
01844
01845
01846
01847
01848 xcb_render_indexvalue_t *
01849 xcb_render_query_pict_index_values_values (const xcb_render_query_pict_index_values_reply_t *R );
01850
01851
01852
01853
01854
01855
01856
01857
01858
01859
01860
01861 int
01862 xcb_render_query_pict_index_values_values_length (const xcb_render_query_pict_index_values_reply_t *R );
01863
01864
01865
01866
01867
01868
01869
01870
01871
01872
01873
01874 xcb_render_indexvalue_iterator_t
01875 xcb_render_query_pict_index_values_values_iterator (const xcb_render_query_pict_index_values_reply_t *R );
01876
01877
01878
01879
01880
01881
01882
01883
01884
01885
01886
01887
01888
01889 xcb_render_query_pict_index_values_reply_t *
01890 xcb_render_query_pict_index_values_reply (xcb_connection_t *c ,
01891 xcb_render_query_pict_index_values_cookie_t cookie ,
01892 xcb_generic_error_t **e );
01893
01894
01895
01896
01897
01898
01899
01900
01901
01902
01903
01904
01905
01906
01907
01908
01909 xcb_void_cookie_t
01910 xcb_render_create_picture_checked (xcb_connection_t *c ,
01911 xcb_render_picture_t pid ,
01912 xcb_drawable_t drawable ,
01913 xcb_render_pictformat_t format ,
01914 uint32_t value_mask ,
01915 const uint32_t *value_list );
01916
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927
01928
01929
01930
01931
01932 xcb_void_cookie_t
01933 xcb_render_create_picture (xcb_connection_t *c ,
01934 xcb_render_picture_t pid ,
01935 xcb_drawable_t drawable ,
01936 xcb_render_pictformat_t format ,
01937 uint32_t value_mask ,
01938 const uint32_t *value_list );
01939
01940
01941
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952
01953 xcb_void_cookie_t
01954 xcb_render_change_picture_checked (xcb_connection_t *c ,
01955 xcb_render_picture_t picture ,
01956 uint32_t value_mask ,
01957 const uint32_t *value_list );
01958
01959
01960
01961
01962
01963
01964
01965
01966
01967
01968
01969
01970
01971
01972 xcb_void_cookie_t
01973 xcb_render_change_picture (xcb_connection_t *c ,
01974 xcb_render_picture_t picture ,
01975 uint32_t value_mask ,
01976 const uint32_t *value_list );
01977
01978
01979
01980
01981
01982
01983
01984
01985
01986
01987
01988
01989
01990
01991
01992
01993 xcb_void_cookie_t
01994 xcb_render_set_picture_clip_rectangles_checked (xcb_connection_t *c ,
01995 xcb_render_picture_t picture ,
01996 int16_t clip_x_origin ,
01997 int16_t clip_y_origin ,
01998 uint32_t rectangles_len ,
01999 const xcb_rectangle_t *rectangles );
02000
02001
02002
02003
02004
02005
02006
02007
02008
02009
02010
02011
02012
02013
02014
02015
02016 xcb_void_cookie_t
02017 xcb_render_set_picture_clip_rectangles (xcb_connection_t *c ,
02018 xcb_render_picture_t picture ,
02019 int16_t clip_x_origin ,
02020 int16_t clip_y_origin ,
02021 uint32_t rectangles_len ,
02022 const xcb_rectangle_t *rectangles );
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032
02033
02034
02035 xcb_void_cookie_t
02036 xcb_render_free_picture_checked (xcb_connection_t *c ,
02037 xcb_render_picture_t picture );
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047
02048
02049
02050 xcb_void_cookie_t
02051 xcb_render_free_picture (xcb_connection_t *c ,
02052 xcb_render_picture_t picture );
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069
02070
02071
02072
02073
02074
02075
02076 xcb_void_cookie_t
02077 xcb_render_composite_checked (xcb_connection_t *c ,
02078 uint8_t op ,
02079 xcb_render_picture_t src ,
02080 xcb_render_picture_t mask ,
02081 xcb_render_picture_t dst ,
02082 int16_t src_x ,
02083 int16_t src_y ,
02084 int16_t mask_x ,
02085 int16_t mask_y ,
02086 int16_t dst_x ,
02087 int16_t dst_y ,
02088 uint16_t width ,
02089 uint16_t height );
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112
02113 xcb_void_cookie_t
02114 xcb_render_composite (xcb_connection_t *c ,
02115 uint8_t op ,
02116 xcb_render_picture_t src ,
02117 xcb_render_picture_t mask ,
02118 xcb_render_picture_t dst ,
02119 int16_t src_x ,
02120 int16_t src_y ,
02121 int16_t mask_x ,
02122 int16_t mask_y ,
02123 int16_t dst_x ,
02124 int16_t dst_y ,
02125 uint16_t width ,
02126 uint16_t height );
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138
02139
02140
02141
02142
02143
02144
02145
02146 xcb_void_cookie_t
02147 xcb_render_trapezoids_checked (xcb_connection_t *c ,
02148 uint8_t op ,
02149 xcb_render_picture_t src ,
02150 xcb_render_picture_t dst ,
02151 xcb_render_pictformat_t mask_format ,
02152 int16_t src_x ,
02153 int16_t src_y ,
02154 uint32_t traps_len ,
02155 const xcb_render_trapezoid_t *traps );
02156
02157
02158
02159
02160
02161
02162
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172
02173
02174
02175 xcb_void_cookie_t
02176 xcb_render_trapezoids (xcb_connection_t *c ,
02177 uint8_t op ,
02178 xcb_render_picture_t src ,
02179 xcb_render_picture_t dst ,
02180 xcb_render_pictformat_t mask_format ,
02181 int16_t src_x ,
02182 int16_t src_y ,
02183 uint32_t traps_len ,
02184 const xcb_render_trapezoid_t *traps );
02185
02186
02187
02188
02189
02190
02191
02192
02193
02194
02195
02196
02197
02198
02199
02200
02201
02202
02203
02204 xcb_void_cookie_t
02205 xcb_render_triangles_checked (xcb_connection_t *c ,
02206 uint8_t op ,
02207 xcb_render_picture_t src ,
02208 xcb_render_picture_t dst ,
02209 xcb_render_pictformat_t mask_format ,
02210 int16_t src_x ,
02211 int16_t src_y ,
02212 uint32_t triangles_len ,
02213 const xcb_render_triangle_t *triangles );
02214
02215
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231
02232
02233 xcb_void_cookie_t
02234 xcb_render_triangles (xcb_connection_t *c ,
02235 uint8_t op ,
02236 xcb_render_picture_t src ,
02237 xcb_render_picture_t dst ,
02238 xcb_render_pictformat_t mask_format ,
02239 int16_t src_x ,
02240 int16_t src_y ,
02241 uint32_t triangles_len ,
02242 const xcb_render_triangle_t *triangles );
02243
02244
02245
02246
02247
02248
02249
02250
02251
02252
02253
02254
02255
02256
02257
02258
02259
02260
02261
02262 xcb_void_cookie_t
02263 xcb_render_tri_strip_checked (xcb_connection_t *c ,
02264 uint8_t op ,
02265 xcb_render_picture_t src ,
02266 xcb_render_picture_t dst ,
02267 xcb_render_pictformat_t mask_format ,
02268 int16_t src_x ,
02269 int16_t src_y ,
02270 uint32_t points_len ,
02271 const xcb_render_pointfix_t *points );
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285
02286
02287
02288
02289
02290
02291 xcb_void_cookie_t
02292 xcb_render_tri_strip (xcb_connection_t *c ,
02293 uint8_t op ,
02294 xcb_render_picture_t src ,
02295 xcb_render_picture_t dst ,
02296 xcb_render_pictformat_t mask_format ,
02297 int16_t src_x ,
02298 int16_t src_y ,
02299 uint32_t points_len ,
02300 const xcb_render_pointfix_t *points );
02301
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312
02313
02314
02315
02316
02317
02318
02319
02320 xcb_void_cookie_t
02321 xcb_render_tri_fan_checked (xcb_connection_t *c ,
02322 uint8_t op ,
02323 xcb_render_picture_t src ,
02324 xcb_render_picture_t dst ,
02325 xcb_render_pictformat_t mask_format ,
02326 int16_t src_x ,
02327 int16_t src_y ,
02328 uint32_t points_len ,
02329 const xcb_render_pointfix_t *points );
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345
02346
02347
02348
02349 xcb_void_cookie_t
02350 xcb_render_tri_fan (xcb_connection_t *c ,
02351 uint8_t op ,
02352 xcb_render_picture_t src ,
02353 xcb_render_picture_t dst ,
02354 xcb_render_pictformat_t mask_format ,
02355 int16_t src_x ,
02356 int16_t src_y ,
02357 uint32_t points_len ,
02358 const xcb_render_pointfix_t *points );
02359
02360
02361
02362
02363
02364
02365
02366
02367
02368
02369
02370
02371
02372 xcb_void_cookie_t
02373 xcb_render_create_glyph_set_checked (xcb_connection_t *c ,
02374 xcb_render_glyphset_t gsid ,
02375 xcb_render_pictformat_t format );
02376
02377
02378
02379
02380
02381
02382
02383
02384
02385
02386
02387
02388
02389 xcb_void_cookie_t
02390 xcb_render_create_glyph_set (xcb_connection_t *c ,
02391 xcb_render_glyphset_t gsid ,
02392 xcb_render_pictformat_t format );
02393
02394
02395
02396
02397
02398
02399
02400
02401
02402
02403
02404
02405
02406 xcb_void_cookie_t
02407 xcb_render_reference_glyph_set_checked (xcb_connection_t *c ,
02408 xcb_render_glyphset_t gsid ,
02409 xcb_render_glyphset_t existing );
02410
02411
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423 xcb_void_cookie_t
02424 xcb_render_reference_glyph_set (xcb_connection_t *c ,
02425 xcb_render_glyphset_t gsid ,
02426 xcb_render_glyphset_t existing );
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439 xcb_void_cookie_t
02440 xcb_render_free_glyph_set_checked (xcb_connection_t *c ,
02441 xcb_render_glyphset_t glyphset );
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453
02454 xcb_void_cookie_t
02455 xcb_render_free_glyph_set (xcb_connection_t *c ,
02456 xcb_render_glyphset_t glyphset );
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466
02467
02468
02469
02470
02471
02472
02473
02474 xcb_void_cookie_t
02475 xcb_render_add_glyphs_checked (xcb_connection_t *c ,
02476 xcb_render_glyphset_t glyphset ,
02477 uint32_t glyphs_len ,
02478 const uint32_t *glyphids ,
02479 const xcb_render_glyphinfo_t *glyphs ,
02480 uint32_t data_len ,
02481 const uint8_t *data );
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495
02496
02497
02498
02499 xcb_void_cookie_t
02500 xcb_render_add_glyphs (xcb_connection_t *c ,
02501 xcb_render_glyphset_t glyphset ,
02502 uint32_t glyphs_len ,
02503 const uint32_t *glyphids ,
02504 const xcb_render_glyphinfo_t *glyphs ,
02505 uint32_t data_len ,
02506 const uint8_t *data );
02507
02508
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521 xcb_void_cookie_t
02522 xcb_render_free_glyphs_checked (xcb_connection_t *c ,
02523 xcb_render_glyphset_t glyphset ,
02524 uint32_t glyphs_len ,
02525 const xcb_render_glyph_t *glyphs );
02526
02527
02528
02529
02530
02531
02532
02533
02534
02535
02536
02537
02538
02539
02540 xcb_void_cookie_t
02541 xcb_render_free_glyphs (xcb_connection_t *c ,
02542 xcb_render_glyphset_t glyphset ,
02543 uint32_t glyphs_len ,
02544 const xcb_render_glyph_t *glyphs );
02545
02546
02547
02548
02549
02550
02551
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561
02562
02563
02564
02565 xcb_void_cookie_t
02566 xcb_render_composite_glyphs_8_checked (xcb_connection_t *c ,
02567 uint8_t op ,
02568 xcb_render_picture_t src ,
02569 xcb_render_picture_t dst ,
02570 xcb_render_pictformat_t mask_format ,
02571 xcb_render_glyphset_t glyphset ,
02572 int16_t src_x ,
02573 int16_t src_y ,
02574 uint32_t glyphcmds_len ,
02575 const uint8_t *glyphcmds );
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_glyphs_8 (xcb_connection_t *c ,
02598 uint8_t op ,
02599 xcb_render_picture_t src ,
02600 xcb_render_picture_t dst ,
02601 xcb_render_pictformat_t mask_format ,
02602 xcb_render_glyphset_t glyphset ,
02603 int16_t src_x ,
02604 int16_t src_y ,
02605 uint32_t glyphcmds_len ,
02606 const uint8_t *glyphcmds );
02607
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617
02618
02619
02620
02621
02622
02623
02624
02625
02626
02627 xcb_void_cookie_t
02628 xcb_render_composite_glyphs_16_checked (xcb_connection_t *c ,
02629 uint8_t op ,
02630 xcb_render_picture_t src ,
02631 xcb_render_picture_t dst ,
02632 xcb_render_pictformat_t mask_format ,
02633 xcb_render_glyphset_t glyphset ,
02634 int16_t src_x ,
02635 int16_t src_y ,
02636 uint32_t glyphcmds_len ,
02637 const uint8_t *glyphcmds );
02638
02639
02640
02641
02642
02643
02644
02645
02646
02647
02648
02649
02650
02651
02652
02653
02654
02655
02656
02657
02658 xcb_void_cookie_t
02659 xcb_render_composite_glyphs_16 (xcb_connection_t *c ,
02660 uint8_t op ,
02661 xcb_render_picture_t src ,
02662 xcb_render_picture_t dst ,
02663 xcb_render_pictformat_t mask_format ,
02664 xcb_render_glyphset_t glyphset ,
02665 int16_t src_x ,
02666 int16_t src_y ,
02667 uint32_t glyphcmds_len ,
02668 const uint8_t *glyphcmds );
02669
02670
02671
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681
02682
02683
02684
02685
02686
02687
02688
02689 xcb_void_cookie_t
02690 xcb_render_composite_glyphs_32_checked (xcb_connection_t *c ,
02691 uint8_t op ,
02692 xcb_render_picture_t src ,
02693 xcb_render_picture_t dst ,
02694 xcb_render_pictformat_t mask_format ,
02695 xcb_render_glyphset_t glyphset ,
02696 int16_t src_x ,
02697 int16_t src_y ,
02698 uint32_t glyphcmds_len ,
02699 const uint8_t *glyphcmds );
02700
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720 xcb_void_cookie_t
02721 xcb_render_composite_glyphs_32 (xcb_connection_t *c ,
02722 uint8_t op ,
02723 xcb_render_picture_t src ,
02724 xcb_render_picture_t dst ,
02725 xcb_render_pictformat_t mask_format ,
02726 xcb_render_glyphset_t glyphset ,
02727 int16_t src_x ,
02728 int16_t src_y ,
02729 uint32_t glyphcmds_len ,
02730 const uint8_t *glyphcmds );
02731
02732
02733
02734
02735
02736
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746
02747 xcb_void_cookie_t
02748 xcb_render_fill_rectangles_checked (xcb_connection_t *c ,
02749 uint8_t op ,
02750 xcb_render_picture_t dst ,
02751 xcb_render_color_t color ,
02752 uint32_t rects_len ,
02753 const xcb_rectangle_t *rects );
02754
02755
02756
02757
02758
02759
02760
02761
02762
02763
02764
02765
02766
02767
02768
02769
02770 xcb_void_cookie_t
02771 xcb_render_fill_rectangles (xcb_connection_t *c ,
02772 uint8_t op ,
02773 xcb_render_picture_t dst ,
02774 xcb_render_color_t color ,
02775 uint32_t rects_len ,
02776 const xcb_rectangle_t *rects );
02777
02778
02779
02780
02781
02782
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792 xcb_void_cookie_t
02793 xcb_render_create_cursor_checked (xcb_connection_t *c ,
02794 xcb_cursor_t cid ,
02795 xcb_render_picture_t source ,
02796 uint16_t x ,
02797 uint16_t y );
02798
02799
02800
02801
02802
02803
02804
02805
02806
02807
02808
02809
02810
02811
02812
02813 xcb_void_cookie_t
02814 xcb_render_create_cursor (xcb_connection_t *c ,
02815 xcb_cursor_t cid ,
02816 xcb_render_picture_t source ,
02817 uint16_t x ,
02818 uint16_t y );
02819
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830 void
02831 xcb_render_transform_next (xcb_render_transform_iterator_t *i );
02832
02833
02834
02835
02836
02837
02838
02839
02840
02841
02842
02843 xcb_generic_iterator_t
02844 xcb_render_transform_end (xcb_render_transform_iterator_t i );
02845
02846
02847
02848
02849
02850
02851
02852
02853
02854
02855
02856
02857
02858 xcb_void_cookie_t
02859 xcb_render_set_picture_transform_checked (xcb_connection_t *c ,
02860 xcb_render_picture_t picture ,
02861 xcb_render_transform_t transform );
02862
02863
02864
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875 xcb_void_cookie_t
02876 xcb_render_set_picture_transform (xcb_connection_t *c ,
02877 xcb_render_picture_t picture ,
02878 xcb_render_transform_t transform );
02879
02880
02881
02882
02883
02884
02885
02886
02887
02888
02889
02890
02891 xcb_render_query_filters_cookie_t
02892 xcb_render_query_filters (xcb_connection_t *c ,
02893 xcb_drawable_t drawable );
02894
02895
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905
02906 xcb_render_query_filters_cookie_t
02907 xcb_render_query_filters_unchecked (xcb_connection_t *c ,
02908 xcb_drawable_t drawable );
02909
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919
02920 uint16_t *
02921 xcb_render_query_filters_aliases (const xcb_render_query_filters_reply_t *R );
02922
02923
02924
02925
02926
02927
02928
02929
02930
02931
02932
02933 int
02934 xcb_render_query_filters_aliases_length (const xcb_render_query_filters_reply_t *R );
02935
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945
02946 xcb_generic_iterator_t
02947 xcb_render_query_filters_aliases_end (const xcb_render_query_filters_reply_t *R );
02948
02949
02950
02951
02952
02953
02954
02955
02956
02957
02958
02959 int
02960 xcb_render_query_filters_filters_length (const xcb_render_query_filters_reply_t *R );
02961
02962
02963
02964
02965
02966
02967
02968
02969
02970
02971
02972 xcb_str_iterator_t
02973 xcb_render_query_filters_filters_iterator (const xcb_render_query_filters_reply_t *R );
02974
02975
02976
02977
02978
02979
02980
02981
02982
02983
02984
02985
02986
02987 xcb_render_query_filters_reply_t *
02988 xcb_render_query_filters_reply (xcb_connection_t *c ,
02989 xcb_render_query_filters_cookie_t cookie ,
02990 xcb_generic_error_t **e );
02991
02992
02993
02994
02995
02996
02997
02998
02999
03000
03001
03002
03003
03004
03005
03006
03007 xcb_void_cookie_t
03008 xcb_render_set_picture_filter_checked (xcb_connection_t *c ,
03009 xcb_render_picture_t picture ,
03010 uint16_t filter_len ,
03011 const char *filter ,
03012 uint32_t values_len ,
03013 const xcb_render_fixed_t *values );
03014
03015
03016
03017
03018
03019
03020
03021
03022
03023
03024
03025
03026
03027
03028
03029
03030 xcb_void_cookie_t
03031 xcb_render_set_picture_filter (xcb_connection_t *c ,
03032 xcb_render_picture_t picture ,
03033 uint16_t filter_len ,
03034 const char *filter ,
03035 uint32_t values_len ,
03036 const xcb_render_fixed_t *values );
03037
03038
03039
03040
03041
03042
03043
03044
03045
03046
03047
03048 void
03049 xcb_render_animcursorelt_next (xcb_render_animcursorelt_iterator_t *i );
03050
03051
03052
03053
03054
03055
03056
03057
03058
03059
03060
03061 xcb_generic_iterator_t
03062 xcb_render_animcursorelt_end (xcb_render_animcursorelt_iterator_t i );
03063
03064
03065
03066
03067
03068
03069
03070
03071
03072
03073
03074
03075
03076
03077 xcb_void_cookie_t
03078 xcb_render_create_anim_cursor_checked (xcb_connection_t *c ,
03079 xcb_cursor_t cid ,
03080 uint32_t cursors_len ,
03081 const xcb_render_animcursorelt_t *cursors );
03082
03083
03084
03085
03086
03087
03088
03089
03090
03091
03092
03093
03094
03095
03096 xcb_void_cookie_t
03097 xcb_render_create_anim_cursor (xcb_connection_t *c ,
03098 xcb_cursor_t cid ,
03099 uint32_t cursors_len ,
03100 const xcb_render_animcursorelt_t *cursors );
03101
03102
03103
03104
03105
03106
03107
03108
03109
03110
03111
03112 void
03113 xcb_render_spanfix_next (xcb_render_spanfix_iterator_t *i );
03114
03115
03116
03117
03118
03119
03120
03121
03122
03123
03124
03125 xcb_generic_iterator_t
03126 xcb_render_spanfix_end (xcb_render_spanfix_iterator_t i );
03127
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138 void
03139 xcb_render_trap_next (xcb_render_trap_iterator_t *i );
03140
03141
03142
03143
03144
03145
03146
03147
03148
03149
03150
03151 xcb_generic_iterator_t
03152 xcb_render_trap_end (xcb_render_trap_iterator_t i );
03153
03154
03155
03156
03157
03158
03159
03160
03161
03162
03163
03164
03165
03166
03167
03168
03169 xcb_void_cookie_t
03170 xcb_render_add_traps_checked (xcb_connection_t *c ,
03171 xcb_render_picture_t picture ,
03172 int16_t x_off ,
03173 int16_t y_off ,
03174 uint32_t traps_len ,
03175 const xcb_render_trap_t *traps );
03176
03177
03178
03179
03180
03181
03182
03183
03184
03185
03186
03187
03188
03189
03190
03191
03192 xcb_void_cookie_t
03193 xcb_render_add_traps (xcb_connection_t *c ,
03194 xcb_render_picture_t picture ,
03195 int16_t x_off ,
03196 int16_t y_off ,
03197 uint32_t traps_len ,
03198 const xcb_render_trap_t *traps );
03199
03200
03201
03202
03203
03204
03205
03206
03207
03208
03209
03210
03211
03212 xcb_void_cookie_t
03213 xcb_render_create_solid_fill_checked (xcb_connection_t *c ,
03214 xcb_render_picture_t picture ,
03215 xcb_render_color_t color );
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227
03228
03229 xcb_void_cookie_t
03230 xcb_render_create_solid_fill (xcb_connection_t *c ,
03231 xcb_render_picture_t picture ,
03232 xcb_render_color_t color );
03233
03234
03235
03236
03237
03238
03239
03240
03241
03242
03243
03244
03245
03246
03247
03248 xcb_void_cookie_t
03249 xcb_render_create_linear_gradient_checked (xcb_connection_t *c ,
03250 xcb_render_picture_t picture ,
03251 xcb_render_pointfix_t p1 ,
03252 xcb_render_pointfix_t p2 ,
03253 uint32_t num_stops );
03254
03255
03256
03257
03258
03259
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269 xcb_void_cookie_t
03270 xcb_render_create_linear_gradient (xcb_connection_t *c ,
03271 xcb_render_picture_t picture ,
03272 xcb_render_pointfix_t p1 ,
03273 xcb_render_pointfix_t p2 ,
03274 uint32_t num_stops );
03275
03276
03277
03278
03279
03280
03281
03282
03283
03284
03285
03286
03287
03288
03289
03290
03291
03292 xcb_void_cookie_t
03293 xcb_render_create_radial_gradient_checked (xcb_connection_t *c ,
03294 xcb_render_picture_t picture ,
03295 xcb_render_pointfix_t inner ,
03296 xcb_render_pointfix_t outer ,
03297 xcb_render_fixed_t inner_radius ,
03298 xcb_render_fixed_t outer_radius ,
03299 uint32_t num_stops );
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309
03310
03311
03312
03313
03314
03315
03316
03317 xcb_void_cookie_t
03318 xcb_render_create_radial_gradient (xcb_connection_t *c ,
03319 xcb_render_picture_t picture ,
03320 xcb_render_pointfix_t inner ,
03321 xcb_render_pointfix_t outer ,
03322 xcb_render_fixed_t inner_radius ,
03323 xcb_render_fixed_t outer_radius ,
03324 uint32_t num_stops );
03325
03326
03327
03328
03329
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339
03340 xcb_void_cookie_t
03341 xcb_render_create_conical_gradient_checked (xcb_connection_t *c ,
03342 xcb_render_picture_t picture ,
03343 xcb_render_pointfix_t center ,
03344 xcb_render_fixed_t angle ,
03345 uint32_t num_stops );
03346
03347
03348
03349
03350
03351
03352
03353
03354
03355
03356
03357
03358
03359
03360
03361 xcb_void_cookie_t
03362 xcb_render_create_conical_gradient (xcb_connection_t *c ,
03363 xcb_render_picture_t picture ,
03364 xcb_render_pointfix_t center ,
03365 xcb_render_fixed_t angle ,
03366 uint32_t num_stops );
03367
03368
03369 #endif
03370