Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/libxcb update for libxcb 1.11.
details: https://anonhg.NetBSD.org/src/rev/1fcaf74d5ffb
branches: trunk
changeset: 339441:1fcaf74d5ffb
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jul 23 01:06:32 2015 +0000
description:
update for libxcb 1.11.
diffstat:
external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs | 10 +-
external/mit/xorg/lib/libxcb/files/bigreq.c | 48 +-
external/mit/xorg/lib/libxcb/files/bigreq.h | 40 +-
external/mit/xorg/lib/libxcb/files/composite.c | 382 +-
external/mit/xorg/lib/libxcb/files/composite.h | 280 +-
external/mit/xorg/lib/libxcb/files/damage.c | 236 +-
external/mit/xorg/lib/libxcb/files/damage.h | 180 +-
external/mit/xorg/lib/libxcb/files/dpms.c | 348 +-
external/mit/xorg/lib/libxcb/files/dpms.h | 262 +-
external/mit/xorg/lib/libxcb/files/dri2.c | 910 +-
external/mit/xorg/lib/libxcb/files/dri2.h | 766 +-
external/mit/xorg/lib/libxcb/files/dri3.c | 337 +-
external/mit/xorg/lib/libxcb/files/dri3.h | 281 +-
external/mit/xorg/lib/libxcb/files/glx.c | 9712 +++-------------
external/mit/xorg/lib/libxcb/files/glx.h | 6034 +---------
external/mit/xorg/lib/libxcb/files/present.c | 300 +-
external/mit/xorg/lib/libxcb/files/present.h | 250 +-
external/mit/xorg/lib/libxcb/files/randr.c | 3342 +-----
external/mit/xorg/lib/libxcb/files/randr.h | 2912 +----
external/mit/xorg/lib/libxcb/files/record.c | 606 +-
external/mit/xorg/lib/libxcb/files/record.h | 518 +-
external/mit/xorg/lib/libxcb/files/render.c | 2092 +---
external/mit/xorg/lib/libxcb/files/render.h | 1730 +--
external/mit/xorg/lib/libxcb/files/res.c | 606 +-
external/mit/xorg/lib/libxcb/files/res.h | 548 +-
external/mit/xorg/lib/libxcb/files/screensaver.c | 276 +-
external/mit/xorg/lib/libxcb/files/screensaver.h | 210 +-
external/mit/xorg/lib/libxcb/files/shape.c | 504 +-
external/mit/xorg/lib/libxcb/files/shape.h | 406 +-
external/mit/xorg/lib/libxcb/files/shm.c | 437 +-
external/mit/xorg/lib/libxcb/files/shm.h | 351 +-
external/mit/xorg/lib/libxcb/files/sync.c | 1146 +-
external/mit/xorg/lib/libxcb/files/sync.h | 880 +-
external/mit/xorg/lib/libxcb/files/xc_misc.c | 180 +-
external/mit/xorg/lib/libxcb/files/xc_misc.h | 152 +-
external/mit/xorg/lib/libxcb/files/xcb.h | 562 -
external/mit/xorg/lib/libxcb/files/xcb_auth.c | 379 -
external/mit/xorg/lib/libxcb/files/xcb_conn.c | 498 -
external/mit/xorg/lib/libxcb/files/xcb_ext.c | 131 -
external/mit/xorg/lib/libxcb/files/xcb_in.c | 987 -
external/mit/xorg/lib/libxcb/files/xcb_list.c | 105 -
external/mit/xorg/lib/libxcb/files/xcb_out.c | 400 -
external/mit/xorg/lib/libxcb/files/xcb_util.c | 488 -
external/mit/xorg/lib/libxcb/files/xcb_windefs.h | 45 -
external/mit/xorg/lib/libxcb/files/xcb_xid.c | 101 -
external/mit/xorg/lib/libxcb/files/xcbext.h | 106 -
external/mit/xorg/lib/libxcb/files/xcbint.h | 226 -
external/mit/xorg/lib/libxcb/files/xevie.c | 274 +-
external/mit/xorg/lib/libxcb/files/xevie.h | 226 +-
external/mit/xorg/lib/libxcb/files/xf86dri.c | 746 +-
external/mit/xorg/lib/libxcb/files/xf86dri.h | 622 +-
external/mit/xorg/lib/libxcb/files/xfixes.c | 1612 +--
external/mit/xorg/lib/libxcb/files/xfixes.h | 1228 +--
external/mit/xorg/lib/libxcb/files/xinerama.c | 350 +-
external/mit/xorg/lib/libxcb/files/xinerama.h | 292 +-
external/mit/xorg/lib/libxcb/files/xinput.c | 6533 +---------
external/mit/xorg/lib/libxcb/files/xinput.h | 5309 +--------
external/mit/xorg/lib/libxcb/files/xkb.c | 5792 +---------
external/mit/xorg/lib/libxcb/files/xkb.h | 5253 +---------
external/mit/xorg/lib/libxcb/files/xprint.c | 1479 +--
external/mit/xorg/lib/libxcb/files/xprint.h | 1181 +-
external/mit/xorg/lib/libxcb/files/xproto.c | 10252 ++++-------------
external/mit/xorg/lib/libxcb/files/xproto.h | 6088 +---------
external/mit/xorg/lib/libxcb/files/xselinux.c | 1584 +--
external/mit/xorg/lib/libxcb/files/xselinux.h | 1342 +--
external/mit/xorg/lib/libxcb/files/xtest.c | 192 +-
external/mit/xorg/lib/libxcb/files/xtest.h | 150 +-
external/mit/xorg/lib/libxcb/files/xv.c | 1593 +--
external/mit/xorg/lib/libxcb/files/xv.h | 1360 +--
external/mit/xorg/lib/libxcb/files/xvmc.c | 666 +-
external/mit/xorg/lib/libxcb/files/xvmc.h | 572 +-
external/mit/xorg/lib/libxcb/libxcb/Makefile | 3 +-
72 files changed, 10461 insertions(+), 85538 deletions(-)
diffs (truncated from 156178 to 300 lines):
diff -r 725fa2eefea3 -r 1fcaf74d5ffb external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs
--- a/external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs Wed Jul 22 16:37:33 2015 +0000
+++ b/external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs Thu Jul 23 01:06:32 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.xmlsrcs,v 1.3 2014/03/17 07:25:34 mrg Exp $
+# $NetBSD: Makefile.xmlsrcs,v 1.4 2015/07/23 01:06:32 mrg Exp $
# list of the libxcb xml-generated .c files.
@@ -20,14 +20,6 @@
shm.c \
sync.c \
xc_misc.c \
- xcb_auth.c \
- xcb_conn.c \
- xcb_ext.c \
- xcb_in.c \
- xcb_list.c \
- xcb_out.c \
- xcb_util.c \
- xcb_xid.c \
xevie.c \
xf86dri.c \
xfixes.c \
diff -r 725fa2eefea3 -r 1fcaf74d5ffb external/mit/xorg/lib/libxcb/files/bigreq.c
--- a/external/mit/xorg/lib/libxcb/files/bigreq.c Wed Jul 22 16:37:33 2015 +0000
+++ b/external/mit/xorg/lib/libxcb/files/bigreq.c Thu Jul 23 01:06:32 2015 +0000
@@ -17,16 +17,6 @@
xcb_extension_t xcb_big_requests_id = { "BIG-REQUESTS", 0 };
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_big_requests_enable_cookie_t
- **
- *****************************************************************************/
-
xcb_big_requests_enable_cookie_t
xcb_big_requests_enable (xcb_connection_t *c /**< */)
{
@@ -36,31 +26,21 @@
/* opcode */ XCB_BIG_REQUESTS_ENABLE,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_big_requests_enable_cookie_t xcb_ret;
xcb_big_requests_enable_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_big_requests_enable_cookie_t
- **
- *****************************************************************************/
-
xcb_big_requests_enable_cookie_t
xcb_big_requests_enable_unchecked (xcb_connection_t *c /**< */)
{
@@ -70,33 +50,21 @@
/* opcode */ XCB_BIG_REQUESTS_ENABLE,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_big_requests_enable_cookie_t xcb_ret;
xcb_big_requests_enable_request_t xcb_out;
-
-
+
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_reply_t * xcb_big_requests_enable_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_big_requests_enable_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_big_requests_enable_reply_t *
- **
- *****************************************************************************/
-
xcb_big_requests_enable_reply_t *
xcb_big_requests_enable_reply (xcb_connection_t *c /**< */,
xcb_big_requests_enable_cookie_t cookie /**< */,
diff -r 725fa2eefea3 -r 1fcaf74d5ffb external/mit/xorg/lib/libxcb/files/bigreq.h
--- a/external/mit/xorg/lib/libxcb/files/bigreq.h Wed Jul 22 16:37:33 2015 +0000
+++ b/external/mit/xorg/lib/libxcb/files/bigreq.h Thu Jul 23 01:06:32 2015 +0000
@@ -20,7 +20,7 @@
#define XCB_BIGREQUESTS_MAJOR_VERSION 0
#define XCB_BIGREQUESTS_MINOR_VERSION 0
-
+
extern xcb_extension_t xcb_big_requests_id;
/**
@@ -59,18 +59,8 @@
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_big_requests_enable_cookie_t
- **
- *****************************************************************************/
-
xcb_big_requests_enable_cookie_t
xcb_big_requests_enable (xcb_connection_t *c /**< */);
@@ -80,21 +70,11 @@
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_big_requests_enable_cookie_t
- **
- *****************************************************************************/
-
xcb_big_requests_enable_cookie_t
xcb_big_requests_enable_unchecked (xcb_connection_t *c /**< */);
@@ -105,25 +85,13 @@
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_big_requests_enable_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_big_requests_enable_reply_t * xcb_big_requests_enable_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_big_requests_enable_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_big_requests_enable_reply_t *
- **
- *****************************************************************************/
-
xcb_big_requests_enable_reply_t *
xcb_big_requests_enable_reply (xcb_connection_t *c /**< */,
xcb_big_requests_enable_cookie_t cookie /**< */,
diff -r 725fa2eefea3 -r 1fcaf74d5ffb external/mit/xorg/lib/libxcb/files/composite.c
--- a/external/mit/xorg/lib/libxcb/files/composite.c Wed Jul 22 16:37:33 2015 +0000
+++ b/external/mit/xorg/lib/libxcb/files/composite.c Thu Jul 23 01:06:32 2015 +0000
@@ -15,24 +15,10 @@
#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)
#include "xproto.h"
-#include "render.h"
-#include "shape.h"
#include "xfixes.h"
xcb_extension_t xcb_composite_id = { "Composite", 0 };
-
-/*****************************************************************************
- **
- ** xcb_composite_query_version_cookie_t xcb_composite_query_version
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t client_major_version
- ** @param uint32_t client_minor_version
- ** @returns xcb_composite_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_composite_query_version_cookie_t
xcb_composite_query_version (xcb_connection_t *c /**< */,
uint32_t client_major_version /**< */,
@@ -44,35 +30,23 @@
/* opcode */ XCB_COMPOSITE_QUERY_VERSION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_composite_query_version_cookie_t xcb_ret;
xcb_composite_query_version_request_t xcb_out;
-
+
xcb_out.client_major_version = client_major_version;
xcb_out.client_minor_version = client_minor_version;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, XCB_REQUEST_CHECKED, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_composite_query_version_cookie_t xcb_composite_query_version_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param uint32_t client_major_version
- ** @param uint32_t client_minor_version
- ** @returns xcb_composite_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_composite_query_version_cookie_t
xcb_composite_query_version_unchecked (xcb_connection_t *c /**< */,
uint32_t client_major_version /**< */,
@@ -84,35 +58,23 @@
/* opcode */ XCB_COMPOSITE_QUERY_VERSION,
/* isvoid */ 0
};
-
+
struct iovec xcb_parts[4];
xcb_composite_query_version_cookie_t xcb_ret;
xcb_composite_query_version_request_t xcb_out;
-
+
xcb_out.client_major_version = client_major_version;
xcb_out.client_minor_version = client_minor_version;
-
+
xcb_parts[2].iov_base = (char *) &xcb_out;
xcb_parts[2].iov_len = sizeof(xcb_out);
xcb_parts[3].iov_base = 0;
xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;
-
+
xcb_ret.sequence = xcb_send_request(c, 0, xcb_parts + 2, &xcb_req);
return xcb_ret;
}
-
-/*****************************************************************************
- **
- ** xcb_composite_query_version_reply_t * xcb_composite_query_version_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_composite_query_version_cookie_t cookie
Home |
Main Index |
Thread Index |
Old Index