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/files update the libxcb generat...
details: https://anonhg.NetBSD.org/src/rev/36ba3db50aa9
branches: trunk
changeset: 787064:36ba3db50aa9
user: mrg <mrg%NetBSD.org@localhost>
date: Fri May 31 10:56:16 2013 +0000
description:
update the libxcb generated files from libxcb 1.9
diffstat:
external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs | 16 +-
external/mit/xorg/lib/libxcb/files/bigreq.c | 9 +
external/mit/xorg/lib/libxcb/files/bigreq.h | 4 +-
external/mit/xorg/lib/libxcb/files/composite.c | 25 +
external/mit/xorg/lib/libxcb/files/composite.h | 36 +-
external/mit/xorg/lib/libxcb/files/config.h | 50 +-
external/mit/xorg/lib/libxcb/files/damage.c | 17 +
external/mit/xorg/lib/libxcb/files/damage.h | 20 +-
external/mit/xorg/lib/libxcb/files/dpms.c | 23 +
external/mit/xorg/lib/libxcb/files/dpms.h | 32 +-
external/mit/xorg/lib/libxcb/files/dri2.c | 836 +-
external/mit/xorg/lib/libxcb/files/dri2.h | 843 +-
external/mit/xorg/lib/libxcb/files/glx.c | 2883 ++-
external/mit/xorg/lib/libxcb/files/glx.h | 1183 +-
external/mit/xorg/lib/libxcb/files/randr.c | 817 +-
external/mit/xorg/lib/libxcb/files/randr.h | 175 +-
external/mit/xorg/lib/libxcb/files/record.c | 241 +-
external/mit/xorg/lib/libxcb/files/record.h | 50 +-
external/mit/xorg/lib/libxcb/files/render.c | 950 +-
external/mit/xorg/lib/libxcb/files/render.h | 229 +-
external/mit/xorg/lib/libxcb/files/res.c | 73 +
external/mit/xorg/lib/libxcb/files/res.h | 22 +-
external/mit/xorg/lib/libxcb/files/screensaver.c | 50 +
external/mit/xorg/lib/libxcb/files/screensaver.h | 27 +-
external/mit/xorg/lib/libxcb/files/shape.c | 85 +
external/mit/xorg/lib/libxcb/files/shape.h | 43 +-
external/mit/xorg/lib/libxcb/files/shm.c | 19 +
external/mit/xorg/lib/libxcb/files/shm.h | 24 +-
external/mit/xorg/lib/libxcb/files/sync.c | 751 +-
external/mit/xorg/lib/libxcb/files/sync.h | 567 +-
external/mit/xorg/lib/libxcb/files/xc_misc.c | 42 +
external/mit/xorg/lib/libxcb/files/xc_misc.h | 15 +-
external/mit/xorg/lib/libxcb/files/xcb.h | 529 +
external/mit/xorg/lib/libxcb/files/xcb_auth.c | 379 +
external/mit/xorg/lib/libxcb/files/xcb_conn.c | 465 +
external/mit/xorg/lib/libxcb/files/xcb_ext.c | 131 +
external/mit/xorg/lib/libxcb/files/xcb_in.c | 699 +
external/mit/xorg/lib/libxcb/files/xcb_list.c | 105 +
external/mit/xorg/lib/libxcb/files/xcb_out.c | 382 +
external/mit/xorg/lib/libxcb/files/xcb_util.c | 484 +
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 | 102 +
external/mit/xorg/lib/libxcb/files/xcbint.h | 209 +
external/mit/xorg/lib/libxcb/files/xevie.c | 17 +
external/mit/xorg/lib/libxcb/files/xevie.h | 20 +-
external/mit/xorg/lib/libxcb/files/xf86dri.c | 213 +
external/mit/xorg/lib/libxcb/files/xf86dri.h | 103 +-
external/mit/xorg/lib/libxcb/files/xfixes.c | 321 +
external/mit/xorg/lib/libxcb/files/xfixes.h | 150 +-
external/mit/xorg/lib/libxcb/files/xinerama.c | 48 +
external/mit/xorg/lib/libxcb/files/xinerama.h | 27 +-
external/mit/xorg/lib/libxcb/files/xinput.c | 871 +-
external/mit/xorg/lib/libxcb/files/xinput.h | 240 +-
external/mit/xorg/lib/libxcb/files/xkb.c | 22015 ++++++++++++++++++
external/mit/xorg/lib/libxcb/files/xkb.h | 14871 ++++++++++++
external/mit/xorg/lib/libxcb/files/xprint.c | 3454 ++
external/mit/xorg/lib/libxcb/files/xprint.h | 2896 ++
external/mit/xorg/lib/libxcb/files/xproto.c | 2535 +-
external/mit/xorg/lib/libxcb/files/xproto.h | 3224 ++-
external/mit/xorg/lib/libxcb/files/xselinux.c | 761 +-
external/mit/xorg/lib/libxcb/files/xselinux.h | 161 +-
external/mit/xorg/lib/libxcb/files/xtest.c | 31 +-
external/mit/xorg/lib/libxcb/files/xtest.h | 36 +-
external/mit/xorg/lib/libxcb/files/xv.c | 422 +-
external/mit/xorg/lib/libxcb/files/xv.h | 111 +-
external/mit/xorg/lib/libxcb/files/xvmc.c | 170 +
external/mit/xorg/lib/libxcb/files/xvmc.h | 51 +-
68 files changed, 64584 insertions(+), 1952 deletions(-)
diffs (truncated from 84538 to 300 lines):
diff -r 63059df0cc34 -r 36ba3db50aa9 external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs
--- a/external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs Fri May 31 10:39:02 2013 +0000
+++ b/external/mit/xorg/lib/libxcb/files/Makefile.xmlsrcs Fri May 31 10:56:16 2013 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile.xmlsrcs,v 1.1 2010/07/17 23:43:28 mrg Exp $
+# $NetBSD: Makefile.xmlsrcs,v 1.2 2013/05/31 10:56:16 mrg Exp $
# list of the libxcb xml-generated .c files.
XMLSRCS= \
- xproto.c \
bigreq.c \
- xc_misc.c \
composite.c \
damage.c \
dpms.c \
@@ -19,11 +17,23 @@
shape.c \
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 \
xinerama.c \
xinput.c \
+ xkb.c \
+ xprint.c \
+ xproto.c \
xselinux.c \
xtest.c \
xv.c \
diff -r 63059df0cc34 -r 36ba3db50aa9 external/mit/xorg/lib/libxcb/files/bigreq.c
--- a/external/mit/xorg/lib/libxcb/files/bigreq.c Fri May 31 10:39:02 2013 +0000
+++ b/external/mit/xorg/lib/libxcb/files/bigreq.c Fri May 31 10:56:16 2013 +0000
@@ -3,11 +3,18 @@
* Edit at your peril.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include <stdlib.h>
#include <string.h>
#include <assert.h>
+#include <stddef.h> /* for offsetof() */
#include "xcbext.h"
#include "bigreq.h"
+#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)
+
xcb_extension_t xcb_big_requests_id = { "BIG-REQUESTS", 0 };
@@ -39,6 +46,7 @@
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;
}
@@ -72,6 +80,7 @@
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;
}
diff -r 63059df0cc34 -r 36ba3db50aa9 external/mit/xorg/lib/libxcb/files/bigreq.h
--- a/external/mit/xorg/lib/libxcb/files/bigreq.h Fri May 31 10:39:02 2013 +0000
+++ b/external/mit/xorg/lib/libxcb/files/bigreq.h Fri May 31 10:56:16 2013 +0000
@@ -54,7 +54,7 @@
} xcb_big_requests_enable_reply_t;
/**
- * Delivers a request to the X server
+ *
* @param c The connection
* @return A cookie
*
@@ -75,7 +75,7 @@
xcb_big_requests_enable (xcb_connection_t *c /**< */);
/**
- * Delivers a request to the X server
+ *
* @param c The connection
* @return A cookie
*
diff -r 63059df0cc34 -r 36ba3db50aa9 external/mit/xorg/lib/libxcb/files/composite.c
--- a/external/mit/xorg/lib/libxcb/files/composite.c Fri May 31 10:39:02 2013 +0000
+++ b/external/mit/xorg/lib/libxcb/files/composite.c Fri May 31 10:56:16 2013 +0000
@@ -3,10 +3,17 @@
* Edit at your peril.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include <stdlib.h>
#include <string.h>
#include <assert.h>
+#include <stddef.h> /* for offsetof() */
#include "xcbext.h"
#include "composite.h"
+
+#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)
#include "xproto.h"
#include "render.h"
#include "shape.h"
@@ -49,6 +56,7 @@
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;
}
@@ -88,6 +96,7 @@
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;
}
@@ -148,6 +157,7 @@
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;
}
@@ -188,6 +198,7 @@
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;
}
@@ -228,6 +239,7 @@
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;
}
@@ -268,6 +280,7 @@
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;
}
@@ -308,6 +321,7 @@
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;
}
@@ -348,6 +362,7 @@
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;
}
@@ -388,6 +403,7 @@
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;
}
@@ -428,6 +444,7 @@
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;
}
@@ -467,6 +484,7 @@
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;
}
@@ -506,6 +524,7 @@
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;
}
@@ -545,6 +564,7 @@
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;
}
@@ -584,6 +604,7 @@
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;
}
@@ -620,6 +641,7 @@
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;
}
@@ -656,6 +678,7 @@
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;
}
@@ -712,6 +735,7 @@
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;
}
@@ -748,6 +772,7 @@
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;
}
diff -r 63059df0cc34 -r 36ba3db50aa9 external/mit/xorg/lib/libxcb/files/composite.h
--- a/external/mit/xorg/lib/libxcb/files/composite.h Fri May 31 10:39:02 2013 +0000
+++ b/external/mit/xorg/lib/libxcb/files/composite.h Fri May 31 10:56:16 2013 +0000
@@ -200,7 +200,7 @@
} xcb_composite_release_overlay_window_request_t;
/**
- * Delivers a request to the X server
+ *
* @param c The connection
* @return A cookie
*
@@ -225,7 +225,7 @@
uint32_t client_minor_version /**< */);
/**
- * Delivers a request to the X server
+ *
* @param c The connection
* @return A cookie
*
@@ -284,7 +284,7 @@
xcb_generic_error_t **e /**< */);
/**
- * Delivers a request to the X server
+ *
* @param c The connection
* @return A cookie
*
@@ -312,7 +312,7 @@
uint8_t update /**< */);
/**
- * Delivers a request to the X server
+ *
Home |
Main Index |
Thread Index |
Old Index