mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 05:18:25 +02:00
Update to xextproto 7.0.99.1.
xextproto had Xlib client headers moved into libXext.
Protocol header files are named fooproto.h, header files with constants
foo.h or fooconst.h where foo.h was already in use for client-side headers.
(cherry picked from commit d3f6b43a24)
This commit is contained in:
parent
2f08077533
commit
0a9f57c499
25 changed files with 58 additions and 63 deletions
|
|
@ -44,9 +44,7 @@ Equipment Corporation.
|
|||
#include "dixstruct.h"
|
||||
#include "extnsionst.h"
|
||||
#include "opaque.h"
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsstr.h>
|
||||
#include <X11/extensions/dpmsproto.h>
|
||||
#include "dpmsproc.h"
|
||||
#include "modinit.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ in this Software without prior written authorization from the X Consortium.
|
|||
#include "panoramiXsrv.h"
|
||||
#endif
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -43,8 +43,7 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "dixstruct.h"
|
||||
#include "resource.h"
|
||||
#include "opaque.h"
|
||||
#define _SHAPE_SERVER_ /* don't want Xlib structures */
|
||||
#include <X11/extensions/shapestr.h>
|
||||
#include <X11/extensions/shapeproto.h>
|
||||
#include "regionstr.h"
|
||||
#include "gcstruct.h"
|
||||
#include "modinit.h"
|
||||
|
|
|
|||
|
|
@ -59,8 +59,7 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "servermd.h"
|
||||
#include "shmint.h"
|
||||
#include "xace.h"
|
||||
#define _XSHM_SERVER_
|
||||
#include <X11/extensions/shmstr.h>
|
||||
#include <X11/extensions/shmproto.h>
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
/* Needed for Solaris cross-zone shared memory extension */
|
||||
|
|
|
|||
|
|
@ -23,13 +23,39 @@
|
|||
#ifndef _SHMINT_H_
|
||||
#define _SHMINT_H_
|
||||
|
||||
#define _XSHM_SERVER_
|
||||
#include <X11/extensions/shmstr.h>
|
||||
#include <X11/extensions/shmproto.h>
|
||||
|
||||
#include "screenint.h"
|
||||
#include "pixmap.h"
|
||||
#include "gc.h"
|
||||
|
||||
#define XSHM_PUT_IMAGE_ARGS \
|
||||
DrawablePtr /* dst */, \
|
||||
GCPtr /* pGC */, \
|
||||
int /* depth */, \
|
||||
unsigned int /* format */, \
|
||||
int /* w */, \
|
||||
int /* h */, \
|
||||
int /* sx */, \
|
||||
int /* sy */, \
|
||||
int /* sw */, \
|
||||
int /* sh */, \
|
||||
int /* dx */, \
|
||||
int /* dy */, \
|
||||
char * /* data */
|
||||
|
||||
#define XSHM_CREATE_PIXMAP_ARGS \
|
||||
ScreenPtr /* pScreen */, \
|
||||
int /* width */, \
|
||||
int /* height */, \
|
||||
int /* depth */, \
|
||||
char * /* addr */
|
||||
|
||||
typedef struct _ShmFuncs {
|
||||
PixmapPtr (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS);
|
||||
void (* PutImage)(XSHM_PUT_IMAGE_ARGS);
|
||||
} ShmFuncs, *ShmFuncsPtr;
|
||||
|
||||
void
|
||||
ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs);
|
||||
|
||||
|
|
|
|||
|
|
@ -67,8 +67,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include "dixstruct.h"
|
||||
#include "resource.h"
|
||||
#include "opaque.h"
|
||||
#include <X11/extensions/sync.h>
|
||||
#include <X11/extensions/syncstr.h>
|
||||
#include <X11/extensions/syncproto.h>
|
||||
#include "syncsrv.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -42,9 +42,7 @@ from The Open Group.
|
|||
#include "scrnintstr.h"
|
||||
#include "dixevents.h"
|
||||
#include "sleepuntil.h"
|
||||
#define _XTEST_SERVER_
|
||||
#include <X11/extensions/XTest.h>
|
||||
#include <X11/extensions/xteststr.h>
|
||||
#include <X11/extensions/xtestproto.h>
|
||||
#ifdef XINPUT
|
||||
#include <X11/extensions/XI.h>
|
||||
#include <X11/extensions/XIproto.h>
|
||||
|
|
|
|||
|
|
@ -42,8 +42,7 @@ SOFTWARE.
|
|||
#include <X11/extensions/Xvproto.h>
|
||||
#include "xvdix.h"
|
||||
#ifdef MITSHM
|
||||
#define _XSHM_SERVER_
|
||||
#include <X11/extensions/shmstr.h>
|
||||
#include <X11/extensions/shmproto.h>
|
||||
#endif
|
||||
|
||||
#include "xvdisp.h"
|
||||
|
|
|
|||
|
|
@ -700,7 +700,7 @@ else
|
|||
RENDERPROTO="renderproto"
|
||||
fi
|
||||
|
||||
REQUIRED_MODULES="[randrproto >= 1.2] $RENDERPROTO [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto xextproto [xproto >= 7.0.9] [xtrans >= 1.2.2] [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto [inputproto >= 1.4.4] [kbproto >= 1.0.3]"
|
||||
REQUIRED_MODULES="[randrproto >= 1.2] $RENDERPROTO [fixesproto >= 4.0] [damageproto >= 1.1] xcmiscproto [xextproto >= 7.0.99.1] [xproto >= 7.0.9] [xtrans >= 1.2.2] [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto [inputproto >= 1.4.4] [kbproto >= 1.0.3]"
|
||||
REQUIRED_LIBS="xfont xau fontenc [pixman-1 >= 0.9.5]"
|
||||
|
||||
dnl HAVE_DBUS is true if we actually have the D-Bus library, whereas
|
||||
|
|
|
|||
|
|
@ -111,8 +111,7 @@ Equipment Corporation.
|
|||
#endif
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#include "dpmsproc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@
|
|||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#include "dpmsproc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -92,8 +92,7 @@ extern Bool noXkbExtension;
|
|||
#endif
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#include "dpmsproc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -87,8 +87,7 @@
|
|||
#include "globals.h"
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#include "dpmsproc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -67,8 +67,7 @@
|
|||
#include "xf86InPriv.h"
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#include "dpmsproc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -7,22 +7,16 @@
|
|||
#define INITARGS void
|
||||
#endif
|
||||
|
||||
#ifdef SHAPE
|
||||
#define _SHAPE_SERVER_ /* don't want Xlib structures */
|
||||
#include <X11/extensions/shapestr.h>
|
||||
#endif
|
||||
#include <X11/extensions/shapeproto.h>
|
||||
|
||||
#ifdef MULTIBUFFER
|
||||
extern void MultibufferExtensionInit(INITARGS);
|
||||
#define _MULTIBUF_SERVER_ /* don't want Xlib structures */
|
||||
#include <X11/extensions/multibufst.h>
|
||||
#include <X11/extensions/multibufproto.h>
|
||||
#endif
|
||||
|
||||
#ifdef XTEST
|
||||
extern void XTestExtensionInit(INITARGS);
|
||||
#define _XTEST_SERVER_
|
||||
#include <X11/extensions/XTest.h>
|
||||
#include <X11/extensions/xteststr.h>
|
||||
#include <X11/extensions/xtestproto.h>
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
|
|
@ -49,7 +43,7 @@ extern void XFree86DGARegister(INITARGS);
|
|||
|
||||
#ifdef DPMSExtension
|
||||
extern void DPMSExtensionInit(INITARGS);
|
||||
#include <X11/extensions/dpmsstr.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#endif
|
||||
|
||||
#ifdef XV
|
||||
|
|
@ -67,7 +61,7 @@ extern void ResExtensionInit(INITARGS);
|
|||
|
||||
#ifdef SHM
|
||||
extern void ShmExtensionInit(INITARGS);
|
||||
#include <X11/extensions/shmstr.h>
|
||||
#include <X11/extensions/shmproto.h>
|
||||
extern void ShmSetPixmapFormat(
|
||||
ScreenPtr pScreen,
|
||||
int format);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
#endif
|
||||
|
||||
#include "globals.h"
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
|
||||
#define DEBUG 0
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@
|
|||
#include "xf86Priv.h"
|
||||
#include "xf86RandR12.h"
|
||||
#include "X11/extensions/render.h"
|
||||
#define DPMS_SERVER
|
||||
#include "X11/extensions/dpms.h"
|
||||
#include "X11/extensions/dpmsconst.h"
|
||||
#include "X11/Xatom.h"
|
||||
#ifdef RENDER
|
||||
#include "picturestr.h"
|
||||
|
|
|
|||
|
|
@ -38,8 +38,7 @@
|
|||
#include "xf86Modes.h"
|
||||
#include "xf86RandR12.h"
|
||||
#include "X11/extensions/render.h"
|
||||
#define DPMS_SERVER
|
||||
#include "X11/extensions/dpms.h"
|
||||
#include "X11/extensions/dpmsconst.h"
|
||||
#include "X11/Xatom.h"
|
||||
#ifdef RENDER
|
||||
#include "picturestr.h"
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@
|
|||
#include "xf86Modes.h"
|
||||
#include "xf86RandR12.h"
|
||||
#include "X11/extensions/render.h"
|
||||
#define DPMS_SERVER
|
||||
#include "X11/extensions/dpms.h"
|
||||
#include "X11/extensions/dpmsconst.h"
|
||||
#include "X11/Xatom.h"
|
||||
|
||||
/* borrowed from composite extension, move to Render and publish? */
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@
|
|||
#include "xf86.h"
|
||||
#include "vbe.h"
|
||||
#include <X11/Xarch.h>
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
|
||||
#define VERSION(x) VBE_VERSION_MAJOR(x),VBE_VERSION_MINOR(x)
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
#include "xf86DDC.h"
|
||||
|
||||
#include "globals.h"
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
|
||||
extern int vgaHWGetIndex(void);
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ in this Software without prior written authorization from The Open Group.
|
|||
|
||||
#ifdef DPMSExtension
|
||||
# include "dpmsproc.h"
|
||||
# define DPMS_SERVER
|
||||
# include <X11/extensions/dpms.h>
|
||||
# include <X11/extensions/dpmsconst.h>
|
||||
#endif
|
||||
|
||||
#define QUEUE_SIZE 512
|
||||
|
|
|
|||
|
|
@ -173,19 +173,17 @@ typedef void (*InitExtension)(INITARGS);
|
|||
#endif
|
||||
|
||||
#ifdef MITSHM
|
||||
#define _XSHM_SERVER_
|
||||
#include <X11/extensions/shmstr.h>
|
||||
#include <X11/extensions/shm.h>
|
||||
#endif
|
||||
#ifdef XTEST
|
||||
#define _XTEST_SERVER_
|
||||
#include <X11/extensions/XTest.h>
|
||||
#include <X11/extensions/xtest.h>
|
||||
#endif
|
||||
#ifdef XKB
|
||||
#include <X11/extensions/XKB.h>
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
#include "securitysrv.h"
|
||||
#include <X11/extensions/securstr.h>
|
||||
#include <X11/extensions/secur.h>
|
||||
#endif
|
||||
#ifdef XSELINUX
|
||||
#include "xselinux.h"
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@ from The Open Group.
|
|||
#include "dix.h"
|
||||
#include "miline.h"
|
||||
#ifdef MITSHM
|
||||
#define _XSHM_SERVER_
|
||||
#include <X11/extensions/XShm.h>
|
||||
#include <X11/extensions/shm.h>
|
||||
#endif
|
||||
|
||||
/* We use this structure to propogate some information from miScreenInit to
|
||||
|
|
|
|||
|
|
@ -109,8 +109,7 @@ mffs(fd_mask mask)
|
|||
}
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
#include <X11/extensions/dpms.h>
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
#endif
|
||||
|
||||
struct _OsTimerRec {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue