diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-17 02:30:34 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-17 02:30:34 +0000 |
commit | ba7bc51608db4ac18652055fa75ce35f59024dda (patch) | |
tree | ee66fe9a3761c879fbf6a38a16388affa2c96db2 /vncviewer | |
parent | ffe09d68f578f6765ed73f3b2bf9d4ea37a0b66b (diff) | |
download | tigervnc-ba7bc51608db4ac18652055fa75ce35f59024dda.tar.gz tigervnc-ba7bc51608db4ac18652055fa75ce35f59024dda.zip |
Implement recommendations from low-level performance study (undocument compress levels 7-9 in the GUI, since they do nothing but increase CPU usage, set the default compress level to 1, and include a note that levels higher than 3 are rarely useful)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4632 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 2 | ||||
-rw-r--r-- | vncviewer/parameters.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 73ff551c..20465b55 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -511,7 +511,7 @@ void OptionsDialog::createCompressionPage(int tx, int ty, int tw, int th) compressionInput = new Fl_Int_Input(tx + INDENT, ty, INPUT_HEIGHT, INPUT_HEIGHT, - _("level (1=fast, 9=best)")); + _("level (1=fast, 6=best [4-6 are rarely useful])")); compressionInput->align(FL_ALIGN_RIGHT); ty += INPUT_HEIGHT + INNER_MARGIN; diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index c4c8fc74..f88aa5cd 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -51,8 +51,8 @@ BoolParameter customCompressLevel("CustomCompressLevel", "Use custom compression level. " "Default if CompressLevel is specified.", false); IntParameter compressLevel("CompressLevel", - "Use specified compression level 0 = Low, 9 = High", - 6); + "Use specified compression level 0 = Low, 6 = High", + 1); BoolParameter noJpeg("NoJPEG", "Disable lossy JPEG compression in Tight encoding.", false); |