summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDRC <information@virtualgl.org>2015-02-21 12:01:47 -0600
committerDRC <information@virtualgl.org>2015-02-25 13:54:35 -0600
commit562eb717412343118ddf2b2147b95751c89ee442 (patch)
treeb585c2f5a38b21435ef145855bcb486c62a7b3c4 /tests
parent4631a76c1baf5be23f33075dc993a1231db564af (diff)
downloadtigervnc-562eb717412343118ddf2b2147b95751c89ee442.tar.gz
tigervnc-562eb717412343118ddf2b2147b95751c89ee442.zip
encperf: add compression level to encoding list
Explicitly add the compression level to the list of encodings so it's obvious how to override it.
Diffstat (limited to 'tests')
-rw-r--r--tests/encperf.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index ffa30473..20644960 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -60,7 +60,8 @@ static const rfb::PixelFormat fbPF(32, 24, false, true, 255, 255, 255, 0, 8, 16)
static const rdr::S32 encodings[] = {
rfb::encodingTight, rfb::encodingCopyRect, rfb::encodingRRE,
rfb::encodingHextile, rfb::encodingZRLE, rfb::pseudoEncodingLastRect,
- rfb::pseudoEncodingQualityLevel0 + 8 };
+ rfb::pseudoEncodingQualityLevel0 + 8,
+ rfb::pseudoEncodingCompressLevel0 + 2};
class DummyOutStream : public rdr::OutStream {
public: