| 26 | namespace client |
| 27 | { |
| 28 | class ClientWin : public util::Runnable |
| 29 | { |
| 30 | public: |
| 31 | |
| 32 | ClientWin(int dpynum, Window window, int drawMethod, bool stereo); |
| 33 | virtual ~ClientWin(void); |
| 34 | common::Frame *getFrame(bool useXV); |
| 35 | void drawFrame(common::Frame *f); |
| 36 | int match(int dpynum, Window window); |
| 37 | bool isStereo(void) { return stereo; } |
| 38 | |
| 39 | private: |
| 40 | |
| 41 | void initGL(void); |
| 42 | void initX11(void); |
| 43 | |
| 44 | int drawMethod, reqDrawMethod; |
| 45 | static const int NFRAMES = 2; |
| 46 | common::Frame *fb; |
| 47 | common::CompressedFrame cframes[NFRAMES]; int cfindex; |
| 48 | #ifdef USEXV |
| 49 | common::XVFrame *xvframes[NFRAMES]; |
| 50 | #endif |
| 51 | util::GenericQ q; |
| 52 | bool deadYet; |
| 53 | int dpynum; Window window; |
| 54 | void run(void); |
| 55 | util::Thread *thread; |
| 56 | util::CriticalSection cfmutex; |
| 57 | bool stereo; |
| 58 | util::CriticalSection mutex; |
| 59 | }; |
| 60 | } |
| 61 | |
| 62 | #endif // __CLIENTWIN_H__ |
nothing calls this directly
no outgoing calls
no test coverage detected