1xcb_glx_get_tex_image(3) XCB Requests xcb_glx_get_tex_image(3)
2
3
4
6 xcb_glx_get_tex_image -
7
9 #include <xcb/glx.h>
10
11 Request function
12 xcb_glx_get_tex_image_cookie_t
13 xcb_glx_get_tex_image(xcb_connection_t *conn,
14 xcb_glx_context_tag_t context_tag, uint32_t target,
15 int32_t level, uint32_t format, uint32_t type,
16 uint8_t swap_bytes);
17
18 Reply datastructure
19 typedef struct xcb_glx_get_tex_image_reply_t {
20 uint8_t response_type;
21 uint8_t pad0;
22 uint16_t sequence;
23 uint32_t length;
24 uint8_t pad1[8];
25 int32_t width;
26 int32_t height;
27 int32_t depth;
28 uint8_t pad2[4];
29 } xcb_glx_get_tex_image_reply_t;
30
31 Reply function
32 xcb_glx_get_tex_image_reply_t
33 *xcb_glx_get_tex_image_reply(xcb_connection_t *conn,
34 xcb_glx_get_tex_image_cookie_t cookie, xcb_generic_error_t **e);
35
36 Reply accessors
37 uint8_t *xcb_glx_get_tex_image_data(const
38 xcb_glx_get_tex_image_request_t *reply);
39
40 int xcb_glx_get_tex_image_data_length(const
41 xcb_glx_get_tex_image_reply_t *reply);
42
43 xcb_generic_iterator_t xcb_glx_get_tex_image_data_end(const
44 xcb_glx_get_tex_image_reply_t *reply);
45
47 conn The XCB connection to X11.
48
49 context_tag
50 TODO: NOT YET DOCUMENTED.
51
52 target TODO: NOT YET DOCUMENTED.
53
54 level TODO: NOT YET DOCUMENTED.
55
56 format TODO: NOT YET DOCUMENTED.
57
58 type TODO: NOT YET DOCUMENTED.
59
60 swap_bytes
61 TODO: NOT YET DOCUMENTED.
62
64 response_type
65 The type of this reply, in this case XCB_GLX_GET_TEX_IMAGE.
66 This field is also present in the xcb_generic_reply_t and can
67 be used to tell replies apart from each other.
68
69 sequence The sequence number of the last request processed by the X11
70 server.
71
72 length The length of the reply, in words (a word is 4 bytes).
73
74 width TODO: NOT YET DOCUMENTED.
75
76 height TODO: NOT YET DOCUMENTED.
77
78 depth TODO: NOT YET DOCUMENTED.
79
82 Returns an xcb_glx_get_tex_image_cookie_t. Errors have to be handled
83 when calling the reply function xcb_glx_get_tex_image_reply.
84
85 If you want to handle errors in the event loop instead, use
86 xcb_glx_get_tex_image_unchecked. See xcb-requests(3) for details.
87
89 This request does never generate any errors.
90
93 Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā
94 tions and improvements.
95
96
97
98X Version 11 libxcb 1.13.1 xcb_glx_get_tex_image(3)