regen for xcb-proto 1.6
This commit is contained in:
parent
95a472f8b7
commit
57a2ac348a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2009/05/22 20:27:21 matthieu Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/04/18 19:58:53 matthieu Exp $
|
||||
|
||||
DATADIR= ${X11BASE}/share
|
||||
PYTHON= python${PYTHON_VERSION}
|
||||
@ -9,6 +9,7 @@ SRCS= \
|
||||
composite.c \
|
||||
damage.c \
|
||||
dpms.c \
|
||||
dri2.c \
|
||||
glx.c \
|
||||
randr.c \
|
||||
record.c \
|
||||
|
1075
lib/libxcb/src/dri2.c
Normal file
1075
lib/libxcb/src/dri2.c
Normal file
File diff suppressed because it is too large
Load Diff
1186
lib/libxcb/src/dri2.h
Normal file
1186
lib/libxcb/src/dri2.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -303,6 +303,7 @@ typedef struct xcb_shape_get_rectangles_reply_t {
|
||||
uint16_t sequence; /**< */
|
||||
uint32_t length; /**< */
|
||||
uint32_t rectangles_len; /**< */
|
||||
uint8_t pad0[20]; /**< */
|
||||
} xcb_shape_get_rectangles_reply_t;
|
||||
|
||||
/**
|
||||
|
@ -592,8 +592,8 @@ xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t
|
||||
** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context
|
||||
**
|
||||
** @param xcb_connection_t *c
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t screen
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t context
|
||||
** @returns xcb_xf86dri_create_context_cookie_t
|
||||
**
|
||||
@ -601,8 +601,8 @@ xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t
|
||||
|
||||
xcb_xf86dri_create_context_cookie_t
|
||||
xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t screen /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t context /**< */)
|
||||
{
|
||||
static const xcb_protocol_request_t xcb_req = {
|
||||
@ -616,8 +616,8 @@ xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
xcb_xf86dri_create_context_cookie_t xcb_ret;
|
||||
xcb_xf86dri_create_context_request_t xcb_out;
|
||||
|
||||
xcb_out.visual = visual;
|
||||
xcb_out.screen = screen;
|
||||
xcb_out.visual = visual;
|
||||
xcb_out.context = context;
|
||||
|
||||
xcb_parts[2].iov_base = (char *) &xcb_out;
|
||||
@ -634,8 +634,8 @@ xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked
|
||||
**
|
||||
** @param xcb_connection_t *c
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t screen
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t context
|
||||
** @returns xcb_xf86dri_create_context_cookie_t
|
||||
**
|
||||
@ -643,8 +643,8 @@ xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
|
||||
xcb_xf86dri_create_context_cookie_t
|
||||
xcb_xf86dri_create_context_unchecked (xcb_connection_t *c /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t screen /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t context /**< */)
|
||||
{
|
||||
static const xcb_protocol_request_t xcb_req = {
|
||||
@ -658,8 +658,8 @@ xcb_xf86dri_create_context_unchecked (xcb_connection_t *c /**< */,
|
||||
xcb_xf86dri_create_context_cookie_t xcb_ret;
|
||||
xcb_xf86dri_create_context_request_t xcb_out;
|
||||
|
||||
xcb_out.visual = visual;
|
||||
xcb_out.screen = screen;
|
||||
xcb_out.visual = visual;
|
||||
xcb_out.context = context;
|
||||
|
||||
xcb_parts[2].iov_base = (char *) &xcb_out;
|
||||
|
@ -133,8 +133,6 @@ typedef struct xcb_xf86dri_open_connection_reply_t {
|
||||
uint8_t pad0; /**< */
|
||||
uint16_t sequence; /**< */
|
||||
uint32_t length; /**< */
|
||||
uint32_t drm_client_key_low; /**< */
|
||||
uint32_t drm_client_key_high; /**< */
|
||||
uint32_t sarea_handle_low; /**< */
|
||||
uint32_t sarea_handle_high; /**< */
|
||||
uint32_t bus_id_len; /**< */
|
||||
@ -206,8 +204,8 @@ typedef struct xcb_xf86dri_create_context_request_t {
|
||||
uint8_t major_opcode; /**< */
|
||||
uint8_t minor_opcode; /**< */
|
||||
uint16_t length; /**< */
|
||||
uint32_t visual; /**< */
|
||||
uint32_t screen; /**< */
|
||||
uint32_t visual; /**< */
|
||||
uint32_t context; /**< */
|
||||
} xcb_xf86dri_create_context_request_t;
|
||||
|
||||
@ -889,8 +887,8 @@ xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t
|
||||
** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context
|
||||
**
|
||||
** @param xcb_connection_t *c
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t screen
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t context
|
||||
** @returns xcb_xf86dri_create_context_cookie_t
|
||||
**
|
||||
@ -898,8 +896,8 @@ xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t
|
||||
|
||||
xcb_xf86dri_create_context_cookie_t
|
||||
xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t screen /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t context /**< */);
|
||||
|
||||
/**
|
||||
@ -919,8 +917,8 @@ xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked
|
||||
**
|
||||
** @param xcb_connection_t *c
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t screen
|
||||
** @param uint32_t visual
|
||||
** @param uint32_t context
|
||||
** @returns xcb_xf86dri_create_context_cookie_t
|
||||
**
|
||||
@ -928,8 +926,8 @@ xcb_xf86dri_create_context (xcb_connection_t *c /**< */,
|
||||
|
||||
xcb_xf86dri_create_context_cookie_t
|
||||
xcb_xf86dri_create_context_unchecked (xcb_connection_t *c /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t screen /**< */,
|
||||
uint32_t visual /**< */,
|
||||
uint32_t context /**< */);
|
||||
|
||||
/**
|
||||
|
@ -1786,7 +1786,7 @@ xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R /*
|
||||
int
|
||||
xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R /**< */)
|
||||
{
|
||||
return R->length;
|
||||
return (R->length / 2);
|
||||
}
|
||||
|
||||
|
||||
@ -1804,7 +1804,7 @@ xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply
|
||||
{
|
||||
xcb_rectangle_iterator_t i;
|
||||
i.data = (xcb_rectangle_t *) (R + 1);
|
||||
i.rem = R->length;
|
||||
i.rem = (R->length / 2);
|
||||
i.index = (char *) i.data - (char *) R;
|
||||
return i;
|
||||
}
|
||||
|
@ -1004,7 +1004,76 @@ typedef enum xcb_time_t {
|
||||
} xcb_time_t;
|
||||
|
||||
typedef enum xcb_atom_enum_t {
|
||||
XCB_ATOM_NONE = 0
|
||||
XCB_ATOM_NONE = 0,
|
||||
XCB_ATOM_ANY = 0,
|
||||
XCB_ATOM_PRIMARY,
|
||||
XCB_ATOM_SECONDARY,
|
||||
XCB_ATOM_ARC,
|
||||
XCB_ATOM_ATOM,
|
||||
XCB_ATOM_BITMAP,
|
||||
XCB_ATOM_CARDINAL,
|
||||
XCB_ATOM_COLORMAP,
|
||||
XCB_ATOM_CURSOR,
|
||||
XCB_ATOM_CUT_BUFFER0,
|
||||
XCB_ATOM_CUT_BUFFER1,
|
||||
XCB_ATOM_CUT_BUFFER2,
|
||||
XCB_ATOM_CUT_BUFFER3,
|
||||
XCB_ATOM_CUT_BUFFER4,
|
||||
XCB_ATOM_CUT_BUFFER5,
|
||||
XCB_ATOM_CUT_BUFFER6,
|
||||
XCB_ATOM_CUT_BUFFER7,
|
||||
XCB_ATOM_DRAWABLE,
|
||||
XCB_ATOM_FONT,
|
||||
XCB_ATOM_INTEGER,
|
||||
XCB_ATOM_PIXMAP,
|
||||
XCB_ATOM_POINT,
|
||||
XCB_ATOM_RECTANGLE,
|
||||
XCB_ATOM_RESOURCE_MANAGER,
|
||||
XCB_ATOM_RGB_COLOR_MAP,
|
||||
XCB_ATOM_RGB_BEST_MAP,
|
||||
XCB_ATOM_RGB_BLUE_MAP,
|
||||
XCB_ATOM_RGB_DEFAULT_MAP,
|
||||
XCB_ATOM_RGB_GRAY_MAP,
|
||||
XCB_ATOM_RGB_GREEN_MAP,
|
||||
XCB_ATOM_RGB_RED_MAP,
|
||||
XCB_ATOM_STRING,
|
||||
XCB_ATOM_VISUALID,
|
||||
XCB_ATOM_WINDOW,
|
||||
XCB_ATOM_WM_COMMAND,
|
||||
XCB_ATOM_WM_HINTS,
|
||||
XCB_ATOM_WM_CLIENT_MACHINE,
|
||||
XCB_ATOM_WM_ICON_NAME,
|
||||
XCB_ATOM_WM_ICON_SIZE,
|
||||
XCB_ATOM_WM_NAME,
|
||||
XCB_ATOM_WM_NORMAL_HINTS,
|
||||
XCB_ATOM_WM_SIZE_HINTS,
|
||||
XCB_ATOM_WM_ZOOM_HINTS,
|
||||
XCB_ATOM_MIN_SPACE,
|
||||
XCB_ATOM_NORM_SPACE,
|
||||
XCB_ATOM_MAX_SPACE,
|
||||
XCB_ATOM_END_SPACE,
|
||||
XCB_ATOM_SUPERSCRIPT_X,
|
||||
XCB_ATOM_SUPERSCRIPT_Y,
|
||||
XCB_ATOM_SUBSCRIPT_X,
|
||||
XCB_ATOM_SUBSCRIPT_Y,
|
||||
XCB_ATOM_UNDERLINE_POSITION,
|
||||
XCB_ATOM_UNDERLINE_THICKNESS,
|
||||
XCB_ATOM_STRIKEOUT_ASCENT,
|
||||
XCB_ATOM_STRIKEOUT_DESCENT,
|
||||
XCB_ATOM_ITALIC_ANGLE,
|
||||
XCB_ATOM_X_HEIGHT,
|
||||
XCB_ATOM_QUAD_WIDTH,
|
||||
XCB_ATOM_WEIGHT,
|
||||
XCB_ATOM_POINT_SIZE,
|
||||
XCB_ATOM_RESOLUTION,
|
||||
XCB_ATOM_COPYRIGHT,
|
||||
XCB_ATOM_NOTICE,
|
||||
XCB_ATOM_FONT_NAME,
|
||||
XCB_ATOM_FAMILY_NAME,
|
||||
XCB_ATOM_FULL_NAME,
|
||||
XCB_ATOM_CAP_HEIGHT,
|
||||
XCB_ATOM_WM_CLASS,
|
||||
XCB_ATOM_WM_TRANSIENT_FOR
|
||||
} xcb_atom_enum_t;
|
||||
|
||||
/** Opcode for xcb_selection_request. */
|
||||
|
Loading…
Reference in New Issue
Block a user