* This file generated automatically from glx.xml by c_client.py.
* @defgroup XCB_Glx_API XCB Glx API
* @brief Glx XCB Protocol Implementation.
#define XCB_GLX_MAJOR_VERSION 1
#define XCB_GLX_MINOR_VERSION 4
extern xcb_extension_t xcb_glx_id;
typedef uint32_t xcb_glx_pixmap_t;
* @brief xcb_glx_pixmap_iterator_t
typedef struct xcb_glx_pixmap_iterator_t {
} xcb_glx_pixmap_iterator_t;
typedef uint32_t xcb_glx_context_t;
* @brief xcb_glx_context_iterator_t
typedef struct xcb_glx_context_iterator_t {
} xcb_glx_context_iterator_t;
typedef uint32_t xcb_glx_pbuffer_t;
* @brief xcb_glx_pbuffer_iterator_t
typedef struct xcb_glx_pbuffer_iterator_t {
} xcb_glx_pbuffer_iterator_t;
typedef uint32_t xcb_glx_window_t;
* @brief xcb_glx_window_iterator_t
typedef struct xcb_glx_window_iterator_t {
} xcb_glx_window_iterator_t;
typedef uint32_t xcb_glx_fbconfig_t;
* @brief xcb_glx_fbconfig_iterator_t
typedef struct xcb_glx_fbconfig_iterator_t {
xcb_glx_fbconfig_t *data;
} xcb_glx_fbconfig_iterator_t;
typedef uint32_t xcb_glx_drawable_t;
* @brief xcb_glx_drawable_iterator_t
typedef struct xcb_glx_drawable_iterator_t {
xcb_glx_drawable_t *data;
} xcb_glx_drawable_iterator_t;
typedef float xcb_glx_float32_t;
* @brief xcb_glx_float32_iterator_t
typedef struct xcb_glx_float32_iterator_t {
} xcb_glx_float32_iterator_t;
typedef double xcb_glx_float64_t;
* @brief xcb_glx_float64_iterator_t
typedef struct xcb_glx_float64_iterator_t {
} xcb_glx_float64_iterator_t;
typedef uint32_t xcb_glx_bool32_t;
* @brief xcb_glx_bool32_iterator_t
typedef struct xcb_glx_bool32_iterator_t {
} xcb_glx_bool32_iterator_t;
typedef uint32_t xcb_glx_context_tag_t;
* @brief xcb_glx_context_tag_iterator_t
typedef struct xcb_glx_context_tag_iterator_t {
xcb_glx_context_tag_t *data;
} xcb_glx_context_tag_iterator_t;
/** Opcode for xcb_glx_generic. */
#define XCB_GLX_GENERIC -1
* @brief xcb_glx_generic_error_t
typedef struct xcb_glx_generic_error_t {
} xcb_glx_generic_error_t;
/** Opcode for xcb_glx_bad_context. */
#define XCB_GLX_BAD_CONTEXT 0
typedef xcb_glx_generic_error_t xcb_glx_bad_context_error_t;
/** Opcode for xcb_glx_bad_context_state. */
#define XCB_GLX_BAD_CONTEXT_STATE 1
typedef xcb_glx_generic_error_t xcb_glx_bad_context_state_error_t;
/** Opcode for xcb_glx_bad_drawable. */
#define XCB_GLX_BAD_DRAWABLE 2
typedef xcb_glx_generic_error_t xcb_glx_bad_drawable_error_t;
/** Opcode for xcb_glx_bad_pixmap. */
#define XCB_GLX_BAD_PIXMAP 3
typedef xcb_glx_generic_error_t xcb_glx_bad_pixmap_error_t;
/** Opcode for xcb_glx_bad_context_tag. */
#define XCB_GLX_BAD_CONTEXT_TAG 4
typedef xcb_glx_generic_error_t xcb_glx_bad_context_tag_error_t;
/** Opcode for xcb_glx_bad_current_window. */
#define XCB_GLX_BAD_CURRENT_WINDOW 5
typedef xcb_glx_generic_error_t xcb_glx_bad_current_window_error_t;
/** Opcode for xcb_glx_bad_render_request. */
#define XCB_GLX_BAD_RENDER_REQUEST 6
typedef xcb_glx_generic_error_t xcb_glx_bad_render_request_error_t;
/** Opcode for xcb_glx_bad_large_request. */
#define XCB_GLX_BAD_LARGE_REQUEST 7
typedef xcb_glx_generic_error_t xcb_glx_bad_large_request_error_t;
/** Opcode for xcb_glx_unsupported_private_request. */
#define XCB_GLX_UNSUPPORTED_PRIVATE_REQUEST 8
typedef xcb_glx_generic_error_t xcb_glx_unsupported_private_request_error_t;
/** Opcode for xcb_glx_bad_fb_config. */
#define XCB_GLX_BAD_FB_CONFIG 9
typedef xcb_glx_generic_error_t xcb_glx_bad_fb_config_error_t;
/** Opcode for xcb_glx_bad_pbuffer. */
#define XCB_GLX_BAD_PBUFFER 10
typedef xcb_glx_generic_error_t xcb_glx_bad_pbuffer_error_t;
/** Opcode for xcb_glx_bad_current_drawable. */
#define XCB_GLX_BAD_CURRENT_DRAWABLE 11
typedef xcb_glx_generic_error_t xcb_glx_bad_current_drawable_error_t;
/** Opcode for xcb_glx_bad_window. */
#define XCB_GLX_BAD_WINDOW 12
typedef xcb_glx_generic_error_t xcb_glx_bad_window_error_t;
/** Opcode for xcb_glx_glx_bad_profile_arb. */
#define XCB_GLX_GLX_BAD_PROFILE_ARB 13
typedef xcb_glx_generic_error_t xcb_glx_glx_bad_profile_arb_error_t;
/** Opcode for xcb_glx_pbuffer_clobber. */
#define XCB_GLX_PBUFFER_CLOBBER 0
* @brief xcb_glx_pbuffer_clobber_event_t
typedef struct xcb_glx_pbuffer_clobber_event_t {
xcb_glx_drawable_t drawable;
} xcb_glx_pbuffer_clobber_event_t;
/** Opcode for xcb_glx_buffer_swap_complete. */
#define XCB_GLX_BUFFER_SWAP_COMPLETE 1
* @brief xcb_glx_buffer_swap_complete_event_t
typedef struct xcb_glx_buffer_swap_complete_event_t {
xcb_glx_drawable_t drawable;
} xcb_glx_buffer_swap_complete_event_t;
typedef enum xcb_glx_pbcet_t {
XCB_GLX_PBCET_DAMAGED = 32791,
XCB_GLX_PBCET_SAVED = 32792
typedef enum xcb_glx_pbcdt_t {
XCB_GLX_PBCDT_WINDOW = 32793,
XCB_GLX_PBCDT_PBUFFER = 32794
/** Opcode for xcb_glx_render. */
* @brief xcb_glx_render_request_t
typedef struct xcb_glx_render_request_t {
xcb_glx_context_tag_t context_tag;
} xcb_glx_render_request_t;
/** Opcode for xcb_glx_render_large. */
#define XCB_GLX_RENDER_LARGE 2
* @brief xcb_glx_render_large_request_t
typedef struct xcb_glx_render_large_request_t {
xcb_glx_context_tag_t context_tag;
} xcb_glx_render_large_request_t;
/** Opcode for xcb_glx_create_context. */
#define XCB_GLX_CREATE_CONTEXT 3
* @brief xcb_glx_create_context_request_t
typedef struct xcb_glx_create_context_request_t {
xcb_glx_context_t context;
xcb_glx_context_t share_list;
} xcb_glx_create_context_request_t;
/** Opcode for xcb_glx_destroy_context. */
#define XCB_GLX_DESTROY_CONTEXT 4
* @brief xcb_glx_destroy_context_request_t
typedef struct xcb_glx_destroy_context_request_t {
xcb_glx_context_t context;
} xcb_glx_destroy_context_request_t;
* @brief xcb_glx_make_current_cookie_t
typedef struct xcb_glx_make_current_cookie_t {
} xcb_glx_make_current_cookie_t;
/** Opcode for xcb_glx_make_current. */
#define XCB_GLX_MAKE_CURRENT 5
* @brief xcb_glx_make_current_request_t
typedef struct xcb_glx_make_current_request_t {
xcb_glx_drawable_t drawable;
xcb_glx_context_t context;
xcb_glx_context_tag_t old_context_tag;
} xcb_glx_make_current_request_t;
* @brief xcb_glx_make_current_reply_t
typedef struct xcb_glx_make_current_reply_t {
xcb_glx_context_tag_t context_tag;
} xcb_glx_make_current_reply_t;
* @brief xcb_glx_is_direct_cookie_t
typedef struct xcb_glx_is_direct_cookie_t {
} xcb_glx_is_direct_cookie_t;
/** Opcode for xcb_glx_is_direct. */
#define XCB_GLX_IS_DIRECT 6
* @brief xcb_glx_is_direct_request_t
typedef struct xcb_glx_is_direct_request_t {
xcb_glx_context_t context;
} xcb_glx_is_direct_request_t;
* @brief xcb_glx_is_direct_reply_t
typedef struct xcb_glx_is_direct_reply_t {
} xcb_glx_is_direct_reply_t;
* @brief xcb_glx_query_version_cookie_t
typedef struct xcb_glx_query_version_cookie_t {
} xcb_glx_query_version_cookie_t;
/** Opcode for xcb_glx_query_version. */
#define XCB_GLX_QUERY_VERSION 7
* @brief xcb_glx_query_version_request_t
typedef struct xcb_glx_query_version_request_t {
} xcb_glx_query_version_request_t;
* @brief xcb_glx_query_version_reply_t
typedef struct xcb_glx_query_version_reply_t {
} xcb_glx_query_version_reply_t;
/** Opcode for xcb_glx_wait_gl. */
#define XCB_GLX_WAIT_GL 8
* @brief xcb_glx_wait_gl_request_t
typedef struct xcb_glx_wait_gl_request_t {
xcb_glx_context_tag_t context_tag;
} xcb_glx_wait_gl_request_t;
/** Opcode for xcb_glx_wait_x. */
* @brief xcb_glx_wait_x_request_t
typedef struct xcb_glx_wait_x_request_t {
xcb_glx_context_tag_t context_tag;
} xcb_glx_wait_x_request_t;
/** Opcode for xcb_glx_copy_context. */
#define XCB_GLX_COPY_CONTEXT 10
* @brief xcb_glx_copy_context_request_t
typedef struct xcb_glx_copy_context_request_t {
xcb_glx_context_tag_t src_context_tag;
} xcb_glx_copy_context_request_t;
typedef enum xcb_glx_gc_t {
XCB_GLX_GC_GL_CURRENT_BIT = 1,
XCB_GLX_GC_GL_POINT_BIT = 2,
XCB_GLX_GC_GL_LINE_BIT = 4,
XCB_GLX_GC_GL_POLYGON_BIT = 8,
XCB_GLX_GC_GL_POLYGON_STIPPLE_BIT = 16,
XCB_GLX_GC_GL_PIXEL_MODE_BIT = 32,
XCB_GLX_GC_GL_LIGHTING_BIT = 64,
XCB_GLX_GC_GL_FOG_BIT = 128,
XCB_GLX_GC_GL_DEPTH_BUFFER_BIT = 256,
XCB_GLX_GC_GL_ACCUM_BUFFER_BIT = 512,
XCB_GLX_GC_GL_STENCIL_BUFFER_BIT = 1024,
XCB_GLX_GC_GL_VIEWPORT_BIT = 2048,
XCB_GLX_GC_GL_TRANSFORM_BIT = 4096,
XCB_GLX_GC_GL_ENABLE_BIT = 8192,
XCB_GLX_GC_GL_COLOR_BUFFER_BIT = 16384,
XCB_GLX_GC_GL_HINT_BIT = 32768,
XCB_GLX_GC_GL_EVAL_BIT = 65536,
XCB_GLX_GC_GL_LIST_BIT = 131072,
XCB_GLX_GC_GL_TEXTURE_BIT = 262144,
XCB_GLX_GC_GL_SCISSOR_BIT = 524288,
XCB_GLX_GC_GL_ALL_ATTRIB_BITS = 16777215