1 #define __GLVIDEO_X11REP
5 #include "GLvideo_repeater.h"
10 /* NB, any changes to the public interface
11 * /must/ be reflected in GLvideo_x11rep.h */
12 namespace GLVideoRepeater
14 class X11Repeater
: public GLVideoRepeater
{
16 virtual void createRGBDestination(VideoData
*video_data
);
17 virtual void setupRGBDestination();
18 virtual void renderVideo(VideoData
*video_data
);
19 virtual unsigned int repeat(unsigned int);
20 virtual void setupScreenDestination();
21 virtual ~X11Repeater();
24 X11Repeater::~X11Repeater()
28 void X11Repeater::createRGBDestination(VideoData
*)
32 void X11Repeater::setupRGBDestination()
36 void X11Repeater::setupScreenDestination()
40 void X11Repeater::renderVideo(VideoData
*)
44 unsigned int X11Repeater::repeat(unsigned int n
)
46 unsigned int retraceCount
;
47 glXWaitVideoSyncSGI(n
, 0, &retraceCount
);