1xcb_glx_get_color_table(3)       XCB Requests       xcb_glx_get_color_table(3)
2
3
4

NAME

6       xcb_glx_get_color_table -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_get_color_table_cookie_t
13              xcb_glx_get_color_table(xcb_connection_t *conn,
14              xcb_glx_context_tag_t context_tag, uint32_t target,
15              uint32_t format, uint32_t type, uint8_t swap_bytes);
16
17   Reply datastructure
18       typedef struct xcb_glx_get_color_table_reply_t {
19           uint8_t  response_type;
20           uint8_t  pad0;
21           uint16_t sequence;
22           uint32_t length;
23           uint8_t  pad1[8];
24           int32_t  width;
25           uint8_t  pad2[12];
26       } xcb_glx_get_color_table_reply_t;
27
28   Reply function
29       xcb_glx_get_color_table_reply_t
30              *xcb_glx_get_color_table_reply(xcb_connection_t *conn,
31              xcb_glx_get_color_table_cookie_t cookie,
32              xcb_generic_error_t **e);
33
34   Reply accessors
35       uint8_t *xcb_glx_get_color_table_data(const
36              xcb_glx_get_color_table_request_t *reply);
37
38       int xcb_glx_get_color_table_data_length(const
39              xcb_glx_get_color_table_reply_t *reply);
40
41       xcb_generic_iterator_t xcb_glx_get_color_table_data_end(const
42              xcb_glx_get_color_table_reply_t *reply);
43

REQUEST ARGUMENTS

45       conn      The XCB connection to X11.
46
47       context_tag
48                 TODO: NOT YET DOCUMENTED.
49
50       target    TODO: NOT YET DOCUMENTED.
51
52       format    TODO: NOT YET DOCUMENTED.
53
54       type      TODO: NOT YET DOCUMENTED.
55
56       swap_bytes
57                 TODO: NOT YET DOCUMENTED.
58

REPLY FIELDS

60       response_type
61                 The type of this reply, in this case XCB_GLX_GET_COLOR_TABLE.
62                 This field is also present in the xcb_generic_reply_t and can
63                 be used to tell replies apart from each other.
64
65       sequence  The sequence number of the last request processed by the X11
66                 server.
67
68       length    The length of the reply, in words (a word is 4 bytes).
69
70       width     TODO: NOT YET DOCUMENTED.
71

DESCRIPTION

RETURN VALUE

74       Returns an xcb_glx_get_color_table_cookie_t. Errors have to be handled
75       when calling the reply function xcb_glx_get_color_table_reply.
76
77       If you want to handle errors in the event loop instead, use
78       xcb_glx_get_color_table_unchecked. See xcb-requests(3) for details.
79

ERRORS

81       This request does never generate any errors.
82

SEE ALSO

AUTHOR

85       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā€
86       tions and improvements.
87
88
89
90X Version 11                      libxcb 1.13       xcb_glx_get_color_table(3)
Impressum