xf86rush.h revision a2760a4d593af57a19ec32cdfd1723b68495df8c
2N/A/* $XFree86: xc/include/extensions/xf86rush.h,v 1.4 2000/02/29 03:09:00 dawes Exp $ */
2N/A/*
2N/A
2N/ACopyright (c) 1998 Daryll Strauss
2N/A
2N/A*/
2N/A
2N/A#ifndef _XF86RUSH_H_
2N/A#define _XF86RUSH_H_
2N/A
2N/A#include <X11/extensions/Xv.h>
2N/A#include <X11/Xfuncproto.h>
2N/A
2N/A#define X_XF86RushQueryVersion 0
2N/A#define X_XF86RushLockPixmap 1
2N/A#define X_XF86RushUnlockPixmap 2
2N/A#define X_XF86RushUnlockAllPixmaps 3
2N/A#define X_XF86RushGetCopyMode 4
2N/A#define X_XF86RushSetCopyMode 5
2N/A#define X_XF86RushGetPixelStride 6
2N/A#define X_XF86RushSetPixelStride 7
2N/A#define X_XF86RushOverlayPixmap 8
2N/A#define X_XF86RushStatusRegOffset 9
2N/A#define X_XF86RushAT3DEnableRegs 10
2N/A#define X_XF86RushAT3DDisableRegs 11
2N/A
2N/A#define XF86RushNumberEvents 0
2N/A
2N/A#define XF86RushClientNotLocal 0
2N/A#define XF86RushNumberErrors (XF86RushClientNotLocal + 1)
2N/A
2N/A#ifndef _XF86RUSH_SERVER_
2N/A
_XFUNCPROTOBEGIN
Bool XF86RushQueryVersion(
Display* /* dpy */,
int* /* majorVersion */,
int* /* minorVersion */
);
Bool XF86RushQueryExtension(
Display* /* dpy */,
int* /* event_base */,
int* /* error_base */
);
Bool XF86RushLockPixmap(
Display * /* dpy */,
int /* screen */,
Pixmap /* Pixmap */,
void ** /* Return address */
);
Bool XF86RushUnlockPixmap(
Display * /* dpy */,
int /* screen */,
Pixmap /* Pixmap */
);
Bool XF86RushUnlockAllPixmaps(
Display * /* dpy */
);
Bool XF86RushSetCopyMode(
Display * /* dpy */,
int /* screen */,
int /* copy mode */
);
Bool XF86RushSetPixelStride(
Display * /* dpy */,
int /* screen */,
int /* pixel stride */
);
Bool XF86RushOverlayPixmap(
Display * /* dpy */,
XvPortID /* port */,
Drawable /* d */,
GC /* gc */,
Pixmap /* pixmap */,
int /* src_x */,
int /* src_y */,
unsigned int /* src_w */,
unsigned int /* src_h */,
int /* dest_x */,
int /* dest_y */,
unsigned int /* dest_w */,
unsigned int /* dest_h */,
unsigned int /* id */
);
int XF86RushStatusRegOffset(
Display * /* dpy */,
int /* screen */
);
Bool XF86RushAT3DEnableRegs(
Display * /* dpy */,
int /* screen */
);
Bool XF86RushAT3DDisableRegs(
Display * /* dpy */,
int /* screen */
);
_XFUNCPROTOEND
#endif /* _XF86RUSH_SERVER_ */
#endif /* _XF86RUSH_H_ */