diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:40 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:40 +0000 |
commit | dab35027e56ba9c3c575dc41a041168bab00b4bb (patch) | |
tree | 320aaabfd01f23459cceab375ab853f0b6a7467a /multibuf.h | |
parent | 9a41c9c6452753ac1911a585e59982e8e5186c6b (diff) | |
download | xorg-proto-xextproto-dab35027e56ba9c3c575dc41a041168bab00b4bb.tar.gz |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'multibuf.h')
-rw-r--r-- | multibuf.h | 57 |
1 files changed, 52 insertions, 5 deletions
@@ -24,6 +24,8 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/include/extensions/multibuf.h,v 3.4 2001/12/14 19:53:28 dawes Exp $ */ + #ifndef _MULTIBUF_H_ #define _MULTIBUF_H_ @@ -294,13 +296,58 @@ _XFUNCPROTOEND #else +#include "scrnintstr.h" + typedef Bool (* mbInitFunc)(); -extern void RegisterMultibufferInit(); -extern void RegisterDoubleBufferHardware(); -extern int CreateImageBuffers (); -extern void DestroyImageBuffers (); -extern int DisplayImageBuffers (); +struct _mbufScreen; /* declared in multibufst.h */ + +extern void RegisterMultibufferInit( +#if NeedFunctionPrototypes + ScreenPtr /* pScreen */, + Bool (* /* bufMultibufferInit */)( +#if NeedNestedPrototypes + ScreenPtr /* pScreen */, + struct _mbufScreen * /* pMBScreen */ +#endif + ) +#endif +); + +struct xMbufBufferInfo; /* declared in multibufst.h */ + +extern void RegisterDoubleBufferHardware( +#if NeedFunctionPrototypes + ScreenPtr /* pScreen */, + int /* nInfo */, + struct xMbufBufferInfo * /* pInfo */, + DevUnion * /* frameBuffer */, + DevUnion /* selectPlane */, + void (* /* CopyBufferBitsFunc */ )(), + void (* /* DrawSelectPlaneFunc */ )() +#endif +); + +extern int CreateImageBuffers ( +#if NeedFunctionPrototypes + WindowPtr /* pWin */, + int /* nbuf */, + XID * /* ids */, + int /* action */, + int /* hint */ +#endif +); +extern void DestroyImageBuffers ( +#if NeedFunctionPrototypes + WindowPtr /* pWin */ +#endif +); +extern int DisplayImageBuffers ( +#if NeedFunctionPrototypes + XID * /* ids */, + int /* nbuf */ +#endif +); #endif /* _MULTIBUF_SERVER_ */ #endif /* _MULTIBUF_H_ */ |