diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-11-14 16:02:06 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-11-14 16:02:06 +0000 |
commit | e28bdb22ff9cc95dfadee4437c1a5a4328d083cd (patch) | |
tree | 56732aa020e32b56f19ff1ef2ed98544055f49d8 /vncviewer/CConn.h | |
parent | 2c7649422ecd811217bc85b4c493794b217014b7 (diff) | |
download | tigervnc-e28bdb22ff9cc95dfadee4437c1a5a4328d083cd.tar.gz tigervnc-e28bdb22ff9cc95dfadee4437c1a5a4328d083cd.zip |
Support and use fences in the client. This allows more aggressive use of
update requests as we can now synchronise format changes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4800 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r-- | vncviewer/CConn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h index 6dd32043..25d10e78 100644 --- a/vncviewer/CConn.h +++ b/vncviewer/CConn.h @@ -75,6 +75,8 @@ public: void setCursor(int width, int height, const rfb::Point& hotspot, void* data, void* mask); + void fence(rdr::U32 flags, unsigned len, const char data[]); + private: void resizeFramebuffer(); @@ -107,6 +109,8 @@ private: bool pendingUpdate; bool forceNonincremental; + + bool supportsSyncFence; }; #endif |