xcb.dri2

@defgroup XCB_DRI2_API XCB DRI2 API @brief DRI2 XCB Protocol Implementation. @{

Members

Functions

xcb_dri2_attach_format_end
xcb_generic_iterator_t xcb_dri2_attach_format_end(xcb_dri2_attach_format_iterator_t i)

Return the iterator pointing to the last element @param i An xcb_dri2_attach_format_iterator_t @return The iterator pointing to the last element

xcb_dri2_attach_format_next
void xcb_dri2_attach_format_next(xcb_dri2_attach_format_iterator_t* i)

Get the next element of the iterator @param i Pointer to a xcb_dri2_attach_format_iterator_t

xcb_dri2_authenticate
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate(xcb_connection_t* c, xcb_window_t window, uint magic)

@param c The connection @return A cookie

xcb_dri2_authenticate_reply
xcb_dri2_authenticate_reply_t* xcb_dri2_authenticate_reply(xcb_connection_t* c, xcb_dri2_authenticate_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_authenticate_unchecked
xcb_dri2_authenticate_cookie_t xcb_dri2_authenticate_unchecked(xcb_connection_t* c, xcb_window_t window, uint magic)

@param c The connection @return A cookie

xcb_dri2_connect
xcb_dri2_connect_cookie_t xcb_dri2_connect(xcb_connection_t* c, xcb_window_t window, uint driver_type)

@param c The connection @return A cookie

xcb_dri2_connect_reply
xcb_dri2_connect_reply_t* xcb_dri2_connect_reply(xcb_connection_t* c, xcb_dri2_connect_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_connect_unchecked
xcb_dri2_connect_cookie_t xcb_dri2_connect_unchecked(xcb_connection_t* c, xcb_window_t window, uint driver_type)

@param c The connection @return A cookie

xcb_dri2_copy_region
xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region(xcb_connection_t* c, xcb_drawable_t drawable, uint region, uint dest, uint src)

@param c The connection @return A cookie

xcb_dri2_copy_region_reply
xcb_dri2_copy_region_reply_t* xcb_dri2_copy_region_reply(xcb_connection_t* c, xcb_dri2_copy_region_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_copy_region_unchecked
xcb_dri2_copy_region_cookie_t xcb_dri2_copy_region_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint region, uint dest, uint src)

@param c The connection @return A cookie

xcb_dri2_create_drawable
xcb_void_cookie_t xcb_dri2_create_drawable(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_create_drawable_checked
xcb_void_cookie_t xcb_dri2_create_drawable_checked(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_destroy_drawable
xcb_void_cookie_t xcb_dri2_destroy_drawable(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_destroy_drawable_checked
xcb_void_cookie_t xcb_dri2_destroy_drawable_checked(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_dri2_buffer_end
xcb_generic_iterator_t xcb_dri2_dri2_buffer_end(xcb_dri2_dri2_buffer_iterator_t i)

Return the iterator pointing to the last element @param i An xcb_dri2_dri2_buffer_iterator_t @return The iterator pointing to the last element

xcb_dri2_dri2_buffer_next
void xcb_dri2_dri2_buffer_next(xcb_dri2_dri2_buffer_iterator_t* i)

Get the next element of the iterator @param i Pointer to a xcb_dri2_dri2_buffer_iterator_t

xcb_dri2_get_buffers
xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers(xcb_connection_t* c, xcb_drawable_t drawable, uint count, uint attachments_len, const uint* attachments)

@param c The connection @return A cookie

xcb_dri2_get_buffers_reply
xcb_dri2_get_buffers_reply_t* xcb_dri2_get_buffers_reply(xcb_connection_t* c, xcb_dri2_get_buffers_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_get_buffers_unchecked
xcb_dri2_get_buffers_cookie_t xcb_dri2_get_buffers_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint count, uint attachments_len, const uint* attachments)

@param c The connection @return A cookie

xcb_dri2_get_buffers_with_format
xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format(xcb_connection_t* c, xcb_drawable_t drawable, uint count, uint attachments_len, const xcb_dri2_attach_format_t* attachments)

@param c The connection @return A cookie

xcb_dri2_get_buffers_with_format_reply
xcb_dri2_get_buffers_with_format_reply_t* xcb_dri2_get_buffers_with_format_reply(xcb_connection_t* c, xcb_dri2_get_buffers_with_format_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_get_buffers_with_format_unchecked
xcb_dri2_get_buffers_with_format_cookie_t xcb_dri2_get_buffers_with_format_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint count, uint attachments_len, const xcb_dri2_attach_format_t* attachments)

@param c The connection @return A cookie

xcb_dri2_get_msc
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_get_msc_reply
xcb_dri2_get_msc_reply_t* xcb_dri2_get_msc_reply(xcb_connection_t* c, xcb_dri2_get_msc_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_get_msc_unchecked
xcb_dri2_get_msc_cookie_t xcb_dri2_get_msc_unchecked(xcb_connection_t* c, xcb_drawable_t drawable)

@param c The connection @return A cookie

xcb_dri2_get_param
xcb_dri2_get_param_cookie_t xcb_dri2_get_param(xcb_connection_t* c, xcb_drawable_t drawable, uint param)

@param c The connection @return A cookie

xcb_dri2_get_param_reply
xcb_dri2_get_param_reply_t* xcb_dri2_get_param_reply(xcb_connection_t* c, xcb_dri2_get_param_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_get_param_unchecked
xcb_dri2_get_param_cookie_t xcb_dri2_get_param_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint param)

@param c The connection @return A cookie

xcb_dri2_query_version
xcb_dri2_query_version_cookie_t xcb_dri2_query_version(xcb_connection_t* c, uint major_version, uint minor_version)

@param c The connection @return A cookie

xcb_dri2_query_version_reply
xcb_dri2_query_version_reply_t* xcb_dri2_query_version_reply(xcb_connection_t* c, xcb_dri2_query_version_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_query_version_unchecked
xcb_dri2_query_version_cookie_t xcb_dri2_query_version_unchecked(xcb_connection_t* c, uint major_version, uint minor_version)

@param c The connection @return A cookie

xcb_dri2_swap_buffers
xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers(xcb_connection_t* c, xcb_drawable_t drawable, uint target_msc_hi, uint target_msc_lo, uint divisor_hi, uint divisor_lo, uint remainder_hi, uint remainder_lo)

@param c The connection @return A cookie

xcb_dri2_swap_buffers_reply
xcb_dri2_swap_buffers_reply_t* xcb_dri2_swap_buffers_reply(xcb_connection_t* c, xcb_dri2_swap_buffers_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_swap_buffers_unchecked
xcb_dri2_swap_buffers_cookie_t xcb_dri2_swap_buffers_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint target_msc_hi, uint target_msc_lo, uint divisor_hi, uint divisor_lo, uint remainder_hi, uint remainder_lo)

@param c The connection @return A cookie

xcb_dri2_swap_interval
xcb_void_cookie_t xcb_dri2_swap_interval(xcb_connection_t* c, xcb_drawable_t drawable, uint interval)

@param c The connection @return A cookie

xcb_dri2_swap_interval_checked
xcb_void_cookie_t xcb_dri2_swap_interval_checked(xcb_connection_t* c, xcb_drawable_t drawable, uint interval)

@param c The connection @return A cookie

xcb_dri2_wait_msc
xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc(xcb_connection_t* c, xcb_drawable_t drawable, uint target_msc_hi, uint target_msc_lo, uint divisor_hi, uint divisor_lo, uint remainder_hi, uint remainder_lo)

@param c The connection @return A cookie

xcb_dri2_wait_msc_reply
xcb_dri2_wait_msc_reply_t* xcb_dri2_wait_msc_reply(xcb_connection_t* c, xcb_dri2_wait_msc_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_wait_msc_unchecked
xcb_dri2_wait_msc_cookie_t xcb_dri2_wait_msc_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint target_msc_hi, uint target_msc_lo, uint divisor_hi, uint divisor_lo, uint remainder_hi, uint remainder_lo)

@param c The connection @return A cookie

xcb_dri2_wait_sbc
xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc(xcb_connection_t* c, xcb_drawable_t drawable, uint target_sbc_hi, uint target_sbc_lo)

@param c The connection @return A cookie

xcb_dri2_wait_sbc_reply
xcb_dri2_wait_sbc_reply_t* xcb_dri2_wait_sbc_reply(xcb_connection_t* c, xcb_dri2_wait_sbc_cookie_t cookie, xcb_generic_error_t** e)

Return the reply @param c The connection @param cookie The cookie @param e The xcb_generic_error_t supplied

xcb_dri2_wait_sbc_unchecked
xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc_unchecked(xcb_connection_t* c, xcb_drawable_t drawable, uint target_sbc_hi, uint target_sbc_lo)

@param c The connection @return A cookie

Manifest constants

XCB_DRI2_AUTHENTICATE
enum XCB_DRI2_AUTHENTICATE;

Opcode for xcb_dri2_authenticate.

XCB_DRI2_BUFFER_SWAP_COMPLETE
enum XCB_DRI2_BUFFER_SWAP_COMPLETE;

Opcode for xcb_dri2_buffer_swap_complete.

XCB_DRI2_CONNECT
enum XCB_DRI2_CONNECT;

Opcode for xcb_dri2_connect.

XCB_DRI2_COPY_REGION
enum XCB_DRI2_COPY_REGION;

Opcode for xcb_dri2_copy_region.

XCB_DRI2_CREATE_DRAWABLE
enum XCB_DRI2_CREATE_DRAWABLE;

Opcode for xcb_dri2_create_drawable.

XCB_DRI2_DESTROY_DRAWABLE
enum XCB_DRI2_DESTROY_DRAWABLE;

Opcode for xcb_dri2_destroy_drawable.

XCB_DRI2_GET_BUFFERS
enum XCB_DRI2_GET_BUFFERS;

Opcode for xcb_dri2_get_buffers.

XCB_DRI2_GET_BUFFERS_WITH_FORMAT
enum XCB_DRI2_GET_BUFFERS_WITH_FORMAT;

Opcode for xcb_dri2_get_buffers_with_format.

XCB_DRI2_GET_MSC
enum XCB_DRI2_GET_MSC;

Opcode for xcb_dri2_get_msc.

XCB_DRI2_GET_PARAM
enum XCB_DRI2_GET_PARAM;

Opcode for xcb_dri2_get_param.

XCB_DRI2_INVALIDATE_BUFFERS
enum XCB_DRI2_INVALIDATE_BUFFERS;

Opcode for xcb_dri2_invalidate_buffers.

XCB_DRI2_QUERY_VERSION
enum XCB_DRI2_QUERY_VERSION;

Opcode for xcb_dri2_query_version.

XCB_DRI2_SWAP_BUFFERS
enum XCB_DRI2_SWAP_BUFFERS;

Opcode for xcb_dri2_swap_buffers.

XCB_DRI2_SWAP_INTERVAL
enum XCB_DRI2_SWAP_INTERVAL;

Opcode for xcb_dri2_swap_interval.

XCB_DRI2_WAIT_MSC
enum XCB_DRI2_WAIT_MSC;

Opcode for xcb_dri2_wait_msc.

XCB_DRI2_WAIT_SBC
enum XCB_DRI2_WAIT_SBC;

Opcode for xcb_dri2_wait_sbc.

Structs

xcb_dri2_attach_format_iterator_t
struct xcb_dri2_attach_format_iterator_t

@brief xcb_dri2_attach_format_iterator_t

xcb_dri2_attach_format_t
struct xcb_dri2_attach_format_t

@brief xcb_dri2_attach_format_t

xcb_dri2_authenticate_cookie_t
struct xcb_dri2_authenticate_cookie_t

@brief xcb_dri2_authenticate_cookie_t

xcb_dri2_authenticate_reply_t
struct xcb_dri2_authenticate_reply_t

@brief xcb_dri2_authenticate_reply_t

xcb_dri2_authenticate_request_t
struct xcb_dri2_authenticate_request_t

@brief xcb_dri2_authenticate_request_t

xcb_dri2_buffer_swap_complete_event_t
struct xcb_dri2_buffer_swap_complete_event_t

@brief xcb_dri2_buffer_swap_complete_event_t

xcb_dri2_connect_cookie_t
struct xcb_dri2_connect_cookie_t

@brief xcb_dri2_connect_cookie_t

xcb_dri2_connect_reply_t
struct xcb_dri2_connect_reply_t

@brief xcb_dri2_connect_reply_t

xcb_dri2_connect_request_t
struct xcb_dri2_connect_request_t

@brief xcb_dri2_connect_request_t

xcb_dri2_copy_region_cookie_t
struct xcb_dri2_copy_region_cookie_t

@brief xcb_dri2_copy_region_cookie_t

xcb_dri2_copy_region_reply_t
struct xcb_dri2_copy_region_reply_t

@brief xcb_dri2_copy_region_reply_t

xcb_dri2_copy_region_request_t
struct xcb_dri2_copy_region_request_t

@brief xcb_dri2_copy_region_request_t

xcb_dri2_create_drawable_request_t
struct xcb_dri2_create_drawable_request_t

@brief xcb_dri2_create_drawable_request_t

xcb_dri2_destroy_drawable_request_t
struct xcb_dri2_destroy_drawable_request_t

@brief xcb_dri2_destroy_drawable_request_t

xcb_dri2_dri2_buffer_iterator_t
struct xcb_dri2_dri2_buffer_iterator_t

@brief xcb_dri2_dri2_buffer_iterator_t

xcb_dri2_dri2_buffer_t
struct xcb_dri2_dri2_buffer_t

@brief xcb_dri2_dri2_buffer_t

xcb_dri2_get_buffers_cookie_t
struct xcb_dri2_get_buffers_cookie_t

@brief xcb_dri2_get_buffers_cookie_t

xcb_dri2_get_buffers_reply_t
struct xcb_dri2_get_buffers_reply_t

@brief xcb_dri2_get_buffers_reply_t

xcb_dri2_get_buffers_request_t
struct xcb_dri2_get_buffers_request_t

@brief xcb_dri2_get_buffers_request_t

xcb_dri2_get_buffers_with_format_cookie_t
struct xcb_dri2_get_buffers_with_format_cookie_t

@brief xcb_dri2_get_buffers_with_format_cookie_t

xcb_dri2_get_buffers_with_format_reply_t
struct xcb_dri2_get_buffers_with_format_reply_t

@brief xcb_dri2_get_buffers_with_format_reply_t

xcb_dri2_get_buffers_with_format_request_t
struct xcb_dri2_get_buffers_with_format_request_t

@brief xcb_dri2_get_buffers_with_format_request_t

xcb_dri2_get_msc_cookie_t
struct xcb_dri2_get_msc_cookie_t

@brief xcb_dri2_get_msc_cookie_t

xcb_dri2_get_msc_reply_t
struct xcb_dri2_get_msc_reply_t

@brief xcb_dri2_get_msc_reply_t

xcb_dri2_get_msc_request_t
struct xcb_dri2_get_msc_request_t

@brief xcb_dri2_get_msc_request_t

xcb_dri2_get_param_cookie_t
struct xcb_dri2_get_param_cookie_t

@brief xcb_dri2_get_param_cookie_t

xcb_dri2_get_param_reply_t
struct xcb_dri2_get_param_reply_t

@brief xcb_dri2_get_param_reply_t

xcb_dri2_get_param_request_t
struct xcb_dri2_get_param_request_t

@brief xcb_dri2_get_param_request_t

xcb_dri2_invalidate_buffers_event_t
struct xcb_dri2_invalidate_buffers_event_t

@brief xcb_dri2_invalidate_buffers_event_t

xcb_dri2_query_version_cookie_t
struct xcb_dri2_query_version_cookie_t

@brief xcb_dri2_query_version_cookie_t

xcb_dri2_query_version_reply_t
struct xcb_dri2_query_version_reply_t

@brief xcb_dri2_query_version_reply_t

xcb_dri2_query_version_request_t
struct xcb_dri2_query_version_request_t

@brief xcb_dri2_query_version_request_t

xcb_dri2_swap_buffers_cookie_t
struct xcb_dri2_swap_buffers_cookie_t

@brief xcb_dri2_swap_buffers_cookie_t

xcb_dri2_swap_buffers_reply_t
struct xcb_dri2_swap_buffers_reply_t

@brief xcb_dri2_swap_buffers_reply_t

xcb_dri2_swap_buffers_request_t
struct xcb_dri2_swap_buffers_request_t

@brief xcb_dri2_swap_buffers_request_t

xcb_dri2_swap_interval_request_t
struct xcb_dri2_swap_interval_request_t

@brief xcb_dri2_swap_interval_request_t

xcb_dri2_wait_msc_cookie_t
struct xcb_dri2_wait_msc_cookie_t

@brief xcb_dri2_wait_msc_cookie_t

xcb_dri2_wait_msc_reply_t
struct xcb_dri2_wait_msc_reply_t

@brief xcb_dri2_wait_msc_reply_t

xcb_dri2_wait_msc_request_t
struct xcb_dri2_wait_msc_request_t

@brief xcb_dri2_wait_msc_request_t

xcb_dri2_wait_sbc_cookie_t
struct xcb_dri2_wait_sbc_cookie_t

@brief xcb_dri2_wait_sbc_cookie_t

xcb_dri2_wait_sbc_reply_t
struct xcb_dri2_wait_sbc_reply_t

@brief xcb_dri2_wait_sbc_reply_t

xcb_dri2_wait_sbc_request_t
struct xcb_dri2_wait_sbc_request_t

@brief xcb_dri2_wait_sbc_request_t

Meta