[Xcb-commit] 2 commits - xcb-util

Jamey Sharp jamey at kemper.freedesktop.org
Mon Jul 31 10:07:57 PDT 2006


 xcb-util/renderutil/cache.c          |    5 -----
 xcb-util/renderutil/util.c           |    3 ++-
 xcb-util/renderutil/xcb_renderutil.h |    3 ++-
 3 files changed, 4 insertions(+), 7 deletions(-)

New commits:
diff-tree 0605cfaef0e4e580c2b243accac59bdfc642b94e (from 5629a1df98c3201f9acc1138281c69554b789a5d)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Mon Jul 31 09:48:44 2006 -0700

    The formats argument of XCBRenderUtilFindVisualFormat must be const.

diff --git a/xcb-util/renderutil/util.c b/xcb-util/renderutil/util.c
index c8bf356..8e8074d 100644
--- a/xcb-util/renderutil/util.c
+++ b/xcb-util/renderutil/util.c
@@ -22,7 +22,8 @@
 #include "xcb_renderutil.h"
 
 XCBRenderPICTVISUAL *
-XCBRenderUtilFindVisualFormat (XCBRenderQueryPictFormatsRep *formats, const XCBVISUALID visual)
+XCBRenderUtilFindVisualFormat (const XCBRenderQueryPictFormatsRep *formats,
+			       const XCBVISUALID visual)
 {
     XCBRenderPICTSCREENIter screens;
     XCBRenderPICTDEPTHIter depths;
diff --git a/xcb-util/renderutil/xcb_renderutil.h b/xcb-util/renderutil/xcb_renderutil.h
index e18c879..a535eae 100644
--- a/xcb-util/renderutil/xcb_renderutil.h
+++ b/xcb-util/renderutil/xcb_renderutil.h
@@ -51,7 +51,8 @@ enum {
 };
 
 XCBRenderPICTVISUAL *
-XCBRenderUtilFindVisualFormat (XCBRenderQueryPictFormatsRep *formats, const XCBVISUALID visual);
+XCBRenderUtilFindVisualFormat (const XCBRenderQueryPictFormatsRep *formats,
+			       const XCBVISUALID visual);
 
 XCBRenderPICTFORMINFO *
 XCBRenderUtilFindFormat (const XCBRenderQueryPictFormatsRep	*formats,
diff-tree 5629a1df98c3201f9acc1138281c69554b789a5d (from 091b4c805aa454277aa6b98bee8e8ec0646a9604)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Mon Jul 31 09:48:04 2006 -0700

    Plan 7 has been implemented, so xcb_renderutil compiles without faked prototypes.

diff --git a/xcb-util/renderutil/cache.c b/xcb-util/renderutil/cache.c
index 7cc19ba..fe95a14 100644
--- a/xcb-util/renderutil/cache.c
+++ b/xcb-util/renderutil/cache.c
@@ -60,11 +60,6 @@ static struct {
 			 DEPTH_MASK(24) | \
 			 DEPTH_MASK(32))
 
-/* FIXME: XCB's "Plan 7" needs to be implemented before this code will work. */
-extern XCBVoidCookie XCBCreatePixmapChecked(XCBConnection *, int, XCBPIXMAP, XCBDRAWABLE, int, int);
-extern XCBVoidCookie XCBFreePixmapChecked(XCBConnection *, XCBPIXMAP);
-extern XCBGenericError *XCBRequestCheck(XCBConnection *, XCBVoidCookie);
-
 /* Test each depth not explicitly advertised to see if pixmap creation
  * succeeds: if it does, that depth is usable. */
 static int


More information about the xcb-commit mailing list