#include <xcb/glx.h>
xcb_void_cookie_t
xcb_glx_create_context(xcb_connection_t *conn,
xcb_glx_context_t context,
xcb_visualid_t visual, uint32_t screen,
xcb_glx_context_t share_list,
uint8_t is_direct);
- conn
- The XCB connection to X11.
- context
- TODO: NOT YET DOCUMENTED.
- visual
- TODO: NOT YET DOCUMENTED.
- screen
- TODO: NOT YET DOCUMENTED.
- share_list
- TODO: NOT YET DOCUMENTED.
- is_direct
- TODO: NOT YET DOCUMENTED.
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
event loop.
If you want to handle errors directly with
xcb_request_check instead, use xcb_glx_create_context_checked.
See xcb-requests(3) for details.
This request does never generate any errors.
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and
improvements.