summaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-06-17 07:35:56 +0000
committerPierre Ossman <ossman@cendio.se>2011-06-17 07:35:56 +0000
commitc18753c3ee9d55f0454e7e02571f7ab636333e64 (patch)
tree285df0279926e0147f56866ded6acfb38012794f /vncviewer/Viewport.h
parent84483e93176d34832fd41679eb485e7a9618b296 (diff)
downloadtigervnc-c18753c3ee9d55f0454e7e02571f7ab636333e64.tar.gz
tigervnc-c18753c3ee9d55f0454e7e02571f7ab636333e64.zip
Implement optimised drawing operations for OS X. Didn't see any reduction in
CPU usage unfortunately, but at least we're now using the native pixel format of our server which avoids a conversion on the server side. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4504 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r--vncviewer/Viewport.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 0b3a6c73..9eb3b73c 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -36,11 +36,16 @@
#if defined(WIN32)
#include "Win32PixelBuffer.h"
#elif defined(__APPLE__)
-#include "PlatformPixelBuffer.h"
+#include "OSXPixelBuffer.h"
#else
#include "X11PixelBuffer.h"
#endif
+// We also have a generic version of the above, using pure FLTK:
+//
+// #include "PlatformPixelBuffer.h"
+//
+
class CConn;
class Viewport : public Fl_Widget {