From 132b3d0f752c9c1a352c765e5bb9dc3370ac7320 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 13 Jun 2011 11:19:32 +0000 Subject: 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 --- vncviewer/Viewport.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'vncviewer/Viewport.h') 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 #include +#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; -- cgit v1.2.3