From: DRC Date: Wed, 17 Aug 2011 02:30:34 +0000 (+0000) Subject: Implement recommendations from low-level performance study (undocument compress level... X-Git-Tag: v1.1.90~175 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba7bc51608db4ac18652055fa75ce35f59024dda;p=tigervnc.git 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 --- 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);