summaryrefslogtreecommitdiffstats
path: root/common/rfb/ConnParams.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-11-14 16:22:23 +0000
committerPierre Ossman <ossman@cendio.se>2011-11-14 16:22:23 +0000
commitc898d9af833212adc2ac5839899d82895976dee9 (patch)
treee426a325ba8346e1fc54a4ba780adffb883bd04e /common/rfb/ConnParams.cxx
parente28bdb22ff9cc95dfadee4437c1a5a4328d083cd (diff)
downloadtigervnc-c898d9af833212adc2ac5839899d82895976dee9.tar.gz
tigervnc-c898d9af833212adc2ac5839899d82895976dee9.zip
Basic infrastructure for continuous updates.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4801 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ConnParams.cxx')
-rw-r--r--common/rfb/ConnParams.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/ConnParams.cxx b/common/rfb/ConnParams.cxx
index 35b0054f..2f0e275e 100644
--- a/common/rfb/ConnParams.cxx
+++ b/common/rfb/ConnParams.cxx
@@ -34,6 +34,7 @@ ConnParams::ConnParams()
supportsDesktopResize(false), supportsExtendedDesktopSize(false),
supportsDesktopRename(false), supportsLastRect(false),
supportsSetDesktopSize(false), supportsFence(false),
+ supportsContinuousUpdates(false),
customCompressLevel(false), compressLevel(6),
noJpeg(false), qualityLevel(-1), fineQualityLevel(-1),
subsampling(SUBSAMP_UNDEFINED),
@@ -127,6 +128,8 @@ void ConnParams::setEncodings(int nEncodings, const rdr::S32* encodings)
supportsLastRect = true;
else if (encodings[i] == pseudoEncodingFence)
supportsFence = true;
+ else if (encodings[i] == pseudoEncodingContinuousUpdates)
+ supportsContinuousUpdates = true;
else if (encodings[i] >= pseudoEncodingCompressLevel0 &&
encodings[i] <= pseudoEncodingCompressLevel9) {
customCompressLevel = true;