diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-06-13 11:19:32 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-06-13 11:19:32 +0000 |
commit | 132b3d0f752c9c1a352c765e5bb9dc3370ac7320 (patch) | |
tree | 913f32995af70b4e33448f63106469acf8c14065 /vncviewer/Viewport.h | |
parent | fdb348e16f5e8e675e00923dd4cceb59337f6953 (diff) | |
download | tigervnc-132b3d0f752c9c1a352c765e5bb9dc3370ac7320.tar.gz tigervnc-132b3d0f752c9c1a352c765e5bb9dc3370ac7320.zip |
Basic framework for more optimised, platform specific, drawing routines.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4492 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r-- | vncviewer/Viewport.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h index b8f1a789..f385a245 100644 --- a/vncviewer/Viewport.h +++ b/vncviewer/Viewport.h @@ -33,6 +33,14 @@ #include <rfb/PixelBuffer.h> #include <rfb/PixelTransformer.h> +#if defined(WIN32) +#include "PlatformPixelBuffer.h" +#elif defined(__APPLE__) +#include "PlatformPixelBuffer.h" +#else +#include "PlatformPixelBuffer.h" +#endif + class CConn; class Viewport : public Fl_Widget { @@ -119,7 +127,7 @@ private: private: CConn* cc; - rfb::ManagedPixelBuffer* frameBuffer; + PlatformPixelBuffer* frameBuffer; rfb::PixelTransformer *pixelTrans; rfb::SimpleColourMap colourMap; |