comparison src/video/Xext/Xv/Xvlibint.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents ecba4bbaf9c2
children 81dde1b00bf1
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
57 req->xvReqType = xv_##name; \ 57 req->xvReqType = xv_##name; \
58 req->length = (SIZEOF(xv##name##Req))>>2;\ 58 req->length = (SIZEOF(xv##name##Req))>>2;\
59 dpy->bufptr += SIZEOF(xv##name##Req);\ 59 dpy->bufptr += SIZEOF(xv##name##Req);\
60 dpy->request++ 60 dpy->request++
61 61
62 #else /* non-ANSI C uses empty comment instead of "##" for token concatenation */ 62 #else /* non-ANSI C uses empty comment instead of "##" for token concatenation */
63 #define XvGetReq(name, req) \ 63 #define XvGetReq(name, req) \
64 WORD64ALIGN\ 64 WORD64ALIGN\
65 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\ 65 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\
66 _XFlush(dpy);\ 66 _XFlush(dpy);\
67 req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\ 67 req = (xv/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
72 dpy->request++ 72 dpy->request++
73 #endif 73 #endif
74 74
75 75
76 #endif /* XVLIBINT_H */ 76 #endif /* XVLIBINT_H */
77 /* vi: set ts=4 sw=4 expandtab: */