Is there still a way of overriding this and specifying 7-9 at a lower
level (from the command line or in the parameters, etc.?)

I'm a little uncomfortable completely removing those levels
functionally, because maybe there's some rare corner case in which they
still benefit.  I personally haven't seen such a case, but if it does
pop up, I want to be able to tell the user how to manually specify the
higher compression levels.


On 8/17/11 9:37 AM, bph...@users.sourceforge.net wrote:
> Revision: 4635
>           http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4635&view=rev
> Author:   bphinz
> Date:     2011-08-17 14:37:41 +0000 (Wed, 17 Aug 2011)
> 
> Log Message:
> -----------
> Implement recommendations from low-level performance study into java client. 
> Mirrors the changes made to the Fltk viewer in r4632.
> 
> Modified Paths:
> --------------
>     trunk/java/src/com/tigervnc/vncviewer/OptionsDialog.java
>     trunk/java/src/com/tigervnc/vncviewer/VncViewer.java
> 
> Modified: trunk/java/src/com/tigervnc/vncviewer/OptionsDialog.java
> ===================================================================
> --- trunk/java/src/com/tigervnc/vncviewer/OptionsDialog.java  2011-08-17 
> 11:24:58 UTC (rev 4634)
> +++ trunk/java/src/com/tigervnc/vncviewer/OptionsDialog.java  2011-08-17 
> 14:37:41 UTC (rev 4635)
> @@ -87,9 +87,9 @@
>      JPanel tightPanel = new JPanel(new GridBagLayout());
>      customCompressLevel = new JCheckBox("Custom Compression Level");
>      customCompressLevel.addItemListener(this);
> -    Object[] compressionLevels = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
> +    Object[] compressionLevels = { 1, 2, 3, 4, 5, 6 };
>      compressLevel  = new JComboBox(compressionLevels);
> -    JLabel compressionLabel = new JLabel("Level (1=fast, 9=best)");
> +    JLabel compressionLabel = new JLabel("Level (1=fast, 6=best [4-6 are 
> rarely useful])");
>      noJpeg = new JCheckBox("Allow JPEG Compression");
>      noJpeg.addItemListener(this);
>      Object[] qualityLevels = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
> 
> Modified: trunk/java/src/com/tigervnc/vncviewer/VncViewer.java
> ===================================================================
> --- trunk/java/src/com/tigervnc/vncviewer/VncViewer.java      2011-08-17 
> 11:24:58 UTC (rev 4634)
> +++ trunk/java/src/com/tigervnc/vncviewer/VncViewer.java      2011-08-17 
> 14:37:41 UTC (rev 4635)
> @@ -253,8 +253,8 @@
>    IntParameter compressLevel
>    = new IntParameter("CompressLevel",
>                                           "Use specified compression level "+
> -                                         "0 = Low, 9 = High",
> -                                         6);
> +                                         "0 = Low, 6 = High",
> +                                         1);
>    BoolParameter noJpeg
>    = new BoolParameter("NoJPEG",
>                            "Disable lossy JPEG compression in Tight 
> encoding.", false);
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
> user administration capabilities and model configuration. Take 
> the hassle out of deploying and managing Subversion and the 
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Tigervnc-commits mailing list
> tigervnc-comm...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to