aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-11-14 15:54:30 +0000
committerPierre Ossman <ossman@cendio.se>2011-11-14 15:54:30 +0000
commit2c7649422ecd811217bc85b4c493794b217014b7 (patch)
treea61845edec751a4055aa483981bf76d6292b41e0 /common/rfb/VNCSConnectionST.h
parentc754cceeca839b7caeca9c62bb2e08688725c458 (diff)
downloadtigervnc-2c7649422ecd811217bc85b4c493794b217014b7.tar.gz
tigervnc-2c7649422ecd811217bc85b4c493794b217014b7.zip
Implement proper support for fences in the server.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4799 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCSConnectionST.h')
-rw-r--r--common/rfb/VNCSConnectionST.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h
index 5a007ee9..e06522b9 100644
--- a/common/rfb/VNCSConnectionST.h
+++ b/common/rfb/VNCSConnectionST.h
@@ -133,7 +133,9 @@ namespace rfb {
virtual void setDesktopSize(int fb_width, int fb_height,
const ScreenSet& layout);
virtual void setInitialColourMap();
+ virtual void fence(rdr::U32 flags, unsigned len, const char data[]);
virtual void supportsLocalCursor();
+ virtual void supportsFence();
// setAccessRights() allows a security package to limit the access rights
// of a VNCSConnectioST to the server. These access rights are applied
@@ -168,6 +170,11 @@ namespace rfb {
bool inProcessMessages;
+ bool syncFence;
+ rdr::U32 fenceFlags;
+ unsigned fenceDataLen;
+ char *fenceData;
+
VNCServerST* server;
SimpleUpdateTracker updates;
TransImageGetter image_getter;