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
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h
index 6dd3204..25d10e7 100644
--- a/vncviewer/CConn.h
+++ b/vncviewer/CConn.h
@@ -75,6 +75,8 @@
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 @@
bool pendingUpdate;
bool forceNonincremental;
+
+ bool supportsSyncFence;
};
#endif