aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CMakeLists.txt
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/CMakeLists.txt
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/CMakeLists.txt')
-rw-r--r--vncviewer/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index 12cd8aee..524a007f 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -23,7 +23,9 @@ endif()
if(WIN32)
set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} Win32PixelBuffer.cxx)
-elseif(NOT APPLE)
+elseif(APPLE)
+ set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} OSXPixelBuffer.cxx)
+else()
set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} X11PixelBuffer.cxx)
endif()