SysTutorials

Linux Manual Pages › Section 3

xcb_glx_create_new_context_checked(3)

xcb_glx_create_new_context –

Synopsis

#include <xcb/glx.h>
Request function
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);

Request Arguments

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.

Description

Return Value

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.

Errors

This request does never generate any errors.

See Also

Author

Generated from glx.xml. Contact xcb [at] lists.freedesktop.org for corrections and improvements.