diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-01-26 21:32:13 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-01-26 21:32:13 +0000 |
commit | 534a59dc96bdfb1b29a1ff426939ee580347e3a2 (patch) | |
tree | e5b209ef8dad71342fdc362b05b2a1aaed152ff4 /lib/libxcb/src/glx.c | |
parent | 9d2efe62a0314bcf82676acac0b2c1ed7903a28a (diff) |
Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@.
Lots of churn due to white-space and comments changes in generated code.
Diffstat (limited to 'lib/libxcb/src/glx.c')
-rw-r--r-- | lib/libxcb/src/glx.c | 6852 |
1 files changed, 800 insertions, 6052 deletions
diff --git a/lib/libxcb/src/glx.c b/lib/libxcb/src/glx.c index 12239764c..33db8d48b 100644 --- a/lib/libxcb/src/glx.c +++ b/lib/libxcb/src/glx.c @@ -18,16 +18,6 @@ xcb_extension_t xcb_glx_id = { "GLX", 0 }; - -/***************************************************************************** - ** - ** void xcb_glx_pixmap_next - ** - ** @param xcb_glx_pixmap_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_pixmap_next (xcb_glx_pixmap_iterator_t *i /**< */) { @@ -36,16 +26,6 @@ xcb_glx_pixmap_next (xcb_glx_pixmap_iterator_t *i /**< */) i->index += sizeof(xcb_glx_pixmap_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_pixmap_end - ** - ** @param xcb_glx_pixmap_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_pixmap_end (xcb_glx_pixmap_iterator_t i /**< */) { @@ -56,16 +36,6 @@ xcb_glx_pixmap_end (xcb_glx_pixmap_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_context_next - ** - ** @param xcb_glx_context_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_context_next (xcb_glx_context_iterator_t *i /**< */) { @@ -74,16 +44,6 @@ xcb_glx_context_next (xcb_glx_context_iterator_t *i /**< */) i->index += sizeof(xcb_glx_context_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_context_end - ** - ** @param xcb_glx_context_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_context_end (xcb_glx_context_iterator_t i /**< */) { @@ -94,16 +54,6 @@ xcb_glx_context_end (xcb_glx_context_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_pbuffer_next - ** - ** @param xcb_glx_pbuffer_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_pbuffer_next (xcb_glx_pbuffer_iterator_t *i /**< */) { @@ -112,16 +62,6 @@ xcb_glx_pbuffer_next (xcb_glx_pbuffer_iterator_t *i /**< */) i->index += sizeof(xcb_glx_pbuffer_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_pbuffer_end - ** - ** @param xcb_glx_pbuffer_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_pbuffer_end (xcb_glx_pbuffer_iterator_t i /**< */) { @@ -132,16 +72,6 @@ xcb_glx_pbuffer_end (xcb_glx_pbuffer_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_window_next - ** - ** @param xcb_glx_window_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_window_next (xcb_glx_window_iterator_t *i /**< */) { @@ -150,16 +80,6 @@ xcb_glx_window_next (xcb_glx_window_iterator_t *i /**< */) i->index += sizeof(xcb_glx_window_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_window_end - ** - ** @param xcb_glx_window_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_window_end (xcb_glx_window_iterator_t i /**< */) { @@ -170,16 +90,6 @@ xcb_glx_window_end (xcb_glx_window_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_fbconfig_next - ** - ** @param xcb_glx_fbconfig_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_fbconfig_next (xcb_glx_fbconfig_iterator_t *i /**< */) { @@ -188,16 +98,6 @@ xcb_glx_fbconfig_next (xcb_glx_fbconfig_iterator_t *i /**< */) i->index += sizeof(xcb_glx_fbconfig_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_fbconfig_end - ** - ** @param xcb_glx_fbconfig_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_fbconfig_end (xcb_glx_fbconfig_iterator_t i /**< */) { @@ -208,16 +108,6 @@ xcb_glx_fbconfig_end (xcb_glx_fbconfig_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_drawable_next - ** - ** @param xcb_glx_drawable_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_drawable_next (xcb_glx_drawable_iterator_t *i /**< */) { @@ -226,16 +116,6 @@ xcb_glx_drawable_next (xcb_glx_drawable_iterator_t *i /**< */) i->index += sizeof(xcb_glx_drawable_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_drawable_end - ** - ** @param xcb_glx_drawable_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_drawable_end (xcb_glx_drawable_iterator_t i /**< */) { @@ -246,16 +126,6 @@ xcb_glx_drawable_end (xcb_glx_drawable_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_float32_next - ** - ** @param xcb_glx_float32_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_float32_next (xcb_glx_float32_iterator_t *i /**< */) { @@ -264,16 +134,6 @@ xcb_glx_float32_next (xcb_glx_float32_iterator_t *i /**< */) i->index += sizeof(xcb_glx_float32_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_float32_end - ** - ** @param xcb_glx_float32_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_float32_end (xcb_glx_float32_iterator_t i /**< */) { @@ -284,16 +144,6 @@ xcb_glx_float32_end (xcb_glx_float32_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_float64_next - ** - ** @param xcb_glx_float64_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_float64_next (xcb_glx_float64_iterator_t *i /**< */) { @@ -302,16 +152,6 @@ xcb_glx_float64_next (xcb_glx_float64_iterator_t *i /**< */) i->index += sizeof(xcb_glx_float64_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_float64_end - ** - ** @param xcb_glx_float64_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_float64_end (xcb_glx_float64_iterator_t i /**< */) { @@ -322,16 +162,6 @@ xcb_glx_float64_end (xcb_glx_float64_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_bool32_next - ** - ** @param xcb_glx_bool32_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_bool32_next (xcb_glx_bool32_iterator_t *i /**< */) { @@ -340,16 +170,6 @@ xcb_glx_bool32_next (xcb_glx_bool32_iterator_t *i /**< */) i->index += sizeof(xcb_glx_bool32_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_bool32_end - ** - ** @param xcb_glx_bool32_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_bool32_end (xcb_glx_bool32_iterator_t i /**< */) { @@ -360,16 +180,6 @@ xcb_glx_bool32_end (xcb_glx_bool32_iterator_t i /**< */) return ret; } - -/***************************************************************************** - ** - ** void xcb_glx_context_tag_next - ** - ** @param xcb_glx_context_tag_iterator_t *i - ** @returns void - ** - *****************************************************************************/ - void xcb_glx_context_tag_next (xcb_glx_context_tag_iterator_t *i /**< */) { @@ -378,16 +188,6 @@ xcb_glx_context_tag_next (xcb_glx_context_tag_iterator_t *i /**< */) i->index += sizeof(xcb_glx_context_tag_t); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_context_tag_end - ** - ** @param xcb_glx_context_tag_iterator_t i - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_context_tag_end (xcb_glx_context_tag_iterator_t i /**< */) { @@ -429,19 +229,6 @@ xcb_glx_render_sizeof (const void *_buffer /**< */, return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_render_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_render_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -454,13 +241,13 @@ xcb_glx_render_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_render_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -470,24 +257,11 @@ xcb_glx_render_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_render - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_render (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -500,13 +274,13 @@ xcb_glx_render (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_render_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -516,7 +290,7 @@ xcb_glx_render (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -552,21 +326,6 @@ xcb_glx_render_large_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_render_large_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint16_t request_num - ** @param uint16_t request_total - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_render_large_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -581,16 +340,16 @@ xcb_glx_render_large_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER_LARGE, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_render_large_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.request_num = request_num; xcb_out.request_total = request_total; xcb_out.data_len = data_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -600,26 +359,11 @@ xcb_glx_render_large_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_render_large - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint16_t request_num - ** @param uint16_t request_total - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_render_large (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -634,16 +378,16 @@ xcb_glx_render_large (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER_LARGE, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_render_large_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.request_num = request_num; xcb_out.request_total = request_total; xcb_out.data_len = data_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -653,26 +397,11 @@ xcb_glx_render_large (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_context_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_visualid_t visual - ** @param uint32_t screen - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_context_checked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -687,42 +416,27 @@ xcb_glx_create_context_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_context_request_t xcb_out; - + xcb_out.context = context; xcb_out.visual = visual; xcb_out.screen = screen; xcb_out.share_list = share_list; xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_context - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_visualid_t visual - ** @param uint32_t screen - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_context (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -737,38 +451,27 @@ xcb_glx_create_context (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_context_request_t xcb_out; - + xcb_out.context = context; xcb_out.visual = visual; xcb_out.screen = screen; xcb_out.share_list = share_list; xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_context_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_context_checked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -779,33 +482,22 @@ xcb_glx_destroy_context_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_context_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_context - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_context (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -816,35 +508,22 @@ xcb_glx_destroy_context (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_context_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_make_current_cookie_t xcb_glx_make_current - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @param xcb_glx_context_t context - ** @param xcb_glx_context_tag_t old_context_tag - ** @returns xcb_glx_make_current_cookie_t - ** - *****************************************************************************/ - xcb_glx_make_current_cookie_t xcb_glx_make_current (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */, @@ -857,37 +536,24 @@ xcb_glx_make_current (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_MAKE_CURRENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_make_current_cookie_t xcb_ret; xcb_glx_make_current_request_t xcb_out; - + xcb_out.drawable = drawable; xcb_out.context = context; xcb_out.old_context_tag = old_context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_make_current_cookie_t xcb_glx_make_current_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @param xcb_glx_context_t context - ** @param xcb_glx_context_tag_t old_context_tag - ** @returns xcb_glx_make_current_cookie_t - ** - *****************************************************************************/ - xcb_glx_make_current_cookie_t xcb_glx_make_current_unchecked (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */, @@ -900,36 +566,24 @@ xcb_glx_make_current_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_MAKE_CURRENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_make_current_cookie_t xcb_ret; xcb_glx_make_current_request_t xcb_out; - + xcb_out.drawable = drawable; xcb_out.context = context; xcb_out.old_context_tag = old_context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_make_current_reply_t * xcb_glx_make_current_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_make_current_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_make_current_reply_t * - ** - *****************************************************************************/ - xcb_glx_make_current_reply_t * xcb_glx_make_current_reply (xcb_connection_t *c /**< */, xcb_glx_make_current_cookie_t cookie /**< */, @@ -938,17 +592,6 @@ xcb_glx_make_current_reply (xcb_connection_t *c /**< */, return (xcb_glx_make_current_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_is_direct_cookie_t xcb_glx_is_direct - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_glx_is_direct_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_direct_cookie_t xcb_glx_is_direct (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -959,33 +602,22 @@ xcb_glx_is_direct (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_DIRECT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_direct_cookie_t xcb_ret; xcb_glx_is_direct_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_direct_cookie_t xcb_glx_is_direct_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_glx_is_direct_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_direct_cookie_t xcb_glx_is_direct_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -996,34 +628,22 @@ xcb_glx_is_direct_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_DIRECT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_direct_cookie_t xcb_ret; xcb_glx_is_direct_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_direct_reply_t * xcb_glx_is_direct_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_is_direct_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_is_direct_reply_t * - ** - *****************************************************************************/ - xcb_glx_is_direct_reply_t * xcb_glx_is_direct_reply (xcb_connection_t *c /**< */, xcb_glx_is_direct_cookie_t cookie /**< */, @@ -1032,18 +652,6 @@ xcb_glx_is_direct_reply (xcb_connection_t *c /**< */, return (xcb_glx_is_direct_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_query_version_cookie_t xcb_glx_query_version - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @returns xcb_glx_query_version_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_version_cookie_t xcb_glx_query_version (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -1055,35 +663,23 @@ xcb_glx_query_version (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_VERSION, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_version_cookie_t xcb_ret; xcb_glx_query_version_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_version_cookie_t xcb_glx_query_version_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @returns xcb_glx_query_version_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_version_cookie_t xcb_glx_query_version_unchecked (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -1095,35 +691,23 @@ xcb_glx_query_version_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_VERSION, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_version_cookie_t xcb_ret; xcb_glx_query_version_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_version_reply_t * xcb_glx_query_version_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_query_version_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_query_version_reply_t * - ** - *****************************************************************************/ - xcb_glx_query_version_reply_t * xcb_glx_query_version_reply (xcb_connection_t *c /**< */, xcb_glx_query_version_cookie_t cookie /**< */, @@ -1132,17 +716,6 @@ xcb_glx_query_version_reply (xcb_connection_t *c /**< */, return (xcb_glx_query_version_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_wait_gl_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_wait_gl_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -1153,33 +726,22 @@ xcb_glx_wait_gl_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_WAIT_GL, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_wait_gl_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_wait_gl - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_wait_gl (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -1190,33 +752,22 @@ xcb_glx_wait_gl (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_WAIT_GL, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_wait_gl_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_wait_x_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_wait_x_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -1227,33 +778,22 @@ xcb_glx_wait_x_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_WAIT_X, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_wait_x_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_wait_x - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_wait_x (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -1264,36 +804,22 @@ xcb_glx_wait_x (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_WAIT_X, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_wait_x_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_copy_context_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t src - ** @param xcb_glx_context_t dest - ** @param uint32_t mask - ** @param xcb_glx_context_tag_t src_context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_copy_context_checked (xcb_connection_t *c /**< */, xcb_glx_context_t src /**< */, @@ -1307,39 +833,25 @@ xcb_glx_copy_context_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_COPY_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_copy_context_request_t xcb_out; - + xcb_out.src = src; xcb_out.dest = dest; xcb_out.mask = mask; xcb_out.src_context_tag = src_context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_copy_context - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t src - ** @param xcb_glx_context_t dest - ** @param uint32_t mask - ** @param xcb_glx_context_tag_t src_context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_copy_context (xcb_connection_t *c /**< */, xcb_glx_context_t src /**< */, @@ -1353,37 +865,25 @@ xcb_glx_copy_context (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_COPY_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_copy_context_request_t xcb_out; - + xcb_out.src = src; xcb_out.dest = dest; xcb_out.mask = mask; xcb_out.src_context_tag = src_context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_swap_buffers_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param xcb_glx_drawable_t drawable - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_swap_buffers_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -1395,35 +895,23 @@ xcb_glx_swap_buffers_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SWAP_BUFFERS, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_swap_buffers_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.drawable = drawable; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_swap_buffers - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param xcb_glx_drawable_t drawable - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_swap_buffers (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -1435,38 +923,23 @@ xcb_glx_swap_buffers (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SWAP_BUFFERS, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_swap_buffers_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.drawable = drawable; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_use_x_font_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param xcb_font_t font - ** @param uint32_t first - ** @param uint32_t count - ** @param uint32_t list_base - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_use_x_font_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -1481,41 +954,26 @@ xcb_glx_use_x_font_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_USE_X_FONT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_use_x_font_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.font = font; xcb_out.first = first; xcb_out.count = count; xcb_out.list_base = list_base; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_use_x_font - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param xcb_font_t font - ** @param uint32_t first - ** @param uint32_t count - ** @param uint32_t list_base - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_use_x_font (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -1530,40 +988,26 @@ xcb_glx_use_x_font (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_USE_X_FONT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_use_x_font_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.font = font; xcb_out.first = first; xcb_out.count = count; xcb_out.list_base = list_base; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_glx_pixmap_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_visualid_t visual - ** @param xcb_pixmap_t pixmap - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_glx_pixmap_checked (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -1577,39 +1021,25 @@ xcb_glx_create_glx_pixmap_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_GLX_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_glx_pixmap_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.visual = visual; xcb_out.pixmap = pixmap; xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_glx_pixmap - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_visualid_t visual - ** @param xcb_pixmap_t pixmap - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_glx_pixmap (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -1623,21 +1053,21 @@ xcb_glx_create_glx_pixmap (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_GLX_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_glx_pixmap_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.visual = visual; xcb_out.pixmap = pixmap; xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -1673,17 +1103,6 @@ xcb_glx_get_visual_configs_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_visual_configs_cookie_t xcb_glx_get_visual_configs - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_get_visual_configs_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_visual_configs_cookie_t xcb_glx_get_visual_configs (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -1694,33 +1113,22 @@ xcb_glx_get_visual_configs (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_VISUAL_CONFIGS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_visual_configs_cookie_t xcb_ret; xcb_glx_get_visual_configs_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_visual_configs_cookie_t xcb_glx_get_visual_configs_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_get_visual_configs_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_visual_configs_cookie_t xcb_glx_get_visual_configs_unchecked (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -1731,64 +1139,34 @@ xcb_glx_get_visual_configs_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_VISUAL_CONFIGS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_visual_configs_cookie_t xcb_ret; xcb_glx_get_visual_configs_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_get_visual_configs_property_list - ** - ** @param const xcb_glx_get_visual_configs_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_get_visual_configs_property_list (const xcb_glx_get_visual_configs_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_visual_configs_property_list_length - ** - ** @param const xcb_glx_get_visual_configs_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_visual_configs_property_list_length (const xcb_glx_get_visual_configs_reply_t *R /**< */) { return R->length; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_visual_configs_property_list_end - ** - ** @param const xcb_glx_get_visual_configs_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_visual_configs_property_list_end (const xcb_glx_get_visual_configs_reply_t *R /**< */) { @@ -1799,18 +1177,6 @@ xcb_glx_get_visual_configs_property_list_end (const xcb_glx_get_visual_configs_r return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_visual_configs_reply_t * xcb_glx_get_visual_configs_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_visual_configs_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_visual_configs_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_visual_configs_reply_t * xcb_glx_get_visual_configs_reply (xcb_connection_t *c /**< */, xcb_glx_get_visual_configs_cookie_t cookie /**< */, @@ -1819,17 +1185,6 @@ xcb_glx_get_visual_configs_reply (xcb_connection_t *c /**< return (xcb_glx_get_visual_configs_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_glx_pixmap_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_glx_pixmap_checked (xcb_connection_t *c /**< */, xcb_glx_pixmap_t glx_pixmap /**< */) @@ -1840,33 +1195,22 @@ xcb_glx_destroy_glx_pixmap_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_GLX_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_glx_pixmap_request_t xcb_out; - + xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_glx_pixmap - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_glx_pixmap (xcb_connection_t *c /**< */, xcb_glx_pixmap_t glx_pixmap /**< */) @@ -1877,18 +1221,18 @@ xcb_glx_destroy_glx_pixmap (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_GLX_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_glx_pixmap_request_t xcb_out; - + xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -1924,20 +1268,6 @@ xcb_glx_vendor_private_sizeof (const void *_buffer /**< */, return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_vendor_private_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t vendor_code - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_vendor_private_checked (xcb_connection_t *c /**< */, uint32_t vendor_code /**< */, @@ -1951,14 +1281,14 @@ xcb_glx_vendor_private_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_VENDOR_PRIVATE, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_vendor_private_request_t xcb_out; - + xcb_out.vendor_code = vendor_code; xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -1968,25 +1298,11 @@ xcb_glx_vendor_private_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_vendor_private - ** - ** @param xcb_connection_t *c - ** @param uint32_t vendor_code - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_vendor_private (xcb_connection_t *c /**< */, uint32_t vendor_code /**< */, @@ -2000,14 +1316,14 @@ xcb_glx_vendor_private (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_VENDOR_PRIVATE, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_vendor_private_request_t xcb_out; - + xcb_out.vendor_code = vendor_code; xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2017,7 +1333,7 @@ xcb_glx_vendor_private (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -2053,20 +1369,6 @@ xcb_glx_vendor_private_with_reply_sizeof (const void *_buffer /**< */, return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply - ** - ** @param xcb_connection_t *c - ** @param uint32_t vendor_code - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_glx_vendor_private_with_reply_cookie_t - ** - *****************************************************************************/ - xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply (xcb_connection_t *c /**< */, uint32_t vendor_code /**< */, @@ -2080,14 +1382,14 @@ xcb_glx_vendor_private_with_reply (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_VENDOR_PRIVATE_WITH_REPLY, /* isvoid */ 0 }; - + struct iovec xcb_parts[6]; xcb_glx_vendor_private_with_reply_cookie_t xcb_ret; xcb_glx_vendor_private_with_reply_request_t xcb_out; - + xcb_out.vendor_code = vendor_code; xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2097,25 +1399,11 @@ xcb_glx_vendor_private_with_reply (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t vendor_code - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t data_len - ** @param const uint8_t *data - ** @returns xcb_glx_vendor_private_with_reply_cookie_t - ** - *****************************************************************************/ - xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply_unchecked (xcb_connection_t *c /**< */, uint32_t vendor_code /**< */, @@ -2129,14 +1417,14 @@ xcb_glx_vendor_private_with_reply_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_VENDOR_PRIVATE_WITH_REPLY, /* isvoid */ 0 }; - + struct iovec xcb_parts[6]; xcb_glx_vendor_private_with_reply_cookie_t xcb_ret; xcb_glx_vendor_private_with_reply_request_t xcb_out; - + xcb_out.vendor_code = vendor_code; xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2146,53 +1434,23 @@ xcb_glx_vendor_private_with_reply_unchecked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = data_len * sizeof(uint8_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_vendor_private_with_reply_data_2 - ** - ** @param const xcb_glx_vendor_private_with_reply_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_vendor_private_with_reply_data_2 (const xcb_glx_vendor_private_with_reply_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_vendor_private_with_reply_data_2_length - ** - ** @param const xcb_glx_vendor_private_with_reply_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_vendor_private_with_reply_data_2_length (const xcb_glx_vendor_private_with_reply_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_vendor_private_with_reply_data_2_end - ** - ** @param const xcb_glx_vendor_private_with_reply_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_vendor_private_with_reply_data_2_end (const xcb_glx_vendor_private_with_reply_reply_t *R /**< */) { @@ -2203,18 +1461,6 @@ xcb_glx_vendor_private_with_reply_data_2_end (const xcb_glx_vendor_private_with_ return i; } - -/***************************************************************************** - ** - ** xcb_glx_vendor_private_with_reply_reply_t * xcb_glx_vendor_private_with_reply_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_vendor_private_with_reply_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_vendor_private_with_reply_reply_t * - ** - *****************************************************************************/ - xcb_glx_vendor_private_with_reply_reply_t * xcb_glx_vendor_private_with_reply_reply (xcb_connection_t *c /**< */, xcb_glx_vendor_private_with_reply_cookie_t cookie /**< */, @@ -2223,17 +1469,6 @@ xcb_glx_vendor_private_with_reply_reply (xcb_connection_t return (xcb_glx_vendor_private_with_reply_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_query_extensions_string_cookie_t xcb_glx_query_extensions_string - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_query_extensions_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_extensions_string_cookie_t xcb_glx_query_extensions_string (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -2244,33 +1479,22 @@ xcb_glx_query_extensions_string (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_EXTENSIONS_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_extensions_string_cookie_t xcb_ret; xcb_glx_query_extensions_string_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_extensions_string_cookie_t xcb_glx_query_extensions_string_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_query_extensions_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_extensions_string_cookie_t xcb_glx_query_extensions_string_unchecked (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -2281,34 +1505,22 @@ xcb_glx_query_extensions_string_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_EXTENSIONS_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_extensions_string_cookie_t xcb_ret; xcb_glx_query_extensions_string_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_extensions_string_reply_t * xcb_glx_query_extensions_string_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_query_extensions_string_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_query_extensions_string_reply_t * - ** - *****************************************************************************/ - xcb_glx_query_extensions_string_reply_t * xcb_glx_query_extensions_string_reply (xcb_connection_t *c /**< */, xcb_glx_query_extensions_string_cookie_t cookie /**< */, @@ -2348,18 +1560,6 @@ xcb_glx_query_server_string_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_query_server_string_cookie_t xcb_glx_query_server_string - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param uint32_t name - ** @returns xcb_glx_query_server_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_server_string_cookie_t xcb_glx_query_server_string (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -2371,35 +1571,23 @@ xcb_glx_query_server_string (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_SERVER_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_server_string_cookie_t xcb_ret; xcb_glx_query_server_string_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.name = name; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_server_string_cookie_t xcb_glx_query_server_string_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param uint32_t name - ** @returns xcb_glx_query_server_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_server_string_cookie_t xcb_glx_query_server_string_unchecked (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -2411,65 +1599,35 @@ xcb_glx_query_server_string_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_SERVER_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_server_string_cookie_t xcb_ret; xcb_glx_query_server_string_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.name = name; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** char * xcb_glx_query_server_string_string - ** - ** @param const xcb_glx_query_server_string_reply_t *R - ** @returns char * - ** - *****************************************************************************/ - char * xcb_glx_query_server_string_string (const xcb_glx_query_server_string_reply_t *R /**< */) { return (char *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_query_server_string_string_length - ** - ** @param const xcb_glx_query_server_string_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_query_server_string_string_length (const xcb_glx_query_server_string_reply_t *R /**< */) { return R->str_len; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_query_server_string_string_end - ** - ** @param const xcb_glx_query_server_string_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_query_server_string_string_end (const xcb_glx_query_server_string_reply_t *R /**< */) { @@ -2480,18 +1638,6 @@ xcb_glx_query_server_string_string_end (const xcb_glx_query_server_string_reply_ return i; } - -/***************************************************************************** - ** - ** xcb_glx_query_server_string_reply_t * xcb_glx_query_server_string_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_query_server_string_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_query_server_string_reply_t * - ** - *****************************************************************************/ - xcb_glx_query_server_string_reply_t * xcb_glx_query_server_string_reply (xcb_connection_t *c /**< */, xcb_glx_query_server_string_cookie_t cookie /**< */, @@ -2531,20 +1677,6 @@ xcb_glx_client_info_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_client_info_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t str_len - ** @param const char *string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_client_info_checked (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -2558,15 +1690,15 @@ xcb_glx_client_info_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CLIENT_INFO, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_client_info_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.str_len = str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2576,25 +1708,11 @@ xcb_glx_client_info_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = str_len * sizeof(char); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_client_info - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t str_len - ** @param const char *string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_client_info (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -2608,15 +1726,15 @@ xcb_glx_client_info (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CLIENT_INFO, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_client_info_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.str_len = str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2626,7 +1744,7 @@ xcb_glx_client_info (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = str_len * sizeof(char); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -2662,17 +1780,6 @@ xcb_glx_get_fb_configs_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_fb_configs_cookie_t xcb_glx_get_fb_configs - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_get_fb_configs_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_fb_configs_cookie_t xcb_glx_get_fb_configs (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -2683,33 +1790,22 @@ xcb_glx_get_fb_configs (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_FB_CONFIGS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_fb_configs_cookie_t xcb_ret; xcb_glx_get_fb_configs_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_fb_configs_cookie_t xcb_glx_get_fb_configs_unchecked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @returns xcb_glx_get_fb_configs_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_fb_configs_cookie_t xcb_glx_get_fb_configs_unchecked (xcb_connection_t *c /**< */, uint32_t screen /**< */) @@ -2720,64 +1816,34 @@ xcb_glx_get_fb_configs_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_FB_CONFIGS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_fb_configs_cookie_t xcb_ret; xcb_glx_get_fb_configs_request_t xcb_out; - + xcb_out.screen = screen; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_get_fb_configs_property_list - ** - ** @param const xcb_glx_get_fb_configs_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_get_fb_configs_property_list (const xcb_glx_get_fb_configs_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_fb_configs_property_list_length - ** - ** @param const xcb_glx_get_fb_configs_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_fb_configs_property_list_length (const xcb_glx_get_fb_configs_reply_t *R /**< */) { return R->length; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_fb_configs_property_list_end - ** - ** @param const xcb_glx_get_fb_configs_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_fb_configs_property_list_end (const xcb_glx_get_fb_configs_reply_t *R /**< */) { @@ -2788,18 +1854,6 @@ xcb_glx_get_fb_configs_property_list_end (const xcb_glx_get_fb_configs_reply_t * return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_fb_configs_reply_t * xcb_glx_get_fb_configs_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_fb_configs_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_fb_configs_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_fb_configs_reply_t * xcb_glx_get_fb_configs_reply (xcb_connection_t *c /**< */, xcb_glx_get_fb_configs_cookie_t cookie /**< */, @@ -2839,22 +1893,6 @@ xcb_glx_create_pixmap_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_pixmap_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_pixmap_t pixmap - ** @param xcb_glx_pixmap_t glx_pixmap - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_pixmap_checked (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -2870,17 +1908,17 @@ xcb_glx_create_pixmap_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_pixmap_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.pixmap = pixmap; xcb_out.glx_pixmap = glx_pixmap; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2890,27 +1928,11 @@ xcb_glx_create_pixmap_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_pixmap - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_pixmap_t pixmap - ** @param xcb_glx_pixmap_t glx_pixmap - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_pixmap (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -2926,17 +1948,17 @@ xcb_glx_create_pixmap (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_pixmap_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.pixmap = pixmap; xcb_out.glx_pixmap = glx_pixmap; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -2946,22 +1968,11 @@ xcb_glx_create_pixmap (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_pixmap_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_pixmap_checked (xcb_connection_t *c /**< */, xcb_glx_pixmap_t glx_pixmap /**< */) @@ -2972,33 +1983,22 @@ xcb_glx_destroy_pixmap_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_pixmap_request_t xcb_out; - + xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_pixmap - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pixmap_t glx_pixmap - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_pixmap (xcb_connection_t *c /**< */, xcb_glx_pixmap_t glx_pixmap /**< */) @@ -3009,38 +2009,22 @@ xcb_glx_destroy_pixmap (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_PIXMAP, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_pixmap_request_t xcb_out; - + xcb_out.glx_pixmap = glx_pixmap; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_new_context_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_glx_fbconfig_t fbconfig - ** @param uint32_t screen - ** @param uint32_t render_type - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_new_context_checked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -3056,11 +2040,11 @@ xcb_glx_create_new_context_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_NEW_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_new_context_request_t xcb_out; - + xcb_out.context = context; xcb_out.fbconfig = fbconfig; xcb_out.screen = screen; @@ -3068,32 +2052,16 @@ xcb_glx_create_new_context_checked (xcb_connection_t *c /**< */, xcb_out.share_list = share_list; xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_new_context - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_glx_fbconfig_t fbconfig - ** @param uint32_t screen - ** @param uint32_t render_type - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_new_context (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -3109,11 +2077,11 @@ xcb_glx_create_new_context (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_NEW_CONTEXT, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_create_new_context_request_t xcb_out; - + xcb_out.context = context; xcb_out.fbconfig = fbconfig; xcb_out.screen = screen; @@ -3121,12 +2089,12 @@ xcb_glx_create_new_context (xcb_connection_t *c /**< */, xcb_out.share_list = share_list; xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -3162,17 +2130,6 @@ xcb_glx_query_context_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_query_context_cookie_t xcb_glx_query_context - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_glx_query_context_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_context_cookie_t xcb_glx_query_context (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -3183,33 +2140,22 @@ xcb_glx_query_context (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_CONTEXT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_context_cookie_t xcb_ret; xcb_glx_query_context_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_query_context_cookie_t xcb_glx_query_context_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @returns xcb_glx_query_context_cookie_t - ** - *****************************************************************************/ - xcb_glx_query_context_cookie_t xcb_glx_query_context_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */) @@ -3220,64 +2166,34 @@ xcb_glx_query_context_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_QUERY_CONTEXT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_query_context_cookie_t xcb_ret; xcb_glx_query_context_request_t xcb_out; - + xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_query_context_attribs - ** - ** @param const xcb_glx_query_context_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_query_context_attribs (const xcb_glx_query_context_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_query_context_attribs_length - ** - ** @param const xcb_glx_query_context_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_query_context_attribs_length (const xcb_glx_query_context_reply_t *R /**< */) { return (R->num_attribs * 2); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_query_context_attribs_end - ** - ** @param const xcb_glx_query_context_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_query_context_attribs_end (const xcb_glx_query_context_reply_t *R /**< */) { @@ -3288,18 +2204,6 @@ xcb_glx_query_context_attribs_end (const xcb_glx_query_context_reply_t *R /**< return i; } - -/***************************************************************************** - ** - ** xcb_glx_query_context_reply_t * xcb_glx_query_context_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_query_context_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_query_context_reply_t * - ** - *****************************************************************************/ - xcb_glx_query_context_reply_t * xcb_glx_query_context_reply (xcb_connection_t *c /**< */, xcb_glx_query_context_cookie_t cookie /**< */, @@ -3308,20 +2212,6 @@ xcb_glx_query_context_reply (xcb_connection_t *c /**< */, return (xcb_glx_query_context_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_make_context_current_cookie_t xcb_glx_make_context_current - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t old_context_tag - ** @param xcb_glx_drawable_t drawable - ** @param xcb_glx_drawable_t read_drawable - ** @param xcb_glx_context_t context - ** @returns xcb_glx_make_context_current_cookie_t - ** - *****************************************************************************/ - xcb_glx_make_context_current_cookie_t xcb_glx_make_context_current (xcb_connection_t *c /**< */, xcb_glx_context_tag_t old_context_tag /**< */, @@ -3335,39 +2225,25 @@ xcb_glx_make_context_current (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_MAKE_CONTEXT_CURRENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_make_context_current_cookie_t xcb_ret; xcb_glx_make_context_current_request_t xcb_out; - + xcb_out.old_context_tag = old_context_tag; xcb_out.drawable = drawable; xcb_out.read_drawable = read_drawable; xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_make_context_current_cookie_t xcb_glx_make_context_current_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t old_context_tag - ** @param xcb_glx_drawable_t drawable - ** @param xcb_glx_drawable_t read_drawable - ** @param xcb_glx_context_t context - ** @returns xcb_glx_make_context_current_cookie_t - ** - *****************************************************************************/ - xcb_glx_make_context_current_cookie_t xcb_glx_make_context_current_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t old_context_tag /**< */, @@ -3381,37 +2257,25 @@ xcb_glx_make_context_current_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_MAKE_CONTEXT_CURRENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_make_context_current_cookie_t xcb_ret; xcb_glx_make_context_current_request_t xcb_out; - + xcb_out.old_context_tag = old_context_tag; xcb_out.drawable = drawable; xcb_out.read_drawable = read_drawable; xcb_out.context = context; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_make_context_current_reply_t * xcb_glx_make_context_current_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_make_context_current_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_make_context_current_reply_t * - ** - *****************************************************************************/ - xcb_glx_make_context_current_reply_t * xcb_glx_make_context_current_reply (xcb_connection_t *c /**< */, xcb_glx_make_context_current_cookie_t cookie /**< */, @@ -3451,21 +2315,6 @@ xcb_glx_create_pbuffer_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_pbuffer_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_glx_pbuffer_t pbuffer - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_pbuffer_checked (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -3480,16 +2329,16 @@ xcb_glx_create_pbuffer_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_PBUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_pbuffer_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.pbuffer = pbuffer; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -3499,26 +2348,11 @@ xcb_glx_create_pbuffer_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_pbuffer - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_glx_pbuffer_t pbuffer - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_pbuffer (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -3533,16 +2367,16 @@ xcb_glx_create_pbuffer (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_PBUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_pbuffer_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.pbuffer = pbuffer; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -3552,22 +2386,11 @@ xcb_glx_create_pbuffer (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_pbuffer_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pbuffer_t pbuffer - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_pbuffer_checked (xcb_connection_t *c /**< */, xcb_glx_pbuffer_t pbuffer /**< */) @@ -3578,33 +2401,22 @@ xcb_glx_destroy_pbuffer_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_PBUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_pbuffer_request_t xcb_out; - + xcb_out.pbuffer = pbuffer; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_destroy_pbuffer - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_pbuffer_t pbuffer - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_destroy_pbuffer (xcb_connection_t *c /**< */, xcb_glx_pbuffer_t pbuffer /**< */) @@ -3615,18 +2427,18 @@ xcb_glx_destroy_pbuffer (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DESTROY_PBUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_destroy_pbuffer_request_t xcb_out; - + xcb_out.pbuffer = pbuffer; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -3662,17 +2474,6 @@ xcb_glx_get_drawable_attributes_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_drawable_attributes_cookie_t xcb_glx_get_drawable_attributes - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @returns xcb_glx_get_drawable_attributes_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_drawable_attributes_cookie_t xcb_glx_get_drawable_attributes (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */) @@ -3683,33 +2484,22 @@ xcb_glx_get_drawable_attributes (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_DRAWABLE_ATTRIBUTES, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_drawable_attributes_cookie_t xcb_ret; xcb_glx_get_drawable_attributes_request_t xcb_out; - + xcb_out.drawable = drawable; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_drawable_attributes_cookie_t xcb_glx_get_drawable_attributes_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @returns xcb_glx_get_drawable_attributes_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_drawable_attributes_cookie_t xcb_glx_get_drawable_attributes_unchecked (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */) @@ -3720,64 +2510,34 @@ xcb_glx_get_drawable_attributes_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_DRAWABLE_ATTRIBUTES, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_drawable_attributes_cookie_t xcb_ret; xcb_glx_get_drawable_attributes_request_t xcb_out; - + xcb_out.drawable = drawable; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_get_drawable_attributes_attribs - ** - ** @param const xcb_glx_get_drawable_attributes_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_get_drawable_attributes_attribs (const xcb_glx_get_drawable_attributes_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_drawable_attributes_attribs_length - ** - ** @param const xcb_glx_get_drawable_attributes_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_drawable_attributes_attribs_length (const xcb_glx_get_drawable_attributes_reply_t *R /**< */) { return (R->num_attribs * 2); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_drawable_attributes_attribs_end - ** - ** @param const xcb_glx_get_drawable_attributes_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_drawable_attributes_attribs_end (const xcb_glx_get_drawable_attributes_reply_t *R /**< */) { @@ -3788,18 +2548,6 @@ xcb_glx_get_drawable_attributes_attribs_end (const xcb_glx_get_drawable_attribut return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_drawable_attributes_reply_t * xcb_glx_get_drawable_attributes_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_drawable_attributes_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_drawable_attributes_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_drawable_attributes_reply_t * xcb_glx_get_drawable_attributes_reply (xcb_connection_t *c /**< */, xcb_glx_get_drawable_attributes_cookie_t cookie /**< */, @@ -3839,19 +2587,6 @@ xcb_glx_change_drawable_attributes_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_change_drawable_attributes_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_change_drawable_attributes_checked (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */, @@ -3864,14 +2599,14 @@ xcb_glx_change_drawable_attributes_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CHANGE_DRAWABLE_ATTRIBUTES, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_change_drawable_attributes_request_t xcb_out; - + xcb_out.drawable = drawable; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -3881,24 +2616,11 @@ xcb_glx_change_drawable_attributes_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_change_drawable_attributes - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_drawable_t drawable - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_change_drawable_attributes (xcb_connection_t *c /**< */, xcb_glx_drawable_t drawable /**< */, @@ -3911,14 +2633,14 @@ xcb_glx_change_drawable_attributes (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CHANGE_DRAWABLE_ATTRIBUTES, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_change_drawable_attributes_request_t xcb_out; - + xcb_out.drawable = drawable; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -3928,7 +2650,7 @@ xcb_glx_change_drawable_attributes (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -3964,22 +2686,6 @@ xcb_glx_create_window_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_window_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_window_t window - ** @param xcb_glx_window_t glx_window - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_window_checked (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -3995,17 +2701,17 @@ xcb_glx_create_window_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_WINDOW, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_window_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.window = window; xcb_out.glx_window = glx_window; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4015,27 +2721,11 @@ xcb_glx_create_window_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_window - ** - ** @param xcb_connection_t *c - ** @param uint32_t screen - ** @param xcb_glx_fbconfig_t fbconfig - ** @param xcb_window_t window - ** @param xcb_glx_window_t glx_window - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_window (xcb_connection_t *c /**< */, uint32_t screen /**< */, @@ -4051,17 +2741,17 @@ xcb_glx_create_window (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_WINDOW, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_window_request_t xcb_out; - + xcb_out.screen = screen; xcb_out.fbconfig = fbconfig; xcb_out.window = window; xcb_out.glx_window = glx_window; xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4071,22 +2761,11 @@ xcb_glx_create_window (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_window_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_window_t glxwindow - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_window_checked (xcb_connection_t *c /**< */, xcb_glx_window_t glxwindow /**< */) @@ -4097,33 +2776,22 @@ xcb_glx_delete_window_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_WINDOW, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_window_request_t xcb_out; - + xcb_out.glxwindow = glxwindow; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_window - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_window_t glxwindow - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_window (xcb_connection_t *c /**< */, xcb_glx_window_t glxwindow /**< */) @@ -4134,18 +2802,18 @@ xcb_glx_delete_window (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_WINDOW, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_window_request_t xcb_out; - + xcb_out.glxwindow = glxwindow; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -4205,24 +2873,6 @@ xcb_glx_set_client_info_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_set_client_info_arb_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t num_versions - ** @param uint32_t gl_str_len - ** @param uint32_t glx_str_len - ** @param const uint32_t *gl_versions - ** @param const char *gl_extension_string - ** @param const char *glx_extension_string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_set_client_info_arb_checked (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -4240,17 +2890,17 @@ xcb_glx_set_client_info_arb_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SET_CLIENT_INFO_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[10]; xcb_void_cookie_t xcb_ret; xcb_glx_set_client_info_arb_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.num_versions = num_versions; xcb_out.gl_str_len = gl_str_len; xcb_out.glx_str_len = glx_str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4270,29 +2920,11 @@ xcb_glx_set_client_info_arb_checked (xcb_connection_t *c /**< */, xcb_parts[8].iov_len = glx_str_len * sizeof(char); xcb_parts[9].iov_base = 0; xcb_parts[9].iov_len = -xcb_parts[8].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_set_client_info_arb - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t num_versions - ** @param uint32_t gl_str_len - ** @param uint32_t glx_str_len - ** @param const uint32_t *gl_versions - ** @param const char *gl_extension_string - ** @param const char *glx_extension_string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_set_client_info_arb (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -4310,17 +2942,17 @@ xcb_glx_set_client_info_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SET_CLIENT_INFO_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[10]; xcb_void_cookie_t xcb_ret; xcb_glx_set_client_info_arb_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.num_versions = num_versions; xcb_out.gl_str_len = gl_str_len; xcb_out.glx_str_len = glx_str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4340,7 +2972,7 @@ xcb_glx_set_client_info_arb (xcb_connection_t *c /**< */, xcb_parts[8].iov_len = glx_str_len * sizeof(char); xcb_parts[9].iov_base = 0; xcb_parts[9].iov_len = -xcb_parts[8].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -4376,23 +3008,6 @@ xcb_glx_create_context_attribs_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_context_attribs_arb_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_glx_fbconfig_t fbconfig - ** @param uint32_t screen - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_context_attribs_arb_checked (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -4409,11 +3024,11 @@ xcb_glx_create_context_attribs_arb_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_CONTEXT_ATTRIBS_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_context_attribs_arb_request_t xcb_out; - + xcb_out.context = context; xcb_out.fbconfig = fbconfig; xcb_out.screen = screen; @@ -4421,7 +3036,7 @@ xcb_glx_create_context_attribs_arb_checked (xcb_connection_t *c /**< */, xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4431,28 +3046,11 @@ xcb_glx_create_context_attribs_arb_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_create_context_attribs_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_t context - ** @param xcb_glx_fbconfig_t fbconfig - ** @param uint32_t screen - ** @param xcb_glx_context_t share_list - ** @param uint8_t is_direct - ** @param uint32_t num_attribs - ** @param const uint32_t *attribs - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_create_context_attribs_arb (xcb_connection_t *c /**< */, xcb_glx_context_t context /**< */, @@ -4469,11 +3067,11 @@ xcb_glx_create_context_attribs_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_CREATE_CONTEXT_ATTRIBS_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_create_context_attribs_arb_request_t xcb_out; - + xcb_out.context = context; xcb_out.fbconfig = fbconfig; xcb_out.screen = screen; @@ -4481,7 +3079,7 @@ xcb_glx_create_context_attribs_arb (xcb_connection_t *c /**< */, xcb_out.is_direct = is_direct; memset(xcb_out.pad0, 0, 3); xcb_out.num_attribs = num_attribs; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4491,7 +3089,7 @@ xcb_glx_create_context_attribs_arb (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = (num_attribs * 2) * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -4551,24 +3149,6 @@ xcb_glx_set_client_info_2arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_set_client_info_2arb_checked - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t num_versions - ** @param uint32_t gl_str_len - ** @param uint32_t glx_str_len - ** @param const uint32_t *gl_versions - ** @param const char *gl_extension_string - ** @param const char *glx_extension_string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_set_client_info_2arb_checked (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -4586,17 +3166,17 @@ xcb_glx_set_client_info_2arb_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SET_CLIENT_INFO_2ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[10]; xcb_void_cookie_t xcb_ret; xcb_glx_set_client_info_2arb_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.num_versions = num_versions; xcb_out.gl_str_len = gl_str_len; xcb_out.glx_str_len = glx_str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4616,29 +3196,11 @@ xcb_glx_set_client_info_2arb_checked (xcb_connection_t *c /**< */, xcb_parts[8].iov_len = glx_str_len * sizeof(char); xcb_parts[9].iov_base = 0; xcb_parts[9].iov_len = -xcb_parts[8].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_set_client_info_2arb - ** - ** @param xcb_connection_t *c - ** @param uint32_t major_version - ** @param uint32_t minor_version - ** @param uint32_t num_versions - ** @param uint32_t gl_str_len - ** @param uint32_t glx_str_len - ** @param const uint32_t *gl_versions - ** @param const char *gl_extension_string - ** @param const char *glx_extension_string - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_set_client_info_2arb (xcb_connection_t *c /**< */, uint32_t major_version /**< */, @@ -4656,17 +3218,17 @@ xcb_glx_set_client_info_2arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SET_CLIENT_INFO_2ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[10]; xcb_void_cookie_t xcb_ret; xcb_glx_set_client_info_2arb_request_t xcb_out; - + xcb_out.major_version = major_version; xcb_out.minor_version = minor_version; xcb_out.num_versions = num_versions; xcb_out.gl_str_len = gl_str_len; xcb_out.glx_str_len = glx_str_len; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -4686,24 +3248,11 @@ xcb_glx_set_client_info_2arb (xcb_connection_t *c /**< */, xcb_parts[8].iov_len = glx_str_len * sizeof(char); xcb_parts[9].iov_base = 0; xcb_parts[9].iov_len = -xcb_parts[8].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_new_list_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @param uint32_t mode - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_new_list_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -4716,37 +3265,24 @@ xcb_glx_new_list_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_NEW_LIST, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_new_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; xcb_out.mode = mode; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_new_list - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @param uint32_t mode - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_new_list (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -4759,35 +3295,24 @@ xcb_glx_new_list (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_NEW_LIST, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_new_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; xcb_out.mode = mode; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_end_list_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_end_list_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -4798,33 +3323,22 @@ xcb_glx_end_list_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_END_LIST, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_end_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_end_list - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_end_list (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -4835,35 +3349,22 @@ xcb_glx_end_list (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_END_LIST, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_end_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_lists_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @param int32_t range - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_lists_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -4876,37 +3377,24 @@ xcb_glx_delete_lists_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_LISTS, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_lists_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; xcb_out.range = range; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_lists - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @param int32_t range - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_lists (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -4919,36 +3407,24 @@ xcb_glx_delete_lists (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_LISTS, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_lists_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; xcb_out.range = range; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_gen_lists_cookie_t xcb_glx_gen_lists - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t range - ** @returns xcb_glx_gen_lists_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_lists_cookie_t xcb_glx_gen_lists (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -4960,35 +3436,23 @@ xcb_glx_gen_lists (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_LISTS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_lists_cookie_t xcb_ret; xcb_glx_gen_lists_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.range = range; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_gen_lists_cookie_t xcb_glx_gen_lists_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t range - ** @returns xcb_glx_gen_lists_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_lists_cookie_t xcb_glx_gen_lists_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5000,35 +3464,23 @@ xcb_glx_gen_lists_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_LISTS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_lists_cookie_t xcb_ret; xcb_glx_gen_lists_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.range = range; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_gen_lists_reply_t * xcb_glx_gen_lists_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_gen_lists_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_gen_lists_reply_t * - ** - *****************************************************************************/ - xcb_glx_gen_lists_reply_t * xcb_glx_gen_lists_reply (xcb_connection_t *c /**< */, xcb_glx_gen_lists_cookie_t cookie /**< */, @@ -5037,19 +3489,6 @@ xcb_glx_gen_lists_reply (xcb_connection_t *c /**< */, return (xcb_glx_gen_lists_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_feedback_buffer_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t size - ** @param int32_t type - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_feedback_buffer_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5062,37 +3501,24 @@ xcb_glx_feedback_buffer_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FEEDBACK_BUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_feedback_buffer_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.size = size; xcb_out.type = type; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_feedback_buffer - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t size - ** @param int32_t type - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_feedback_buffer (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5105,36 +3531,24 @@ xcb_glx_feedback_buffer (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FEEDBACK_BUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_feedback_buffer_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.size = size; xcb_out.type = type; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_select_buffer_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t size - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_select_buffer_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5146,35 +3560,23 @@ xcb_glx_select_buffer_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SELECT_BUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_select_buffer_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.size = size; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_select_buffer - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t size - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_select_buffer (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5186,19 +3588,19 @@ xcb_glx_select_buffer (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_SELECT_BUFFER, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_select_buffer_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.size = size; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -5234,18 +3636,6 @@ xcb_glx_render_mode_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_render_mode_cookie_t xcb_glx_render_mode - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t mode - ** @returns xcb_glx_render_mode_cookie_t - ** - *****************************************************************************/ - xcb_glx_render_mode_cookie_t xcb_glx_render_mode (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5257,35 +3647,23 @@ xcb_glx_render_mode (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER_MODE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_render_mode_cookie_t xcb_ret; xcb_glx_render_mode_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.mode = mode; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_render_mode_cookie_t xcb_glx_render_mode_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t mode - ** @returns xcb_glx_render_mode_cookie_t - ** - *****************************************************************************/ - xcb_glx_render_mode_cookie_t xcb_glx_render_mode_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5297,65 +3675,35 @@ xcb_glx_render_mode_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_RENDER_MODE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_render_mode_cookie_t xcb_ret; xcb_glx_render_mode_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.mode = mode; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_render_mode_data - ** - ** @param const xcb_glx_render_mode_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_render_mode_data (const xcb_glx_render_mode_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_render_mode_data_length - ** - ** @param const xcb_glx_render_mode_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_render_mode_data_length (const xcb_glx_render_mode_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_render_mode_data_end - ** - ** @param const xcb_glx_render_mode_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_render_mode_data_end (const xcb_glx_render_mode_reply_t *R /**< */) { @@ -5366,18 +3714,6 @@ xcb_glx_render_mode_data_end (const xcb_glx_render_mode_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_render_mode_reply_t * xcb_glx_render_mode_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_render_mode_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_render_mode_reply_t * - ** - *****************************************************************************/ - xcb_glx_render_mode_reply_t * xcb_glx_render_mode_reply (xcb_connection_t *c /**< */, xcb_glx_render_mode_cookie_t cookie /**< */, @@ -5386,17 +3722,6 @@ xcb_glx_render_mode_reply (xcb_connection_t *c /**< */, return (xcb_glx_render_mode_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_finish_cookie_t xcb_glx_finish - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_glx_finish_cookie_t - ** - *****************************************************************************/ - xcb_glx_finish_cookie_t xcb_glx_finish (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -5407,33 +3732,22 @@ xcb_glx_finish (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FINISH, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_finish_cookie_t xcb_ret; xcb_glx_finish_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_finish_cookie_t xcb_glx_finish_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_glx_finish_cookie_t - ** - *****************************************************************************/ - xcb_glx_finish_cookie_t xcb_glx_finish_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -5444,34 +3758,22 @@ xcb_glx_finish_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FINISH, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_finish_cookie_t xcb_ret; xcb_glx_finish_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_finish_reply_t * xcb_glx_finish_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_finish_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_finish_reply_t * - ** - *****************************************************************************/ - xcb_glx_finish_reply_t * xcb_glx_finish_reply (xcb_connection_t *c /**< */, xcb_glx_finish_cookie_t cookie /**< */, @@ -5480,19 +3782,6 @@ xcb_glx_finish_reply (xcb_connection_t *c /**< */, return (xcb_glx_finish_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_pixel_storef_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @param xcb_glx_float32_t datum - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_pixel_storef_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5505,37 +3794,24 @@ xcb_glx_pixel_storef_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_PIXEL_STOREF, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_pixel_storef_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; xcb_out.datum = datum; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_pixel_storef - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @param xcb_glx_float32_t datum - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_pixel_storef (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5548,37 +3824,24 @@ xcb_glx_pixel_storef (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_PIXEL_STOREF, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_pixel_storef_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; xcb_out.datum = datum; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_pixel_storei_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @param int32_t datum - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_pixel_storei_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5591,37 +3854,24 @@ xcb_glx_pixel_storei_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_PIXEL_STOREI, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_pixel_storei_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; xcb_out.datum = datum; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_pixel_storei - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @param int32_t datum - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_pixel_storei (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5634,20 +3884,20 @@ xcb_glx_pixel_storei (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_PIXEL_STOREI, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_pixel_storei_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; xcb_out.datum = datum; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -5683,25 +3933,6 @@ xcb_glx_read_pixels_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_read_pixels_cookie_t xcb_glx_read_pixels - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t x - ** @param int32_t y - ** @param int32_t width - ** @param int32_t height - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t lsb_first - ** @returns xcb_glx_read_pixels_cookie_t - ** - *****************************************************************************/ - xcb_glx_read_pixels_cookie_t xcb_glx_read_pixels (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5720,11 +3951,11 @@ xcb_glx_read_pixels (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_READ_PIXELS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_read_pixels_cookie_t xcb_ret; xcb_glx_read_pixels_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.x = x; xcb_out.y = y; @@ -5734,35 +3965,16 @@ xcb_glx_read_pixels (xcb_connection_t *c /**< */, xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.lsb_first = lsb_first; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_read_pixels_cookie_t xcb_glx_read_pixels_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t x - ** @param int32_t y - ** @param int32_t width - ** @param int32_t height - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t lsb_first - ** @returns xcb_glx_read_pixels_cookie_t - ** - *****************************************************************************/ - xcb_glx_read_pixels_cookie_t xcb_glx_read_pixels_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5781,11 +3993,11 @@ xcb_glx_read_pixels_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_READ_PIXELS, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_read_pixels_cookie_t xcb_ret; xcb_glx_read_pixels_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.x = x; xcb_out.y = y; @@ -5795,58 +4007,28 @@ xcb_glx_read_pixels_unchecked (xcb_connection_t *c /**< */, xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.lsb_first = lsb_first; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_read_pixels_data - ** - ** @param const xcb_glx_read_pixels_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_read_pixels_data (const xcb_glx_read_pixels_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_read_pixels_data_length - ** - ** @param const xcb_glx_read_pixels_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_read_pixels_data_length (const xcb_glx_read_pixels_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_read_pixels_data_end - ** - ** @param const xcb_glx_read_pixels_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_read_pixels_data_end (const xcb_glx_read_pixels_reply_t *R /**< */) { @@ -5857,18 +4039,6 @@ xcb_glx_read_pixels_data_end (const xcb_glx_read_pixels_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_read_pixels_reply_t * xcb_glx_read_pixels_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_read_pixels_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_read_pixels_reply_t * - ** - *****************************************************************************/ - xcb_glx_read_pixels_reply_t * xcb_glx_read_pixels_reply (xcb_connection_t *c /**< */, xcb_glx_read_pixels_cookie_t cookie /**< */, @@ -5908,18 +4078,6 @@ xcb_glx_get_booleanv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_booleanv_cookie_t xcb_glx_get_booleanv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t pname - ** @returns xcb_glx_get_booleanv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_booleanv_cookie_t xcb_glx_get_booleanv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5931,35 +4089,23 @@ xcb_glx_get_booleanv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_BOOLEANV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_booleanv_cookie_t xcb_ret; xcb_glx_get_booleanv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_booleanv_cookie_t xcb_glx_get_booleanv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t pname - ** @returns xcb_glx_get_booleanv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_booleanv_cookie_t xcb_glx_get_booleanv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -5971,65 +4117,35 @@ xcb_glx_get_booleanv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_BOOLEANV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_booleanv_cookie_t xcb_ret; xcb_glx_get_booleanv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_booleanv_data - ** - ** @param const xcb_glx_get_booleanv_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_booleanv_data (const xcb_glx_get_booleanv_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_booleanv_data_length - ** - ** @param const xcb_glx_get_booleanv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_booleanv_data_length (const xcb_glx_get_booleanv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_booleanv_data_end - ** - ** @param const xcb_glx_get_booleanv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_booleanv_data_end (const xcb_glx_get_booleanv_reply_t *R /**< */) { @@ -6040,18 +4156,6 @@ xcb_glx_get_booleanv_data_end (const xcb_glx_get_booleanv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_booleanv_reply_t * xcb_glx_get_booleanv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_booleanv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_booleanv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_booleanv_reply_t * xcb_glx_get_booleanv_reply (xcb_connection_t *c /**< */, xcb_glx_get_booleanv_cookie_t cookie /**< */, @@ -6091,18 +4195,6 @@ xcb_glx_get_clip_plane_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_clip_plane_cookie_t xcb_glx_get_clip_plane - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t plane - ** @returns xcb_glx_get_clip_plane_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_clip_plane_cookie_t xcb_glx_get_clip_plane (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6114,35 +4206,23 @@ xcb_glx_get_clip_plane (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CLIP_PLANE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_clip_plane_cookie_t xcb_ret; xcb_glx_get_clip_plane_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.plane = plane; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_clip_plane_cookie_t xcb_glx_get_clip_plane_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t plane - ** @returns xcb_glx_get_clip_plane_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_clip_plane_cookie_t xcb_glx_get_clip_plane_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6154,65 +4234,35 @@ xcb_glx_get_clip_plane_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CLIP_PLANE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_clip_plane_cookie_t xcb_ret; xcb_glx_get_clip_plane_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.plane = plane; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float64_t * xcb_glx_get_clip_plane_data - ** - ** @param const xcb_glx_get_clip_plane_reply_t *R - ** @returns xcb_glx_float64_t * - ** - *****************************************************************************/ - xcb_glx_float64_t * xcb_glx_get_clip_plane_data (const xcb_glx_get_clip_plane_reply_t *R /**< */) { return (xcb_glx_float64_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_clip_plane_data_length - ** - ** @param const xcb_glx_get_clip_plane_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_clip_plane_data_length (const xcb_glx_get_clip_plane_reply_t *R /**< */) { return (R->length / 2); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_clip_plane_data_end - ** - ** @param const xcb_glx_get_clip_plane_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_clip_plane_data_end (const xcb_glx_get_clip_plane_reply_t *R /**< */) { @@ -6223,18 +4273,6 @@ xcb_glx_get_clip_plane_data_end (const xcb_glx_get_clip_plane_reply_t *R /**< * return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_clip_plane_reply_t * xcb_glx_get_clip_plane_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_clip_plane_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_clip_plane_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_clip_plane_reply_t * xcb_glx_get_clip_plane_reply (xcb_connection_t *c /**< */, xcb_glx_get_clip_plane_cookie_t cookie /**< */, @@ -6274,18 +4312,6 @@ xcb_glx_get_doublev_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_doublev_cookie_t xcb_glx_get_doublev - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_doublev_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_doublev_cookie_t xcb_glx_get_doublev (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6297,35 +4323,23 @@ xcb_glx_get_doublev (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_DOUBLEV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_doublev_cookie_t xcb_ret; xcb_glx_get_doublev_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_doublev_cookie_t xcb_glx_get_doublev_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_doublev_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_doublev_cookie_t xcb_glx_get_doublev_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6337,65 +4351,35 @@ xcb_glx_get_doublev_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_DOUBLEV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_doublev_cookie_t xcb_ret; xcb_glx_get_doublev_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float64_t * xcb_glx_get_doublev_data - ** - ** @param const xcb_glx_get_doublev_reply_t *R - ** @returns xcb_glx_float64_t * - ** - *****************************************************************************/ - xcb_glx_float64_t * xcb_glx_get_doublev_data (const xcb_glx_get_doublev_reply_t *R /**< */) { return (xcb_glx_float64_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_doublev_data_length - ** - ** @param const xcb_glx_get_doublev_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_doublev_data_length (const xcb_glx_get_doublev_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_doublev_data_end - ** - ** @param const xcb_glx_get_doublev_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_doublev_data_end (const xcb_glx_get_doublev_reply_t *R /**< */) { @@ -6406,18 +4390,6 @@ xcb_glx_get_doublev_data_end (const xcb_glx_get_doublev_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_doublev_reply_t * xcb_glx_get_doublev_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_doublev_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_doublev_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_doublev_reply_t * xcb_glx_get_doublev_reply (xcb_connection_t *c /**< */, xcb_glx_get_doublev_cookie_t cookie /**< */, @@ -6426,17 +4398,6 @@ xcb_glx_get_doublev_reply (xcb_connection_t *c /**< */, return (xcb_glx_get_doublev_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_get_error_cookie_t xcb_glx_get_error - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_glx_get_error_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_error_cookie_t xcb_glx_get_error (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -6447,33 +4408,22 @@ xcb_glx_get_error (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_ERROR, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_error_cookie_t xcb_ret; xcb_glx_get_error_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_error_cookie_t xcb_glx_get_error_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_glx_get_error_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_error_cookie_t xcb_glx_get_error_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -6484,34 +4434,22 @@ xcb_glx_get_error_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_ERROR, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_error_cookie_t xcb_ret; xcb_glx_get_error_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_error_reply_t * xcb_glx_get_error_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_error_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_error_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_error_reply_t * xcb_glx_get_error_reply (xcb_connection_t *c /**< */, xcb_glx_get_error_cookie_t cookie /**< */, @@ -6551,18 +4489,6 @@ xcb_glx_get_floatv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_floatv_cookie_t xcb_glx_get_floatv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_floatv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_floatv_cookie_t xcb_glx_get_floatv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6574,35 +4500,23 @@ xcb_glx_get_floatv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_FLOATV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_floatv_cookie_t xcb_ret; xcb_glx_get_floatv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_floatv_cookie_t xcb_glx_get_floatv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_floatv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_floatv_cookie_t xcb_glx_get_floatv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6614,65 +4528,35 @@ xcb_glx_get_floatv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_FLOATV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_floatv_cookie_t xcb_ret; xcb_glx_get_floatv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_floatv_data - ** - ** @param const xcb_glx_get_floatv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_floatv_data (const xcb_glx_get_floatv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_floatv_data_length - ** - ** @param const xcb_glx_get_floatv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_floatv_data_length (const xcb_glx_get_floatv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_floatv_data_end - ** - ** @param const xcb_glx_get_floatv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_floatv_data_end (const xcb_glx_get_floatv_reply_t *R /**< */) { @@ -6683,18 +4567,6 @@ xcb_glx_get_floatv_data_end (const xcb_glx_get_floatv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_floatv_reply_t * xcb_glx_get_floatv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_floatv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_floatv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_floatv_reply_t * xcb_glx_get_floatv_reply (xcb_connection_t *c /**< */, xcb_glx_get_floatv_cookie_t cookie /**< */, @@ -6734,18 +4606,6 @@ xcb_glx_get_integerv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_integerv_cookie_t xcb_glx_get_integerv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_integerv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_integerv_cookie_t xcb_glx_get_integerv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6757,35 +4617,23 @@ xcb_glx_get_integerv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_INTEGERV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_integerv_cookie_t xcb_ret; xcb_glx_get_integerv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_integerv_cookie_t xcb_glx_get_integerv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t pname - ** @returns xcb_glx_get_integerv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_integerv_cookie_t xcb_glx_get_integerv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6797,65 +4645,35 @@ xcb_glx_get_integerv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_INTEGERV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_integerv_cookie_t xcb_ret; xcb_glx_get_integerv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_integerv_data - ** - ** @param const xcb_glx_get_integerv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_integerv_data (const xcb_glx_get_integerv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_integerv_data_length - ** - ** @param const xcb_glx_get_integerv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_integerv_data_length (const xcb_glx_get_integerv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_integerv_data_end - ** - ** @param const xcb_glx_get_integerv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_integerv_data_end (const xcb_glx_get_integerv_reply_t *R /**< */) { @@ -6866,18 +4684,6 @@ xcb_glx_get_integerv_data_end (const xcb_glx_get_integerv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_integerv_reply_t * xcb_glx_get_integerv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_integerv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_integerv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_integerv_reply_t * xcb_glx_get_integerv_reply (xcb_connection_t *c /**< */, xcb_glx_get_integerv_cookie_t cookie /**< */, @@ -6917,19 +4723,6 @@ xcb_glx_get_lightfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightfv_cookie_t xcb_glx_get_lightfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t light - ** @param uint32_t pname - ** @returns xcb_glx_get_lightfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_lightfv_cookie_t xcb_glx_get_lightfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6942,37 +4735,24 @@ xcb_glx_get_lightfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_LIGHTFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_lightfv_cookie_t xcb_ret; xcb_glx_get_lightfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.light = light; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightfv_cookie_t xcb_glx_get_lightfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t light - ** @param uint32_t pname - ** @returns xcb_glx_get_lightfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_lightfv_cookie_t xcb_glx_get_lightfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -6985,66 +4765,36 @@ xcb_glx_get_lightfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_LIGHTFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_lightfv_cookie_t xcb_ret; xcb_glx_get_lightfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.light = light; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_lightfv_data - ** - ** @param const xcb_glx_get_lightfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_lightfv_data (const xcb_glx_get_lightfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_lightfv_data_length - ** - ** @param const xcb_glx_get_lightfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_lightfv_data_length (const xcb_glx_get_lightfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_lightfv_data_end - ** - ** @param const xcb_glx_get_lightfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_lightfv_data_end (const xcb_glx_get_lightfv_reply_t *R /**< */) { @@ -7055,18 +4805,6 @@ xcb_glx_get_lightfv_data_end (const xcb_glx_get_lightfv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightfv_reply_t * xcb_glx_get_lightfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_lightfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_lightfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_lightfv_reply_t * xcb_glx_get_lightfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_lightfv_cookie_t cookie /**< */, @@ -7106,19 +4844,6 @@ xcb_glx_get_lightiv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightiv_cookie_t xcb_glx_get_lightiv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t light - ** @param uint32_t pname - ** @returns xcb_glx_get_lightiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_lightiv_cookie_t xcb_glx_get_lightiv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7131,37 +4856,24 @@ xcb_glx_get_lightiv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_LIGHTIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_lightiv_cookie_t xcb_ret; xcb_glx_get_lightiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.light = light; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightiv_cookie_t xcb_glx_get_lightiv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t light - ** @param uint32_t pname - ** @returns xcb_glx_get_lightiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_lightiv_cookie_t xcb_glx_get_lightiv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7174,66 +4886,36 @@ xcb_glx_get_lightiv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_LIGHTIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_lightiv_cookie_t xcb_ret; xcb_glx_get_lightiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.light = light; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_lightiv_data - ** - ** @param const xcb_glx_get_lightiv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_lightiv_data (const xcb_glx_get_lightiv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_lightiv_data_length - ** - ** @param const xcb_glx_get_lightiv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_lightiv_data_length (const xcb_glx_get_lightiv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_lightiv_data_end - ** - ** @param const xcb_glx_get_lightiv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_lightiv_data_end (const xcb_glx_get_lightiv_reply_t *R /**< */) { @@ -7244,18 +4926,6 @@ xcb_glx_get_lightiv_data_end (const xcb_glx_get_lightiv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_lightiv_reply_t * xcb_glx_get_lightiv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_lightiv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_lightiv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_lightiv_reply_t * xcb_glx_get_lightiv_reply (xcb_connection_t *c /**< */, xcb_glx_get_lightiv_cookie_t cookie /**< */, @@ -7295,19 +4965,6 @@ xcb_glx_get_mapdv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapdv_cookie_t xcb_glx_get_mapdv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapdv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapdv_cookie_t xcb_glx_get_mapdv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7320,37 +4977,24 @@ xcb_glx_get_mapdv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPDV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapdv_cookie_t xcb_ret; xcb_glx_get_mapdv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapdv_cookie_t xcb_glx_get_mapdv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapdv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapdv_cookie_t xcb_glx_get_mapdv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7363,66 +5007,36 @@ xcb_glx_get_mapdv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPDV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapdv_cookie_t xcb_ret; xcb_glx_get_mapdv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float64_t * xcb_glx_get_mapdv_data - ** - ** @param const xcb_glx_get_mapdv_reply_t *R - ** @returns xcb_glx_float64_t * - ** - *****************************************************************************/ - xcb_glx_float64_t * xcb_glx_get_mapdv_data (const xcb_glx_get_mapdv_reply_t *R /**< */) { return (xcb_glx_float64_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_mapdv_data_length - ** - ** @param const xcb_glx_get_mapdv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_mapdv_data_length (const xcb_glx_get_mapdv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_mapdv_data_end - ** - ** @param const xcb_glx_get_mapdv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_mapdv_data_end (const xcb_glx_get_mapdv_reply_t *R /**< */) { @@ -7433,18 +5047,6 @@ xcb_glx_get_mapdv_data_end (const xcb_glx_get_mapdv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapdv_reply_t * xcb_glx_get_mapdv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_mapdv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_mapdv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_mapdv_reply_t * xcb_glx_get_mapdv_reply (xcb_connection_t *c /**< */, xcb_glx_get_mapdv_cookie_t cookie /**< */, @@ -7484,19 +5086,6 @@ xcb_glx_get_mapfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapfv_cookie_t xcb_glx_get_mapfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapfv_cookie_t xcb_glx_get_mapfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7509,37 +5098,24 @@ xcb_glx_get_mapfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapfv_cookie_t xcb_ret; xcb_glx_get_mapfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapfv_cookie_t xcb_glx_get_mapfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapfv_cookie_t xcb_glx_get_mapfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7552,66 +5128,36 @@ xcb_glx_get_mapfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapfv_cookie_t xcb_ret; xcb_glx_get_mapfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_mapfv_data - ** - ** @param const xcb_glx_get_mapfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_mapfv_data (const xcb_glx_get_mapfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_mapfv_data_length - ** - ** @param const xcb_glx_get_mapfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_mapfv_data_length (const xcb_glx_get_mapfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_mapfv_data_end - ** - ** @param const xcb_glx_get_mapfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_mapfv_data_end (const xcb_glx_get_mapfv_reply_t *R /**< */) { @@ -7622,18 +5168,6 @@ xcb_glx_get_mapfv_data_end (const xcb_glx_get_mapfv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapfv_reply_t * xcb_glx_get_mapfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_mapfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_mapfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_mapfv_reply_t * xcb_glx_get_mapfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_mapfv_cookie_t cookie /**< */, @@ -7673,19 +5207,6 @@ xcb_glx_get_mapiv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapiv_cookie_t xcb_glx_get_mapiv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapiv_cookie_t xcb_glx_get_mapiv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7698,37 +5219,24 @@ xcb_glx_get_mapiv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapiv_cookie_t xcb_ret; xcb_glx_get_mapiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapiv_cookie_t xcb_glx_get_mapiv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t query - ** @returns xcb_glx_get_mapiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_mapiv_cookie_t xcb_glx_get_mapiv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7741,66 +5249,36 @@ xcb_glx_get_mapiv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MAPIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_mapiv_cookie_t xcb_ret; xcb_glx_get_mapiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.query = query; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_mapiv_data - ** - ** @param const xcb_glx_get_mapiv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_mapiv_data (const xcb_glx_get_mapiv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_mapiv_data_length - ** - ** @param const xcb_glx_get_mapiv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_mapiv_data_length (const xcb_glx_get_mapiv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_mapiv_data_end - ** - ** @param const xcb_glx_get_mapiv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_mapiv_data_end (const xcb_glx_get_mapiv_reply_t *R /**< */) { @@ -7811,18 +5289,6 @@ xcb_glx_get_mapiv_data_end (const xcb_glx_get_mapiv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_mapiv_reply_t * xcb_glx_get_mapiv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_mapiv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_mapiv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_mapiv_reply_t * xcb_glx_get_mapiv_reply (xcb_connection_t *c /**< */, xcb_glx_get_mapiv_cookie_t cookie /**< */, @@ -7862,19 +5328,6 @@ xcb_glx_get_materialfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialfv_cookie_t xcb_glx_get_materialfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t face - ** @param uint32_t pname - ** @returns xcb_glx_get_materialfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_materialfv_cookie_t xcb_glx_get_materialfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7887,37 +5340,24 @@ xcb_glx_get_materialfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MATERIALFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_materialfv_cookie_t xcb_ret; xcb_glx_get_materialfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.face = face; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialfv_cookie_t xcb_glx_get_materialfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t face - ** @param uint32_t pname - ** @returns xcb_glx_get_materialfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_materialfv_cookie_t xcb_glx_get_materialfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -7930,66 +5370,36 @@ xcb_glx_get_materialfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MATERIALFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_materialfv_cookie_t xcb_ret; xcb_glx_get_materialfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.face = face; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_materialfv_data - ** - ** @param const xcb_glx_get_materialfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_materialfv_data (const xcb_glx_get_materialfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_materialfv_data_length - ** - ** @param const xcb_glx_get_materialfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_materialfv_data_length (const xcb_glx_get_materialfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_materialfv_data_end - ** - ** @param const xcb_glx_get_materialfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_materialfv_data_end (const xcb_glx_get_materialfv_reply_t *R /**< */) { @@ -8000,18 +5410,6 @@ xcb_glx_get_materialfv_data_end (const xcb_glx_get_materialfv_reply_t *R /**< * return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialfv_reply_t * xcb_glx_get_materialfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_materialfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_materialfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_materialfv_reply_t * xcb_glx_get_materialfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_materialfv_cookie_t cookie /**< */, @@ -8051,19 +5449,6 @@ xcb_glx_get_materialiv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialiv_cookie_t xcb_glx_get_materialiv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t face - ** @param uint32_t pname - ** @returns xcb_glx_get_materialiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_materialiv_cookie_t xcb_glx_get_materialiv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8076,37 +5461,24 @@ xcb_glx_get_materialiv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MATERIALIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_materialiv_cookie_t xcb_ret; xcb_glx_get_materialiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.face = face; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialiv_cookie_t xcb_glx_get_materialiv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t face - ** @param uint32_t pname - ** @returns xcb_glx_get_materialiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_materialiv_cookie_t xcb_glx_get_materialiv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8119,66 +5491,36 @@ xcb_glx_get_materialiv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MATERIALIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_materialiv_cookie_t xcb_ret; xcb_glx_get_materialiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.face = face; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_materialiv_data - ** - ** @param const xcb_glx_get_materialiv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_materialiv_data (const xcb_glx_get_materialiv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_materialiv_data_length - ** - ** @param const xcb_glx_get_materialiv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_materialiv_data_length (const xcb_glx_get_materialiv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_materialiv_data_end - ** - ** @param const xcb_glx_get_materialiv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_materialiv_data_end (const xcb_glx_get_materialiv_reply_t *R /**< */) { @@ -8189,18 +5531,6 @@ xcb_glx_get_materialiv_data_end (const xcb_glx_get_materialiv_reply_t *R /**< * return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_materialiv_reply_t * xcb_glx_get_materialiv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_materialiv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_materialiv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_materialiv_reply_t * xcb_glx_get_materialiv_reply (xcb_connection_t *c /**< */, xcb_glx_get_materialiv_cookie_t cookie /**< */, @@ -8240,18 +5570,6 @@ xcb_glx_get_pixel_mapfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapfv_cookie_t xcb_glx_get_pixel_mapfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapfv_cookie_t xcb_glx_get_pixel_mapfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8263,35 +5581,23 @@ xcb_glx_get_pixel_mapfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapfv_cookie_t xcb_ret; xcb_glx_get_pixel_mapfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapfv_cookie_t xcb_glx_get_pixel_mapfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapfv_cookie_t xcb_glx_get_pixel_mapfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8303,65 +5609,35 @@ xcb_glx_get_pixel_mapfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapfv_cookie_t xcb_ret; xcb_glx_get_pixel_mapfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_pixel_mapfv_data - ** - ** @param const xcb_glx_get_pixel_mapfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_pixel_mapfv_data (const xcb_glx_get_pixel_mapfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_pixel_mapfv_data_length - ** - ** @param const xcb_glx_get_pixel_mapfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_pixel_mapfv_data_length (const xcb_glx_get_pixel_mapfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_pixel_mapfv_data_end - ** - ** @param const xcb_glx_get_pixel_mapfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_pixel_mapfv_data_end (const xcb_glx_get_pixel_mapfv_reply_t *R /**< */) { @@ -8372,18 +5648,6 @@ xcb_glx_get_pixel_mapfv_data_end (const xcb_glx_get_pixel_mapfv_reply_t *R /**< return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapfv_reply_t * xcb_glx_get_pixel_mapfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_pixel_mapfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_pixel_mapfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapfv_reply_t * xcb_glx_get_pixel_mapfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_pixel_mapfv_cookie_t cookie /**< */, @@ -8423,18 +5687,6 @@ xcb_glx_get_pixel_mapuiv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapuiv_cookie_t xcb_glx_get_pixel_mapuiv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapuiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapuiv_cookie_t xcb_glx_get_pixel_mapuiv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8446,35 +5698,23 @@ xcb_glx_get_pixel_mapuiv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPUIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapuiv_cookie_t xcb_ret; xcb_glx_get_pixel_mapuiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapuiv_cookie_t xcb_glx_get_pixel_mapuiv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapuiv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapuiv_cookie_t xcb_glx_get_pixel_mapuiv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8486,65 +5726,35 @@ xcb_glx_get_pixel_mapuiv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPUIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapuiv_cookie_t xcb_ret; xcb_glx_get_pixel_mapuiv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_get_pixel_mapuiv_data - ** - ** @param const xcb_glx_get_pixel_mapuiv_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_get_pixel_mapuiv_data (const xcb_glx_get_pixel_mapuiv_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_pixel_mapuiv_data_length - ** - ** @param const xcb_glx_get_pixel_mapuiv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_pixel_mapuiv_data_length (const xcb_glx_get_pixel_mapuiv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_pixel_mapuiv_data_end - ** - ** @param const xcb_glx_get_pixel_mapuiv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_pixel_mapuiv_data_end (const xcb_glx_get_pixel_mapuiv_reply_t *R /**< */) { @@ -8555,18 +5765,6 @@ xcb_glx_get_pixel_mapuiv_data_end (const xcb_glx_get_pixel_mapuiv_reply_t *R /* return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapuiv_reply_t * xcb_glx_get_pixel_mapuiv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_pixel_mapuiv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_pixel_mapuiv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapuiv_reply_t * xcb_glx_get_pixel_mapuiv_reply (xcb_connection_t *c /**< */, xcb_glx_get_pixel_mapuiv_cookie_t cookie /**< */, @@ -8606,18 +5804,6 @@ xcb_glx_get_pixel_mapusv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapusv_cookie_t xcb_glx_get_pixel_mapusv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapusv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapusv_cookie_t xcb_glx_get_pixel_mapusv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8629,35 +5815,23 @@ xcb_glx_get_pixel_mapusv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPUSV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapusv_cookie_t xcb_ret; xcb_glx_get_pixel_mapusv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapusv_cookie_t xcb_glx_get_pixel_mapusv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t map - ** @returns xcb_glx_get_pixel_mapusv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapusv_cookie_t xcb_glx_get_pixel_mapusv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8669,65 +5843,35 @@ xcb_glx_get_pixel_mapusv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_PIXEL_MAPUSV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_pixel_mapusv_cookie_t xcb_ret; xcb_glx_get_pixel_mapusv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.map = map; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint16_t * xcb_glx_get_pixel_mapusv_data - ** - ** @param const xcb_glx_get_pixel_mapusv_reply_t *R - ** @returns uint16_t * - ** - *****************************************************************************/ - uint16_t * xcb_glx_get_pixel_mapusv_data (const xcb_glx_get_pixel_mapusv_reply_t *R /**< */) { return (uint16_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_pixel_mapusv_data_length - ** - ** @param const xcb_glx_get_pixel_mapusv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_pixel_mapusv_data_length (const xcb_glx_get_pixel_mapusv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_pixel_mapusv_data_end - ** - ** @param const xcb_glx_get_pixel_mapusv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_pixel_mapusv_data_end (const xcb_glx_get_pixel_mapusv_reply_t *R /**< */) { @@ -8738,18 +5882,6 @@ xcb_glx_get_pixel_mapusv_data_end (const xcb_glx_get_pixel_mapusv_reply_t *R /* return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_pixel_mapusv_reply_t * xcb_glx_get_pixel_mapusv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_pixel_mapusv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_pixel_mapusv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_pixel_mapusv_reply_t * xcb_glx_get_pixel_mapusv_reply (xcb_connection_t *c /**< */, xcb_glx_get_pixel_mapusv_cookie_t cookie /**< */, @@ -8789,18 +5921,6 @@ xcb_glx_get_polygon_stipple_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_polygon_stipple_cookie_t xcb_glx_get_polygon_stipple - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint8_t lsb_first - ** @returns xcb_glx_get_polygon_stipple_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_polygon_stipple_cookie_t xcb_glx_get_polygon_stipple (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8812,35 +5932,23 @@ xcb_glx_get_polygon_stipple (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_POLYGON_STIPPLE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_polygon_stipple_cookie_t xcb_ret; xcb_glx_get_polygon_stipple_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.lsb_first = lsb_first; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_polygon_stipple_cookie_t xcb_glx_get_polygon_stipple_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint8_t lsb_first - ** @returns xcb_glx_get_polygon_stipple_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_polygon_stipple_cookie_t xcb_glx_get_polygon_stipple_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8852,65 +5960,35 @@ xcb_glx_get_polygon_stipple_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_POLYGON_STIPPLE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_polygon_stipple_cookie_t xcb_ret; xcb_glx_get_polygon_stipple_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.lsb_first = lsb_first; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_polygon_stipple_data - ** - ** @param const xcb_glx_get_polygon_stipple_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_polygon_stipple_data (const xcb_glx_get_polygon_stipple_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_polygon_stipple_data_length - ** - ** @param const xcb_glx_get_polygon_stipple_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_polygon_stipple_data_length (const xcb_glx_get_polygon_stipple_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_polygon_stipple_data_end - ** - ** @param const xcb_glx_get_polygon_stipple_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_polygon_stipple_data_end (const xcb_glx_get_polygon_stipple_reply_t *R /**< */) { @@ -8921,18 +5999,6 @@ xcb_glx_get_polygon_stipple_data_end (const xcb_glx_get_polygon_stipple_reply_t return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_polygon_stipple_reply_t * xcb_glx_get_polygon_stipple_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_polygon_stipple_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_polygon_stipple_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_polygon_stipple_reply_t * xcb_glx_get_polygon_stipple_reply (xcb_connection_t *c /**< */, xcb_glx_get_polygon_stipple_cookie_t cookie /**< */, @@ -8972,18 +6038,6 @@ xcb_glx_get_string_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_string_cookie_t xcb_glx_get_string - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t name - ** @returns xcb_glx_get_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_string_cookie_t xcb_glx_get_string (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -8995,35 +6049,23 @@ xcb_glx_get_string (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_string_cookie_t xcb_ret; xcb_glx_get_string_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.name = name; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_string_cookie_t xcb_glx_get_string_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t name - ** @returns xcb_glx_get_string_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_string_cookie_t xcb_glx_get_string_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9035,65 +6077,35 @@ xcb_glx_get_string_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_STRING, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_string_cookie_t xcb_ret; xcb_glx_get_string_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.name = name; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** char * xcb_glx_get_string_string - ** - ** @param const xcb_glx_get_string_reply_t *R - ** @returns char * - ** - *****************************************************************************/ - char * xcb_glx_get_string_string (const xcb_glx_get_string_reply_t *R /**< */) { return (char *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_string_string_length - ** - ** @param const xcb_glx_get_string_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_string_string_length (const xcb_glx_get_string_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_string_string_end - ** - ** @param const xcb_glx_get_string_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_string_string_end (const xcb_glx_get_string_reply_t *R /**< */) { @@ -9104,18 +6116,6 @@ xcb_glx_get_string_string_end (const xcb_glx_get_string_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_string_reply_t * xcb_glx_get_string_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_string_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_string_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_string_reply_t * xcb_glx_get_string_reply (xcb_connection_t *c /**< */, xcb_glx_get_string_cookie_t cookie /**< */, @@ -9155,19 +6155,6 @@ xcb_glx_get_tex_envfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_envfv_cookie_t xcb_glx_get_tex_envfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_envfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_envfv_cookie_t xcb_glx_get_tex_envfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9180,37 +6167,24 @@ xcb_glx_get_tex_envfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_ENVFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_envfv_cookie_t xcb_ret; xcb_glx_get_tex_envfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_envfv_cookie_t xcb_glx_get_tex_envfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_envfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_envfv_cookie_t xcb_glx_get_tex_envfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9223,66 +6197,36 @@ xcb_glx_get_tex_envfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_ENVFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_envfv_cookie_t xcb_ret; xcb_glx_get_tex_envfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_tex_envfv_data - ** - ** @param const xcb_glx_get_tex_envfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_tex_envfv_data (const xcb_glx_get_tex_envfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_envfv_data_length - ** - ** @param const xcb_glx_get_tex_envfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_envfv_data_length (const xcb_glx_get_tex_envfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_envfv_data_end - ** - ** @param const xcb_glx_get_tex_envfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_envfv_data_end (const xcb_glx_get_tex_envfv_reply_t *R /**< */) { @@ -9293,18 +6237,6 @@ xcb_glx_get_tex_envfv_data_end (const xcb_glx_get_tex_envfv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_envfv_reply_t * xcb_glx_get_tex_envfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_envfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_envfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_envfv_reply_t * xcb_glx_get_tex_envfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_envfv_cookie_t cookie /**< */, @@ -9344,19 +6276,6 @@ xcb_glx_get_tex_enviv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_enviv_cookie_t xcb_glx_get_tex_enviv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_enviv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_enviv_cookie_t xcb_glx_get_tex_enviv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9369,37 +6288,24 @@ xcb_glx_get_tex_enviv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_ENVIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_enviv_cookie_t xcb_ret; xcb_glx_get_tex_enviv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_enviv_cookie_t xcb_glx_get_tex_enviv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_enviv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_enviv_cookie_t xcb_glx_get_tex_enviv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9412,66 +6318,36 @@ xcb_glx_get_tex_enviv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_ENVIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_enviv_cookie_t xcb_ret; xcb_glx_get_tex_enviv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_tex_enviv_data - ** - ** @param const xcb_glx_get_tex_enviv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_tex_enviv_data (const xcb_glx_get_tex_enviv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_enviv_data_length - ** - ** @param const xcb_glx_get_tex_enviv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_enviv_data_length (const xcb_glx_get_tex_enviv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_enviv_data_end - ** - ** @param const xcb_glx_get_tex_enviv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_enviv_data_end (const xcb_glx_get_tex_enviv_reply_t *R /**< */) { @@ -9482,18 +6358,6 @@ xcb_glx_get_tex_enviv_data_end (const xcb_glx_get_tex_enviv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_enviv_reply_t * xcb_glx_get_tex_enviv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_enviv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_enviv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_enviv_reply_t * xcb_glx_get_tex_enviv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_enviv_cookie_t cookie /**< */, @@ -9533,19 +6397,6 @@ xcb_glx_get_tex_gendv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_gendv_cookie_t xcb_glx_get_tex_gendv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_gendv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_gendv_cookie_t xcb_glx_get_tex_gendv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9558,37 +6409,24 @@ xcb_glx_get_tex_gendv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENDV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_gendv_cookie_t xcb_ret; xcb_glx_get_tex_gendv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_gendv_cookie_t xcb_glx_get_tex_gendv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_gendv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_gendv_cookie_t xcb_glx_get_tex_gendv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9601,66 +6439,36 @@ xcb_glx_get_tex_gendv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENDV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_gendv_cookie_t xcb_ret; xcb_glx_get_tex_gendv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float64_t * xcb_glx_get_tex_gendv_data - ** - ** @param const xcb_glx_get_tex_gendv_reply_t *R - ** @returns xcb_glx_float64_t * - ** - *****************************************************************************/ - xcb_glx_float64_t * xcb_glx_get_tex_gendv_data (const xcb_glx_get_tex_gendv_reply_t *R /**< */) { return (xcb_glx_float64_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_gendv_data_length - ** - ** @param const xcb_glx_get_tex_gendv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_gendv_data_length (const xcb_glx_get_tex_gendv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_gendv_data_end - ** - ** @param const xcb_glx_get_tex_gendv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_gendv_data_end (const xcb_glx_get_tex_gendv_reply_t *R /**< */) { @@ -9671,18 +6479,6 @@ xcb_glx_get_tex_gendv_data_end (const xcb_glx_get_tex_gendv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_gendv_reply_t * xcb_glx_get_tex_gendv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_gendv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_gendv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_gendv_reply_t * xcb_glx_get_tex_gendv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_gendv_cookie_t cookie /**< */, @@ -9722,19 +6518,6 @@ xcb_glx_get_tex_genfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_genfv_cookie_t xcb_glx_get_tex_genfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_genfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_genfv_cookie_t xcb_glx_get_tex_genfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9747,37 +6530,24 @@ xcb_glx_get_tex_genfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_genfv_cookie_t xcb_ret; xcb_glx_get_tex_genfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_genfv_cookie_t xcb_glx_get_tex_genfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_genfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_genfv_cookie_t xcb_glx_get_tex_genfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9790,66 +6560,36 @@ xcb_glx_get_tex_genfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_genfv_cookie_t xcb_ret; xcb_glx_get_tex_genfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_tex_genfv_data - ** - ** @param const xcb_glx_get_tex_genfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_tex_genfv_data (const xcb_glx_get_tex_genfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_genfv_data_length - ** - ** @param const xcb_glx_get_tex_genfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_genfv_data_length (const xcb_glx_get_tex_genfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_genfv_data_end - ** - ** @param const xcb_glx_get_tex_genfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_genfv_data_end (const xcb_glx_get_tex_genfv_reply_t *R /**< */) { @@ -9860,18 +6600,6 @@ xcb_glx_get_tex_genfv_data_end (const xcb_glx_get_tex_genfv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_genfv_reply_t * xcb_glx_get_tex_genfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_genfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_genfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_genfv_reply_t * xcb_glx_get_tex_genfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_genfv_cookie_t cookie /**< */, @@ -9911,19 +6639,6 @@ xcb_glx_get_tex_geniv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_geniv_cookie_t xcb_glx_get_tex_geniv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_geniv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_geniv_cookie_t xcb_glx_get_tex_geniv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9936,37 +6651,24 @@ xcb_glx_get_tex_geniv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_geniv_cookie_t xcb_ret; xcb_glx_get_tex_geniv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_geniv_cookie_t xcb_glx_get_tex_geniv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t coord - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_geniv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_geniv_cookie_t xcb_glx_get_tex_geniv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -9979,66 +6681,36 @@ xcb_glx_get_tex_geniv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_GENIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_geniv_cookie_t xcb_ret; xcb_glx_get_tex_geniv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.coord = coord; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_tex_geniv_data - ** - ** @param const xcb_glx_get_tex_geniv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_tex_geniv_data (const xcb_glx_get_tex_geniv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_geniv_data_length - ** - ** @param const xcb_glx_get_tex_geniv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_geniv_data_length (const xcb_glx_get_tex_geniv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_geniv_data_end - ** - ** @param const xcb_glx_get_tex_geniv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_geniv_data_end (const xcb_glx_get_tex_geniv_reply_t *R /**< */) { @@ -10049,18 +6721,6 @@ xcb_glx_get_tex_geniv_data_end (const xcb_glx_get_tex_geniv_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_geniv_reply_t * xcb_glx_get_tex_geniv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_geniv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_geniv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_geniv_reply_t * xcb_glx_get_tex_geniv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_geniv_cookie_t cookie /**< */, @@ -10100,22 +6760,6 @@ xcb_glx_get_tex_image_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_image_cookie_t xcb_glx_get_tex_image - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_tex_image_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_image_cookie_t xcb_glx_get_tex_image (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10131,43 +6775,27 @@ xcb_glx_get_tex_image (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_IMAGE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_image_cookie_t xcb_ret; xcb_glx_get_tex_image_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_image_cookie_t xcb_glx_get_tex_image_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_tex_image_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_image_cookie_t xcb_glx_get_tex_image_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10183,69 +6811,39 @@ xcb_glx_get_tex_image_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_IMAGE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_image_cookie_t xcb_ret; xcb_glx_get_tex_image_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_tex_image_data - ** - ** @param const xcb_glx_get_tex_image_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_tex_image_data (const xcb_glx_get_tex_image_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_image_data_length - ** - ** @param const xcb_glx_get_tex_image_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_image_data_length (const xcb_glx_get_tex_image_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_image_data_end - ** - ** @param const xcb_glx_get_tex_image_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_image_data_end (const xcb_glx_get_tex_image_reply_t *R /**< */) { @@ -10256,18 +6854,6 @@ xcb_glx_get_tex_image_data_end (const xcb_glx_get_tex_image_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_image_reply_t * xcb_glx_get_tex_image_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_image_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_image_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_image_reply_t * xcb_glx_get_tex_image_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_image_cookie_t cookie /**< */, @@ -10307,19 +6893,6 @@ xcb_glx_get_tex_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameterfv_cookie_t xcb_glx_get_tex_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_parameterfv_cookie_t xcb_glx_get_tex_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10332,37 +6905,24 @@ xcb_glx_get_tex_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_parameterfv_cookie_t xcb_ret; xcb_glx_get_tex_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameterfv_cookie_t xcb_glx_get_tex_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_parameterfv_cookie_t xcb_glx_get_tex_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10375,66 +6935,36 @@ xcb_glx_get_tex_parameterfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_parameterfv_cookie_t xcb_ret; xcb_glx_get_tex_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_tex_parameterfv_data - ** - ** @param const xcb_glx_get_tex_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_tex_parameterfv_data (const xcb_glx_get_tex_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_parameterfv_data_length - ** - ** @param const xcb_glx_get_tex_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_parameterfv_data_length (const xcb_glx_get_tex_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_parameterfv_data_end - ** - ** @param const xcb_glx_get_tex_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_parameterfv_data_end (const xcb_glx_get_tex_parameterfv_reply_t *R /**< */) { @@ -10445,18 +6975,6 @@ xcb_glx_get_tex_parameterfv_data_end (const xcb_glx_get_tex_parameterfv_reply_t return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameterfv_reply_t * xcb_glx_get_tex_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_parameterfv_reply_t * xcb_glx_get_tex_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_parameterfv_cookie_t cookie /**< */, @@ -10496,19 +7014,6 @@ xcb_glx_get_tex_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameteriv_cookie_t xcb_glx_get_tex_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_parameteriv_cookie_t xcb_glx_get_tex_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10521,37 +7026,24 @@ xcb_glx_get_tex_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_parameteriv_cookie_t xcb_ret; xcb_glx_get_tex_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameteriv_cookie_t xcb_glx_get_tex_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_parameteriv_cookie_t xcb_glx_get_tex_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10564,66 +7056,36 @@ xcb_glx_get_tex_parameteriv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_parameteriv_cookie_t xcb_ret; xcb_glx_get_tex_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_tex_parameteriv_data - ** - ** @param const xcb_glx_get_tex_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_tex_parameteriv_data (const xcb_glx_get_tex_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_parameteriv_data_length - ** - ** @param const xcb_glx_get_tex_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_parameteriv_data_length (const xcb_glx_get_tex_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_parameteriv_data_end - ** - ** @param const xcb_glx_get_tex_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_parameteriv_data_end (const xcb_glx_get_tex_parameteriv_reply_t *R /**< */) { @@ -10634,18 +7096,6 @@ xcb_glx_get_tex_parameteriv_data_end (const xcb_glx_get_tex_parameteriv_reply_t return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_parameteriv_reply_t * xcb_glx_get_tex_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_parameteriv_reply_t * xcb_glx_get_tex_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_parameteriv_cookie_t cookie /**< */, @@ -10685,20 +7135,6 @@ xcb_glx_get_tex_level_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameterfv_cookie_t xcb_glx_get_tex_level_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_level_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameterfv_cookie_t xcb_glx_get_tex_level_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10712,39 +7148,25 @@ xcb_glx_get_tex_level_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_LEVEL_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_level_parameterfv_cookie_t xcb_ret; xcb_glx_get_tex_level_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameterfv_cookie_t xcb_glx_get_tex_level_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_level_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameterfv_cookie_t xcb_glx_get_tex_level_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10758,67 +7180,37 @@ xcb_glx_get_tex_level_parameterfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_LEVEL_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_level_parameterfv_cookie_t xcb_ret; xcb_glx_get_tex_level_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_tex_level_parameterfv_data - ** - ** @param const xcb_glx_get_tex_level_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_tex_level_parameterfv_data (const xcb_glx_get_tex_level_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_level_parameterfv_data_length - ** - ** @param const xcb_glx_get_tex_level_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_level_parameterfv_data_length (const xcb_glx_get_tex_level_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_level_parameterfv_data_end - ** - ** @param const xcb_glx_get_tex_level_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_level_parameterfv_data_end (const xcb_glx_get_tex_level_parameterfv_reply_t *R /**< */) { @@ -10829,18 +7221,6 @@ xcb_glx_get_tex_level_parameterfv_data_end (const xcb_glx_get_tex_level_paramete return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameterfv_reply_t * xcb_glx_get_tex_level_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_level_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_level_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameterfv_reply_t * xcb_glx_get_tex_level_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_level_parameterfv_cookie_t cookie /**< */, @@ -10880,20 +7260,6 @@ xcb_glx_get_tex_level_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameteriv_cookie_t xcb_glx_get_tex_level_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_level_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameteriv_cookie_t xcb_glx_get_tex_level_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10907,39 +7273,25 @@ xcb_glx_get_tex_level_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_LEVEL_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_level_parameteriv_cookie_t xcb_ret; xcb_glx_get_tex_level_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameteriv_cookie_t xcb_glx_get_tex_level_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @param uint32_t pname - ** @returns xcb_glx_get_tex_level_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameteriv_cookie_t xcb_glx_get_tex_level_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -10953,67 +7305,37 @@ xcb_glx_get_tex_level_parameteriv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_TEX_LEVEL_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_tex_level_parameteriv_cookie_t xcb_ret; xcb_glx_get_tex_level_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_tex_level_parameteriv_data - ** - ** @param const xcb_glx_get_tex_level_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_tex_level_parameteriv_data (const xcb_glx_get_tex_level_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_tex_level_parameteriv_data_length - ** - ** @param const xcb_glx_get_tex_level_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_tex_level_parameteriv_data_length (const xcb_glx_get_tex_level_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_tex_level_parameteriv_data_end - ** - ** @param const xcb_glx_get_tex_level_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_tex_level_parameteriv_data_end (const xcb_glx_get_tex_level_parameteriv_reply_t *R /**< */) { @@ -11024,18 +7346,6 @@ xcb_glx_get_tex_level_parameteriv_data_end (const xcb_glx_get_tex_level_paramete return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_tex_level_parameteriv_reply_t * xcb_glx_get_tex_level_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_tex_level_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_tex_level_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_tex_level_parameteriv_reply_t * xcb_glx_get_tex_level_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_tex_level_parameteriv_cookie_t cookie /**< */, @@ -11044,18 +7354,6 @@ xcb_glx_get_tex_level_parameteriv_reply (xcb_connection_t return (xcb_glx_get_tex_level_parameteriv_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_is_list_cookie_t xcb_glx_is_list - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @returns xcb_glx_is_list_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_list_cookie_t xcb_glx_is_list (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11067,35 +7365,23 @@ xcb_glx_is_list (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_LIST, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_list_cookie_t xcb_ret; xcb_glx_is_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_list_cookie_t xcb_glx_is_list_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t list - ** @returns xcb_glx_is_list_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_list_cookie_t xcb_glx_is_list_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11107,35 +7393,23 @@ xcb_glx_is_list_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_LIST, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_list_cookie_t xcb_ret; xcb_glx_is_list_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.list = list; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_list_reply_t * xcb_glx_is_list_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_is_list_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_is_list_reply_t * - ** - *****************************************************************************/ - xcb_glx_is_list_reply_t * xcb_glx_is_list_reply (xcb_connection_t *c /**< */, xcb_glx_is_list_cookie_t cookie /**< */, @@ -11144,17 +7418,6 @@ xcb_glx_is_list_reply (xcb_connection_t *c /**< */, return (xcb_glx_is_list_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_flush_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_flush_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -11165,33 +7428,22 @@ xcb_glx_flush_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FLUSH, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_flush_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_flush - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_flush (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */) @@ -11202,18 +7454,18 @@ xcb_glx_flush (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_FLUSH, /* isvoid */ 1 }; - + struct iovec xcb_parts[4]; xcb_void_cookie_t xcb_ret; xcb_glx_flush_request_t xcb_out; - + xcb_out.context_tag = context_tag; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -11249,19 +7501,6 @@ xcb_glx_are_textures_resident_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_are_textures_resident_cookie_t xcb_glx_are_textures_resident - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *textures - ** @returns xcb_glx_are_textures_resident_cookie_t - ** - *****************************************************************************/ - xcb_glx_are_textures_resident_cookie_t xcb_glx_are_textures_resident (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11274,14 +7513,14 @@ xcb_glx_are_textures_resident (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_ARE_TEXTURES_RESIDENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[6]; xcb_glx_are_textures_resident_cookie_t xcb_ret; xcb_glx_are_textures_resident_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -11291,24 +7530,11 @@ xcb_glx_are_textures_resident (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(xcb_glx_bool32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_are_textures_resident_cookie_t xcb_glx_are_textures_resident_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *textures - ** @returns xcb_glx_are_textures_resident_cookie_t - ** - *****************************************************************************/ - xcb_glx_are_textures_resident_cookie_t xcb_glx_are_textures_resident_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11321,14 +7547,14 @@ xcb_glx_are_textures_resident_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_ARE_TEXTURES_RESIDENT, /* isvoid */ 0 }; - + struct iovec xcb_parts[6]; xcb_glx_are_textures_resident_cookie_t xcb_ret; xcb_glx_are_textures_resident_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -11338,53 +7564,23 @@ xcb_glx_are_textures_resident_unchecked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(xcb_glx_bool32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_are_textures_resident_data - ** - ** @param const xcb_glx_are_textures_resident_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_are_textures_resident_data (const xcb_glx_are_textures_resident_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_are_textures_resident_data_length - ** - ** @param const xcb_glx_are_textures_resident_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_are_textures_resident_data_length (const xcb_glx_are_textures_resident_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_are_textures_resident_data_end - ** - ** @param const xcb_glx_are_textures_resident_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_are_textures_resident_data_end (const xcb_glx_are_textures_resident_reply_t *R /**< */) { @@ -11395,18 +7591,6 @@ xcb_glx_are_textures_resident_data_end (const xcb_glx_are_textures_resident_repl return i; } - -/***************************************************************************** - ** - ** xcb_glx_are_textures_resident_reply_t * xcb_glx_are_textures_resident_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_are_textures_resident_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_are_textures_resident_reply_t * - ** - *****************************************************************************/ - xcb_glx_are_textures_resident_reply_t * xcb_glx_are_textures_resident_reply (xcb_connection_t *c /**< */, xcb_glx_are_textures_resident_cookie_t cookie /**< */, @@ -11446,19 +7630,6 @@ xcb_glx_delete_textures_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_textures_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *textures - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_textures_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11471,14 +7642,14 @@ xcb_glx_delete_textures_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_TEXTURES, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_textures_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -11488,24 +7659,11 @@ xcb_glx_delete_textures_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_textures - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *textures - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_textures (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11518,14 +7676,14 @@ xcb_glx_delete_textures (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_TEXTURES, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_textures_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -11535,7 +7693,7 @@ xcb_glx_delete_textures (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -11571,18 +7729,6 @@ xcb_glx_gen_textures_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_gen_textures_cookie_t xcb_glx_gen_textures - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @returns xcb_glx_gen_textures_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_textures_cookie_t xcb_glx_gen_textures (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11594,35 +7740,23 @@ xcb_glx_gen_textures (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_TEXTURES, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_textures_cookie_t xcb_ret; xcb_glx_gen_textures_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_gen_textures_cookie_t xcb_glx_gen_textures_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @returns xcb_glx_gen_textures_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_textures_cookie_t xcb_glx_gen_textures_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11634,65 +7768,35 @@ xcb_glx_gen_textures_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_TEXTURES, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_textures_cookie_t xcb_ret; xcb_glx_gen_textures_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_gen_textures_data - ** - ** @param const xcb_glx_gen_textures_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_gen_textures_data (const xcb_glx_gen_textures_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_gen_textures_data_length - ** - ** @param const xcb_glx_gen_textures_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_gen_textures_data_length (const xcb_glx_gen_textures_reply_t *R /**< */) { return R->length; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_gen_textures_data_end - ** - ** @param const xcb_glx_gen_textures_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_gen_textures_data_end (const xcb_glx_gen_textures_reply_t *R /**< */) { @@ -11703,18 +7807,6 @@ xcb_glx_gen_textures_data_end (const xcb_glx_gen_textures_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_gen_textures_reply_t * xcb_glx_gen_textures_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_gen_textures_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_gen_textures_reply_t * - ** - *****************************************************************************/ - xcb_glx_gen_textures_reply_t * xcb_glx_gen_textures_reply (xcb_connection_t *c /**< */, xcb_glx_gen_textures_cookie_t cookie /**< */, @@ -11723,18 +7815,6 @@ xcb_glx_gen_textures_reply (xcb_connection_t *c /**< */, return (xcb_glx_gen_textures_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_is_texture_cookie_t xcb_glx_is_texture - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t texture - ** @returns xcb_glx_is_texture_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_texture_cookie_t xcb_glx_is_texture (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11746,35 +7826,23 @@ xcb_glx_is_texture (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_TEXTURE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_texture_cookie_t xcb_ret; xcb_glx_is_texture_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.texture = texture; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_texture_cookie_t xcb_glx_is_texture_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t texture - ** @returns xcb_glx_is_texture_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_texture_cookie_t xcb_glx_is_texture_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11786,35 +7854,23 @@ xcb_glx_is_texture_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_TEXTURE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_texture_cookie_t xcb_ret; xcb_glx_is_texture_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.texture = texture; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_texture_reply_t * xcb_glx_is_texture_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_is_texture_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_is_texture_reply_t * - ** - *****************************************************************************/ - xcb_glx_is_texture_reply_t * xcb_glx_is_texture_reply (xcb_connection_t *c /**< */, xcb_glx_is_texture_cookie_t cookie /**< */, @@ -11854,21 +7910,6 @@ xcb_glx_get_color_table_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_cookie_t xcb_glx_get_color_table - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_color_table_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_cookie_t xcb_glx_get_color_table (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11883,41 +7924,26 @@ xcb_glx_get_color_table (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_COLOR_TABLE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_cookie_t xcb_ret; xcb_glx_get_color_table_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_cookie_t xcb_glx_get_color_table_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_color_table_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_cookie_t xcb_glx_get_color_table_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -11932,68 +7958,38 @@ xcb_glx_get_color_table_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_COLOR_TABLE, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_cookie_t xcb_ret; xcb_glx_get_color_table_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_color_table_data - ** - ** @param const xcb_glx_get_color_table_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_color_table_data (const xcb_glx_get_color_table_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_color_table_data_length - ** - ** @param const xcb_glx_get_color_table_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_color_table_data_length (const xcb_glx_get_color_table_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_color_table_data_end - ** - ** @param const xcb_glx_get_color_table_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_color_table_data_end (const xcb_glx_get_color_table_reply_t *R /**< */) { @@ -12004,18 +8000,6 @@ xcb_glx_get_color_table_data_end (const xcb_glx_get_color_table_reply_t *R /**< return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_reply_t * xcb_glx_get_color_table_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_color_table_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_color_table_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_color_table_reply_t * xcb_glx_get_color_table_reply (xcb_connection_t *c /**< */, xcb_glx_get_color_table_cookie_t cookie /**< */, @@ -12055,19 +8039,6 @@ xcb_glx_get_color_table_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameterfv_cookie_t xcb_glx_get_color_table_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_color_table_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameterfv_cookie_t xcb_glx_get_color_table_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12080,37 +8051,24 @@ xcb_glx_get_color_table_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_COLOR_TABLE_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_parameterfv_cookie_t xcb_ret; xcb_glx_get_color_table_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameterfv_cookie_t xcb_glx_get_color_table_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_color_table_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameterfv_cookie_t xcb_glx_get_color_table_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12123,66 +8081,36 @@ xcb_glx_get_color_table_parameterfv_unchecked (xcb_connection_t *c /**< */ /* opcode */ XCB_GLX_GET_COLOR_TABLE_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_parameterfv_cookie_t xcb_ret; xcb_glx_get_color_table_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_color_table_parameterfv_data - ** - ** @param const xcb_glx_get_color_table_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_color_table_parameterfv_data (const xcb_glx_get_color_table_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_color_table_parameterfv_data_length - ** - ** @param const xcb_glx_get_color_table_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_color_table_parameterfv_data_length (const xcb_glx_get_color_table_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_color_table_parameterfv_data_end - ** - ** @param const xcb_glx_get_color_table_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_color_table_parameterfv_data_end (const xcb_glx_get_color_table_parameterfv_reply_t *R /**< */) { @@ -12193,18 +8121,6 @@ xcb_glx_get_color_table_parameterfv_data_end (const xcb_glx_get_color_table_para return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameterfv_reply_t * xcb_glx_get_color_table_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_color_table_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_color_table_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameterfv_reply_t * xcb_glx_get_color_table_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_color_table_parameterfv_cookie_t cookie /**< */, @@ -12244,19 +8160,6 @@ xcb_glx_get_color_table_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameteriv_cookie_t xcb_glx_get_color_table_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_color_table_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameteriv_cookie_t xcb_glx_get_color_table_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12269,37 +8172,24 @@ xcb_glx_get_color_table_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_COLOR_TABLE_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_parameteriv_cookie_t xcb_ret; xcb_glx_get_color_table_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameteriv_cookie_t xcb_glx_get_color_table_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_color_table_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameteriv_cookie_t xcb_glx_get_color_table_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12312,66 +8202,36 @@ xcb_glx_get_color_table_parameteriv_unchecked (xcb_connection_t *c /**< */ /* opcode */ XCB_GLX_GET_COLOR_TABLE_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_color_table_parameteriv_cookie_t xcb_ret; xcb_glx_get_color_table_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_color_table_parameteriv_data - ** - ** @param const xcb_glx_get_color_table_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_color_table_parameteriv_data (const xcb_glx_get_color_table_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_color_table_parameteriv_data_length - ** - ** @param const xcb_glx_get_color_table_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_color_table_parameteriv_data_length (const xcb_glx_get_color_table_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_color_table_parameteriv_data_end - ** - ** @param const xcb_glx_get_color_table_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_color_table_parameteriv_data_end (const xcb_glx_get_color_table_parameteriv_reply_t *R /**< */) { @@ -12382,18 +8242,6 @@ xcb_glx_get_color_table_parameteriv_data_end (const xcb_glx_get_color_table_para return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_color_table_parameteriv_reply_t * xcb_glx_get_color_table_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_color_table_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_color_table_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_color_table_parameteriv_reply_t * xcb_glx_get_color_table_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_color_table_parameteriv_cookie_t cookie /**< */, @@ -12433,21 +8281,6 @@ xcb_glx_get_convolution_filter_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_filter_cookie_t xcb_glx_get_convolution_filter - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_convolution_filter_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_filter_cookie_t xcb_glx_get_convolution_filter (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12462,41 +8295,26 @@ xcb_glx_get_convolution_filter (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CONVOLUTION_FILTER, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_filter_cookie_t xcb_ret; xcb_glx_get_convolution_filter_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_filter_cookie_t xcb_glx_get_convolution_filter_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_convolution_filter_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_filter_cookie_t xcb_glx_get_convolution_filter_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12511,68 +8329,38 @@ xcb_glx_get_convolution_filter_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CONVOLUTION_FILTER, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_filter_cookie_t xcb_ret; xcb_glx_get_convolution_filter_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_convolution_filter_data - ** - ** @param const xcb_glx_get_convolution_filter_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_convolution_filter_data (const xcb_glx_get_convolution_filter_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_convolution_filter_data_length - ** - ** @param const xcb_glx_get_convolution_filter_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_convolution_filter_data_length (const xcb_glx_get_convolution_filter_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_convolution_filter_data_end - ** - ** @param const xcb_glx_get_convolution_filter_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_convolution_filter_data_end (const xcb_glx_get_convolution_filter_reply_t *R /**< */) { @@ -12583,18 +8371,6 @@ xcb_glx_get_convolution_filter_data_end (const xcb_glx_get_convolution_filter_re return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_filter_reply_t * xcb_glx_get_convolution_filter_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_convolution_filter_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_convolution_filter_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_convolution_filter_reply_t * xcb_glx_get_convolution_filter_reply (xcb_connection_t *c /**< */, xcb_glx_get_convolution_filter_cookie_t cookie /**< */, @@ -12634,19 +8410,6 @@ xcb_glx_get_convolution_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameterfv_cookie_t xcb_glx_get_convolution_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_convolution_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameterfv_cookie_t xcb_glx_get_convolution_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12659,37 +8422,24 @@ xcb_glx_get_convolution_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CONVOLUTION_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_parameterfv_cookie_t xcb_ret; xcb_glx_get_convolution_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameterfv_cookie_t xcb_glx_get_convolution_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_convolution_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameterfv_cookie_t xcb_glx_get_convolution_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12702,66 +8452,36 @@ xcb_glx_get_convolution_parameterfv_unchecked (xcb_connection_t *c /**< */ /* opcode */ XCB_GLX_GET_CONVOLUTION_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_parameterfv_cookie_t xcb_ret; xcb_glx_get_convolution_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_convolution_parameterfv_data - ** - ** @param const xcb_glx_get_convolution_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_convolution_parameterfv_data (const xcb_glx_get_convolution_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_convolution_parameterfv_data_length - ** - ** @param const xcb_glx_get_convolution_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_convolution_parameterfv_data_length (const xcb_glx_get_convolution_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_convolution_parameterfv_data_end - ** - ** @param const xcb_glx_get_convolution_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_convolution_parameterfv_data_end (const xcb_glx_get_convolution_parameterfv_reply_t *R /**< */) { @@ -12772,18 +8492,6 @@ xcb_glx_get_convolution_parameterfv_data_end (const xcb_glx_get_convolution_para return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameterfv_reply_t * xcb_glx_get_convolution_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_convolution_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_convolution_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameterfv_reply_t * xcb_glx_get_convolution_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_convolution_parameterfv_cookie_t cookie /**< */, @@ -12823,19 +8531,6 @@ xcb_glx_get_convolution_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameteriv_cookie_t xcb_glx_get_convolution_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_convolution_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameteriv_cookie_t xcb_glx_get_convolution_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12848,37 +8543,24 @@ xcb_glx_get_convolution_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_CONVOLUTION_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_parameteriv_cookie_t xcb_ret; xcb_glx_get_convolution_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameteriv_cookie_t xcb_glx_get_convolution_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_convolution_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameteriv_cookie_t xcb_glx_get_convolution_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -12891,66 +8573,36 @@ xcb_glx_get_convolution_parameteriv_unchecked (xcb_connection_t *c /**< */ /* opcode */ XCB_GLX_GET_CONVOLUTION_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_convolution_parameteriv_cookie_t xcb_ret; xcb_glx_get_convolution_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_convolution_parameteriv_data - ** - ** @param const xcb_glx_get_convolution_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_convolution_parameteriv_data (const xcb_glx_get_convolution_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_convolution_parameteriv_data_length - ** - ** @param const xcb_glx_get_convolution_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_convolution_parameteriv_data_length (const xcb_glx_get_convolution_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_convolution_parameteriv_data_end - ** - ** @param const xcb_glx_get_convolution_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_convolution_parameteriv_data_end (const xcb_glx_get_convolution_parameteriv_reply_t *R /**< */) { @@ -12961,18 +8613,6 @@ xcb_glx_get_convolution_parameteriv_data_end (const xcb_glx_get_convolution_para return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_convolution_parameteriv_reply_t * xcb_glx_get_convolution_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_convolution_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_convolution_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_convolution_parameteriv_reply_t * xcb_glx_get_convolution_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_convolution_parameteriv_cookie_t cookie /**< */, @@ -13012,21 +8652,6 @@ xcb_glx_get_separable_filter_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_separable_filter_cookie_t xcb_glx_get_separable_filter - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_separable_filter_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_separable_filter_cookie_t xcb_glx_get_separable_filter (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13041,41 +8666,26 @@ xcb_glx_get_separable_filter (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_SEPARABLE_FILTER, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_separable_filter_cookie_t xcb_ret; xcb_glx_get_separable_filter_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_separable_filter_cookie_t xcb_glx_get_separable_filter_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @returns xcb_glx_get_separable_filter_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_separable_filter_cookie_t xcb_glx_get_separable_filter_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13090,68 +8700,38 @@ xcb_glx_get_separable_filter_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_SEPARABLE_FILTER, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_separable_filter_cookie_t xcb_ret; xcb_glx_get_separable_filter_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_separable_filter_rows_and_cols - ** - ** @param const xcb_glx_get_separable_filter_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_separable_filter_rows_and_cols (const xcb_glx_get_separable_filter_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_separable_filter_rows_and_cols_length - ** - ** @param const xcb_glx_get_separable_filter_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_separable_filter_rows_and_cols_length (const xcb_glx_get_separable_filter_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_separable_filter_rows_and_cols_end - ** - ** @param const xcb_glx_get_separable_filter_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_separable_filter_rows_and_cols_end (const xcb_glx_get_separable_filter_reply_t *R /**< */) { @@ -13162,18 +8742,6 @@ xcb_glx_get_separable_filter_rows_and_cols_end (const xcb_glx_get_separable_filt return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_separable_filter_reply_t * xcb_glx_get_separable_filter_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_separable_filter_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_separable_filter_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_separable_filter_reply_t * xcb_glx_get_separable_filter_reply (xcb_connection_t *c /**< */, xcb_glx_get_separable_filter_cookie_t cookie /**< */, @@ -13213,22 +8781,6 @@ xcb_glx_get_histogram_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_cookie_t xcb_glx_get_histogram - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t reset - ** @returns xcb_glx_get_histogram_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_cookie_t xcb_glx_get_histogram (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13244,43 +8796,27 @@ xcb_glx_get_histogram (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_cookie_t xcb_ret; xcb_glx_get_histogram_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.reset = reset; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_cookie_t xcb_glx_get_histogram_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t reset - ** @returns xcb_glx_get_histogram_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_cookie_t xcb_glx_get_histogram_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13296,69 +8832,39 @@ xcb_glx_get_histogram_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_cookie_t xcb_ret; xcb_glx_get_histogram_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.reset = reset; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_histogram_data - ** - ** @param const xcb_glx_get_histogram_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_histogram_data (const xcb_glx_get_histogram_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_histogram_data_length - ** - ** @param const xcb_glx_get_histogram_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_histogram_data_length (const xcb_glx_get_histogram_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_histogram_data_end - ** - ** @param const xcb_glx_get_histogram_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_histogram_data_end (const xcb_glx_get_histogram_reply_t *R /**< */) { @@ -13369,18 +8875,6 @@ xcb_glx_get_histogram_data_end (const xcb_glx_get_histogram_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_reply_t * xcb_glx_get_histogram_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_histogram_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_histogram_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_histogram_reply_t * xcb_glx_get_histogram_reply (xcb_connection_t *c /**< */, xcb_glx_get_histogram_cookie_t cookie /**< */, @@ -13420,19 +8914,6 @@ xcb_glx_get_histogram_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameterfv_cookie_t xcb_glx_get_histogram_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_histogram_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameterfv_cookie_t xcb_glx_get_histogram_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13445,37 +8926,24 @@ xcb_glx_get_histogram_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_parameterfv_cookie_t xcb_ret; xcb_glx_get_histogram_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameterfv_cookie_t xcb_glx_get_histogram_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_histogram_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameterfv_cookie_t xcb_glx_get_histogram_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13488,66 +8956,36 @@ xcb_glx_get_histogram_parameterfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_parameterfv_cookie_t xcb_ret; xcb_glx_get_histogram_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_histogram_parameterfv_data - ** - ** @param const xcb_glx_get_histogram_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_histogram_parameterfv_data (const xcb_glx_get_histogram_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_histogram_parameterfv_data_length - ** - ** @param const xcb_glx_get_histogram_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_histogram_parameterfv_data_length (const xcb_glx_get_histogram_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_histogram_parameterfv_data_end - ** - ** @param const xcb_glx_get_histogram_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_histogram_parameterfv_data_end (const xcb_glx_get_histogram_parameterfv_reply_t *R /**< */) { @@ -13558,18 +8996,6 @@ xcb_glx_get_histogram_parameterfv_data_end (const xcb_glx_get_histogram_paramete return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameterfv_reply_t * xcb_glx_get_histogram_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_histogram_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_histogram_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameterfv_reply_t * xcb_glx_get_histogram_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_histogram_parameterfv_cookie_t cookie /**< */, @@ -13609,19 +9035,6 @@ xcb_glx_get_histogram_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameteriv_cookie_t xcb_glx_get_histogram_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_histogram_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameteriv_cookie_t xcb_glx_get_histogram_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13634,37 +9047,24 @@ xcb_glx_get_histogram_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_parameteriv_cookie_t xcb_ret; xcb_glx_get_histogram_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameteriv_cookie_t xcb_glx_get_histogram_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_histogram_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameteriv_cookie_t xcb_glx_get_histogram_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13677,66 +9077,36 @@ xcb_glx_get_histogram_parameteriv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_HISTOGRAM_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_histogram_parameteriv_cookie_t xcb_ret; xcb_glx_get_histogram_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_histogram_parameteriv_data - ** - ** @param const xcb_glx_get_histogram_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_histogram_parameteriv_data (const xcb_glx_get_histogram_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_histogram_parameteriv_data_length - ** - ** @param const xcb_glx_get_histogram_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_histogram_parameteriv_data_length (const xcb_glx_get_histogram_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_histogram_parameteriv_data_end - ** - ** @param const xcb_glx_get_histogram_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_histogram_parameteriv_data_end (const xcb_glx_get_histogram_parameteriv_reply_t *R /**< */) { @@ -13747,18 +9117,6 @@ xcb_glx_get_histogram_parameteriv_data_end (const xcb_glx_get_histogram_paramete return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_histogram_parameteriv_reply_t * xcb_glx_get_histogram_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_histogram_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_histogram_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_histogram_parameteriv_reply_t * xcb_glx_get_histogram_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_histogram_parameteriv_cookie_t cookie /**< */, @@ -13798,22 +9156,6 @@ xcb_glx_get_minmax_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_cookie_t xcb_glx_get_minmax - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t reset - ** @returns xcb_glx_get_minmax_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_cookie_t xcb_glx_get_minmax (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13829,43 +9171,27 @@ xcb_glx_get_minmax (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_cookie_t xcb_ret; xcb_glx_get_minmax_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.reset = reset; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_cookie_t xcb_glx_get_minmax_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t format - ** @param uint32_t type - ** @param uint8_t swap_bytes - ** @param uint8_t reset - ** @returns xcb_glx_get_minmax_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_cookie_t xcb_glx_get_minmax_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -13881,69 +9207,39 @@ xcb_glx_get_minmax_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_cookie_t xcb_ret; xcb_glx_get_minmax_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.format = format; xcb_out.type = type; xcb_out.swap_bytes = swap_bytes; xcb_out.reset = reset; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_minmax_data - ** - ** @param const xcb_glx_get_minmax_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_minmax_data (const xcb_glx_get_minmax_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_minmax_data_length - ** - ** @param const xcb_glx_get_minmax_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_minmax_data_length (const xcb_glx_get_minmax_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_minmax_data_end - ** - ** @param const xcb_glx_get_minmax_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_minmax_data_end (const xcb_glx_get_minmax_reply_t *R /**< */) { @@ -13954,18 +9250,6 @@ xcb_glx_get_minmax_data_end (const xcb_glx_get_minmax_reply_t *R /**< */) return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_reply_t * xcb_glx_get_minmax_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_minmax_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_minmax_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_minmax_reply_t * xcb_glx_get_minmax_reply (xcb_connection_t *c /**< */, xcb_glx_get_minmax_cookie_t cookie /**< */, @@ -14005,19 +9289,6 @@ xcb_glx_get_minmax_parameterfv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameterfv_cookie_t xcb_glx_get_minmax_parameterfv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_minmax_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameterfv_cookie_t xcb_glx_get_minmax_parameterfv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14030,37 +9301,24 @@ xcb_glx_get_minmax_parameterfv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_parameterfv_cookie_t xcb_ret; xcb_glx_get_minmax_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameterfv_cookie_t xcb_glx_get_minmax_parameterfv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_minmax_parameterfv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameterfv_cookie_t xcb_glx_get_minmax_parameterfv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14073,66 +9331,36 @@ xcb_glx_get_minmax_parameterfv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX_PARAMETERFV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_parameterfv_cookie_t xcb_ret; xcb_glx_get_minmax_parameterfv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_float32_t * xcb_glx_get_minmax_parameterfv_data - ** - ** @param const xcb_glx_get_minmax_parameterfv_reply_t *R - ** @returns xcb_glx_float32_t * - ** - *****************************************************************************/ - xcb_glx_float32_t * xcb_glx_get_minmax_parameterfv_data (const xcb_glx_get_minmax_parameterfv_reply_t *R /**< */) { return (xcb_glx_float32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_minmax_parameterfv_data_length - ** - ** @param const xcb_glx_get_minmax_parameterfv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_minmax_parameterfv_data_length (const xcb_glx_get_minmax_parameterfv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_minmax_parameterfv_data_end - ** - ** @param const xcb_glx_get_minmax_parameterfv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_minmax_parameterfv_data_end (const xcb_glx_get_minmax_parameterfv_reply_t *R /**< */) { @@ -14143,18 +9371,6 @@ xcb_glx_get_minmax_parameterfv_data_end (const xcb_glx_get_minmax_parameterfv_re return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameterfv_reply_t * xcb_glx_get_minmax_parameterfv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_minmax_parameterfv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_minmax_parameterfv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameterfv_reply_t * xcb_glx_get_minmax_parameterfv_reply (xcb_connection_t *c /**< */, xcb_glx_get_minmax_parameterfv_cookie_t cookie /**< */, @@ -14194,19 +9410,6 @@ xcb_glx_get_minmax_parameteriv_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameteriv_cookie_t xcb_glx_get_minmax_parameteriv - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_minmax_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameteriv_cookie_t xcb_glx_get_minmax_parameteriv (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14219,37 +9422,24 @@ xcb_glx_get_minmax_parameteriv (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_parameteriv_cookie_t xcb_ret; xcb_glx_get_minmax_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameteriv_cookie_t xcb_glx_get_minmax_parameteriv_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_minmax_parameteriv_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameteriv_cookie_t xcb_glx_get_minmax_parameteriv_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14262,66 +9452,36 @@ xcb_glx_get_minmax_parameteriv_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_MINMAX_PARAMETERIV, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_minmax_parameteriv_cookie_t xcb_ret; xcb_glx_get_minmax_parameteriv_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_minmax_parameteriv_data - ** - ** @param const xcb_glx_get_minmax_parameteriv_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_minmax_parameteriv_data (const xcb_glx_get_minmax_parameteriv_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_minmax_parameteriv_data_length - ** - ** @param const xcb_glx_get_minmax_parameteriv_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_minmax_parameteriv_data_length (const xcb_glx_get_minmax_parameteriv_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_minmax_parameteriv_data_end - ** - ** @param const xcb_glx_get_minmax_parameteriv_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_minmax_parameteriv_data_end (const xcb_glx_get_minmax_parameteriv_reply_t *R /**< */) { @@ -14332,18 +9492,6 @@ xcb_glx_get_minmax_parameteriv_data_end (const xcb_glx_get_minmax_parameteriv_re return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_minmax_parameteriv_reply_t * xcb_glx_get_minmax_parameteriv_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_minmax_parameteriv_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_minmax_parameteriv_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_minmax_parameteriv_reply_t * xcb_glx_get_minmax_parameteriv_reply (xcb_connection_t *c /**< */, xcb_glx_get_minmax_parameteriv_cookie_t cookie /**< */, @@ -14383,19 +9531,6 @@ xcb_glx_get_compressed_tex_image_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_glx_get_compressed_tex_image_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @returns xcb_glx_get_compressed_tex_image_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_glx_get_compressed_tex_image_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14408,37 +9543,24 @@ xcb_glx_get_compressed_tex_image_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_ret; xcb_glx_get_compressed_tex_image_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_glx_get_compressed_tex_image_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param int32_t level - ** @returns xcb_glx_get_compressed_tex_image_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_glx_get_compressed_tex_image_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14451,66 +9573,36 @@ xcb_glx_get_compressed_tex_image_arb_unchecked (xcb_connection_t *c /**< * /* opcode */ XCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_compressed_tex_image_arb_cookie_t xcb_ret; xcb_glx_get_compressed_tex_image_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.level = level; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint8_t * xcb_glx_get_compressed_tex_image_arb_data - ** - ** @param const xcb_glx_get_compressed_tex_image_arb_reply_t *R - ** @returns uint8_t * - ** - *****************************************************************************/ - uint8_t * xcb_glx_get_compressed_tex_image_arb_data (const xcb_glx_get_compressed_tex_image_arb_reply_t *R /**< */) { return (uint8_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_compressed_tex_image_arb_data_length - ** - ** @param const xcb_glx_get_compressed_tex_image_arb_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_compressed_tex_image_arb_data_length (const xcb_glx_get_compressed_tex_image_arb_reply_t *R /**< */) { return (R->length * 4); } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_compressed_tex_image_arb_data_end - ** - ** @param const xcb_glx_get_compressed_tex_image_arb_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_compressed_tex_image_arb_data_end (const xcb_glx_get_compressed_tex_image_arb_reply_t *R /**< */) { @@ -14521,18 +9613,6 @@ xcb_glx_get_compressed_tex_image_arb_data_end (const xcb_glx_get_compressed_tex_ return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_compressed_tex_image_arb_reply_t * xcb_glx_get_compressed_tex_image_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_compressed_tex_image_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_compressed_tex_image_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_compressed_tex_image_arb_reply_t * xcb_glx_get_compressed_tex_image_arb_reply (xcb_connection_t *c /**< */, xcb_glx_get_compressed_tex_image_arb_cookie_t cookie /**< */, @@ -14572,19 +9652,6 @@ xcb_glx_delete_queries_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_queries_arb_checked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *ids - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_queries_arb_checked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14597,14 +9664,14 @@ xcb_glx_delete_queries_arb_checked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_QUERIES_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_queries_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -14614,24 +9681,11 @@ xcb_glx_delete_queries_arb_checked (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_void_cookie_t xcb_glx_delete_queries_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @param const uint32_t *ids - ** @returns xcb_void_cookie_t - ** - *****************************************************************************/ - xcb_void_cookie_t xcb_glx_delete_queries_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14644,14 +9698,14 @@ xcb_glx_delete_queries_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_DELETE_QUERIES_ARB, /* isvoid */ 1 }; - + struct iovec xcb_parts[6]; xcb_void_cookie_t xcb_ret; xcb_glx_delete_queries_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; @@ -14661,7 +9715,7 @@ xcb_glx_delete_queries_arb (xcb_connection_t *c /**< */, xcb_parts[4].iov_len = n * sizeof(uint32_t); xcb_parts[5].iov_base = 0; xcb_parts[5].iov_len = -xcb_parts[4].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } @@ -14697,18 +9751,6 @@ xcb_glx_gen_queries_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_gen_queries_arb_cookie_t xcb_glx_gen_queries_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @returns xcb_glx_gen_queries_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_queries_arb_cookie_t xcb_glx_gen_queries_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14720,35 +9762,23 @@ xcb_glx_gen_queries_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_QUERIES_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_queries_arb_cookie_t xcb_ret; xcb_glx_gen_queries_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_gen_queries_arb_cookie_t xcb_glx_gen_queries_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param int32_t n - ** @returns xcb_glx_gen_queries_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_gen_queries_arb_cookie_t xcb_glx_gen_queries_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14760,65 +9790,35 @@ xcb_glx_gen_queries_arb_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GEN_QUERIES_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_gen_queries_arb_cookie_t xcb_ret; xcb_glx_gen_queries_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.n = n; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_gen_queries_arb_data - ** - ** @param const xcb_glx_gen_queries_arb_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_gen_queries_arb_data (const xcb_glx_gen_queries_arb_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_gen_queries_arb_data_length - ** - ** @param const xcb_glx_gen_queries_arb_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_gen_queries_arb_data_length (const xcb_glx_gen_queries_arb_reply_t *R /**< */) { return R->length; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_gen_queries_arb_data_end - ** - ** @param const xcb_glx_gen_queries_arb_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_gen_queries_arb_data_end (const xcb_glx_gen_queries_arb_reply_t *R /**< */) { @@ -14829,18 +9829,6 @@ xcb_glx_gen_queries_arb_data_end (const xcb_glx_gen_queries_arb_reply_t *R /**< return i; } - -/***************************************************************************** - ** - ** xcb_glx_gen_queries_arb_reply_t * xcb_glx_gen_queries_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_gen_queries_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_gen_queries_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_gen_queries_arb_reply_t * xcb_glx_gen_queries_arb_reply (xcb_connection_t *c /**< */, xcb_glx_gen_queries_arb_cookie_t cookie /**< */, @@ -14849,18 +9837,6 @@ xcb_glx_gen_queries_arb_reply (xcb_connection_t *c /**< */, return (xcb_glx_gen_queries_arb_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e); } - -/***************************************************************************** - ** - ** xcb_glx_is_query_arb_cookie_t xcb_glx_is_query_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @returns xcb_glx_is_query_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_query_arb_cookie_t xcb_glx_is_query_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14872,35 +9848,23 @@ xcb_glx_is_query_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_QUERY_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_query_arb_cookie_t xcb_ret; xcb_glx_is_query_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_query_arb_cookie_t xcb_glx_is_query_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @returns xcb_glx_is_query_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_is_query_arb_cookie_t xcb_glx_is_query_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -14912,35 +9876,23 @@ xcb_glx_is_query_arb_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_IS_QUERY_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_is_query_arb_cookie_t xcb_ret; xcb_glx_is_query_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_is_query_arb_reply_t * xcb_glx_is_query_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_is_query_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_is_query_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_is_query_arb_reply_t * xcb_glx_is_query_arb_reply (xcb_connection_t *c /**< */, xcb_glx_is_query_arb_cookie_t cookie /**< */, @@ -14980,19 +9932,6 @@ xcb_glx_get_queryiv_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_queryiv_arb_cookie_t xcb_glx_get_queryiv_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_queryiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_queryiv_arb_cookie_t xcb_glx_get_queryiv_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15005,37 +9944,24 @@ xcb_glx_get_queryiv_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERYIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_queryiv_arb_cookie_t xcb_ret; xcb_glx_get_queryiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_queryiv_arb_cookie_t xcb_glx_get_queryiv_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t target - ** @param uint32_t pname - ** @returns xcb_glx_get_queryiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_queryiv_arb_cookie_t xcb_glx_get_queryiv_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15048,66 +9974,36 @@ xcb_glx_get_queryiv_arb_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERYIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_queryiv_arb_cookie_t xcb_ret; xcb_glx_get_queryiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.target = target; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_queryiv_arb_data - ** - ** @param const xcb_glx_get_queryiv_arb_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_queryiv_arb_data (const xcb_glx_get_queryiv_arb_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_queryiv_arb_data_length - ** - ** @param const xcb_glx_get_queryiv_arb_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_queryiv_arb_data_length (const xcb_glx_get_queryiv_arb_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_queryiv_arb_data_end - ** - ** @param const xcb_glx_get_queryiv_arb_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_queryiv_arb_data_end (const xcb_glx_get_queryiv_arb_reply_t *R /**< */) { @@ -15118,18 +10014,6 @@ xcb_glx_get_queryiv_arb_data_end (const xcb_glx_get_queryiv_arb_reply_t *R /**< return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_queryiv_arb_reply_t * xcb_glx_get_queryiv_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_queryiv_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_queryiv_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_queryiv_arb_reply_t * xcb_glx_get_queryiv_arb_reply (xcb_connection_t *c /**< */, xcb_glx_get_queryiv_arb_cookie_t cookie /**< */, @@ -15169,19 +10053,6 @@ xcb_glx_get_query_objectiv_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectiv_arb_cookie_t xcb_glx_get_query_objectiv_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @param uint32_t pname - ** @returns xcb_glx_get_query_objectiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_query_objectiv_arb_cookie_t xcb_glx_get_query_objectiv_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15194,37 +10065,24 @@ xcb_glx_get_query_objectiv_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERY_OBJECTIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_query_objectiv_arb_cookie_t xcb_ret; xcb_glx_get_query_objectiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectiv_arb_cookie_t xcb_glx_get_query_objectiv_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @param uint32_t pname - ** @returns xcb_glx_get_query_objectiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_query_objectiv_arb_cookie_t xcb_glx_get_query_objectiv_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15237,66 +10095,36 @@ xcb_glx_get_query_objectiv_arb_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERY_OBJECTIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_query_objectiv_arb_cookie_t xcb_ret; xcb_glx_get_query_objectiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** int32_t * xcb_glx_get_query_objectiv_arb_data - ** - ** @param const xcb_glx_get_query_objectiv_arb_reply_t *R - ** @returns int32_t * - ** - *****************************************************************************/ - int32_t * xcb_glx_get_query_objectiv_arb_data (const xcb_glx_get_query_objectiv_arb_reply_t *R /**< */) { return (int32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_query_objectiv_arb_data_length - ** - ** @param const xcb_glx_get_query_objectiv_arb_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_query_objectiv_arb_data_length (const xcb_glx_get_query_objectiv_arb_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_query_objectiv_arb_data_end - ** - ** @param const xcb_glx_get_query_objectiv_arb_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_query_objectiv_arb_data_end (const xcb_glx_get_query_objectiv_arb_reply_t *R /**< */) { @@ -15307,18 +10135,6 @@ xcb_glx_get_query_objectiv_arb_data_end (const xcb_glx_get_query_objectiv_arb_re return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectiv_arb_reply_t * xcb_glx_get_query_objectiv_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_query_objectiv_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_query_objectiv_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_query_objectiv_arb_reply_t * xcb_glx_get_query_objectiv_arb_reply (xcb_connection_t *c /**< */, xcb_glx_get_query_objectiv_arb_cookie_t cookie /**< */, @@ -15358,19 +10174,6 @@ xcb_glx_get_query_objectuiv_arb_sizeof (const void *_buffer /**< */) return xcb_buffer_len; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectuiv_arb_cookie_t xcb_glx_get_query_objectuiv_arb - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @param uint32_t pname - ** @returns xcb_glx_get_query_objectuiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_query_objectuiv_arb_cookie_t xcb_glx_get_query_objectuiv_arb (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15383,37 +10186,24 @@ xcb_glx_get_query_objectuiv_arb (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERY_OBJECTUIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_query_objectuiv_arb_cookie_t xcb_ret; xcb_glx_get_query_objectuiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectuiv_arb_cookie_t xcb_glx_get_query_objectuiv_arb_unchecked - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_context_tag_t context_tag - ** @param uint32_t id - ** @param uint32_t pname - ** @returns xcb_glx_get_query_objectuiv_arb_cookie_t - ** - *****************************************************************************/ - xcb_glx_get_query_objectuiv_arb_cookie_t xcb_glx_get_query_objectuiv_arb_unchecked (xcb_connection_t *c /**< */, xcb_glx_context_tag_t context_tag /**< */, @@ -15426,66 +10216,36 @@ xcb_glx_get_query_objectuiv_arb_unchecked (xcb_connection_t *c /**< */, /* opcode */ XCB_GLX_GET_QUERY_OBJECTUIV_ARB, /* isvoid */ 0 }; - + struct iovec xcb_parts[4]; xcb_glx_get_query_objectuiv_arb_cookie_t xcb_ret; xcb_glx_get_query_objectuiv_arb_request_t xcb_out; - + xcb_out.context_tag = context_tag; xcb_out.id = id; xcb_out.pname = pname; - + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - + xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req); return xcb_ret; } - -/***************************************************************************** - ** - ** uint32_t * xcb_glx_get_query_objectuiv_arb_data - ** - ** @param const xcb_glx_get_query_objectuiv_arb_reply_t *R - ** @returns uint32_t * - ** - *****************************************************************************/ - uint32_t * xcb_glx_get_query_objectuiv_arb_data (const xcb_glx_get_query_objectuiv_arb_reply_t *R /**< */) { return (uint32_t *) (R + 1); } - -/***************************************************************************** - ** - ** int xcb_glx_get_query_objectuiv_arb_data_length - ** - ** @param const xcb_glx_get_query_objectuiv_arb_reply_t *R - ** @returns int - ** - *****************************************************************************/ - int xcb_glx_get_query_objectuiv_arb_data_length (const xcb_glx_get_query_objectuiv_arb_reply_t *R /**< */) { return R->n; } - -/***************************************************************************** - ** - ** xcb_generic_iterator_t xcb_glx_get_query_objectuiv_arb_data_end - ** - ** @param const xcb_glx_get_query_objectuiv_arb_reply_t *R - ** @returns xcb_generic_iterator_t - ** - *****************************************************************************/ - xcb_generic_iterator_t xcb_glx_get_query_objectuiv_arb_data_end (const xcb_glx_get_query_objectuiv_arb_reply_t *R /**< */) { @@ -15496,18 +10256,6 @@ xcb_glx_get_query_objectuiv_arb_data_end (const xcb_glx_get_query_objectuiv_arb_ return i; } - -/***************************************************************************** - ** - ** xcb_glx_get_query_objectuiv_arb_reply_t * xcb_glx_get_query_objectuiv_arb_reply - ** - ** @param xcb_connection_t *c - ** @param xcb_glx_get_query_objectuiv_arb_cookie_t cookie - ** @param xcb_generic_error_t **e - ** @returns xcb_glx_get_query_objectuiv_arb_reply_t * - ** - *****************************************************************************/ - xcb_glx_get_query_objectuiv_arb_reply_t * xcb_glx_get_query_objectuiv_arb_reply (xcb_connection_t *c /**< */, xcb_glx_get_query_objectuiv_arb_cookie_t cookie /**< */, |