summaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-11-03 18:49:21 +0000
committerDRC <dcommander@users.sourceforge.net>2011-11-03 18:49:21 +0000
commit33c15e3a3a1db376feae90ef7521a107dd957752 (patch)
tree07a01bd47e977a94b2ead9d406fec736e0b613b4 /vncviewer/CConn.h
parent3004cb640aba2ed81d31444064aa8087990c7212 (diff)
downloadtigervnc-33c15e3a3a1db376feae90ef7521a107dd957752.tar.gz
tigervnc-33c15e3a3a1db376feae90ef7521a107dd957752.zip
If the client and server are using identical pixel formats, then perform Tight decoding directly into the viewer's back buffer, rather than going through the slow fillRect/imageRect routines.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4757 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r--vncviewer/CConn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h
index 3cde6d5f..d6177fcd 100644
--- a/vncviewer/CConn.h
+++ b/vncviewer/CConn.h
@@ -67,6 +67,11 @@ public:
void imageRect(const rfb::Rect& r, void* p);
void copyRect(const rfb::Rect& r, int sx, int sy);
+ rdr::U8* getRawPixelsRW(const rfb::Rect& r, int* stride);
+ void releaseRawPixels(const rfb::Rect& r);
+
+ const rfb::PixelFormat &getPreferredPF() { return fullColourPF; }
+
void setCursor(int width, int height, const rfb::Point& hotspot,
void* data, void* mask);