Переглянути джерело

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
tags/v1.1.90
DRC 12 роки тому
джерело
коміт
ba7bc51608
2 змінених файлів з 3 додано та 3 видалено
  1. 1
    1
      vncviewer/OptionsDialog.cxx
  2. 2
    2
      vncviewer/parameters.cxx

+ 1
- 1
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;


+ 2
- 2
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);

Завантаження…
Відмінити
Зберегти