xcb_glx_create_new_context -
#include <xcb/glx.h>
xcb_void_cookie_t
xcb_glx_create_new_context(xcb_connection_t *conn,
xcb_glx_context_t context,
xcb_glx_fbconfig_t fbconfig, uint32_t screen,
uint32_t render_type,
xcb_glx_context_t share_list,
uint8_t is_direct);
- conn
- The XCB connection to X11.
- context
- TODO: NOT YET DOCUMENTED.
- fbconfig
- TODO: NOT YET DOCUMENTED.
- screen
- TODO: NOT YET DOCUMENTED.
- render_type
- 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_new_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.