aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/CConn.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2011-12-04 22:06:21 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2011-12-04 22:06:21 +0000
commit57e6143f0856fa8708fe37b4b44eefde4ac7848b (patch)
tree4d7ea84bd865d813ad49830a3176dc385f25f61b /java/com/tigervnc/vncviewer/CConn.java
parent16ec1a0e4a020eafde41b183d240757751caa417 (diff)
downloadtigervnc-57e6143f0856fa8708fe37b4b44eefde4ac7848b.tar.gz
tigervnc-57e6143f0856fa8708fe37b4b44eefde4ac7848b.zip
Grabbing the RGB components from the BufferedImage one at a time and converting the to a 24bpp RGB color manually is about 25% faster than using BufferedImage.getRGB().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4821 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r--java/com/tigervnc/vncviewer/CConn.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java
index ae03b524..47868d61 100644
--- a/java/com/tigervnc/vncviewer/CConn.java
+++ b/java/com/tigervnc/vncviewer/CConn.java
@@ -181,6 +181,10 @@ public class CConn extends CConnection
cp.compressLevel = viewer.compressLevel.getValue();
cp.noJpeg = viewer.noJpeg.getValue();
cp.qualityLevel = viewer.qualityLevel.getValue();
+ if (viewer.x509ca.getValue() != viewer.x509ca.getDefaultStr())
+ CSecurityTLS.x509ca.setParam(viewer.x509ca.getValue());
+ if (viewer.x509crl.getValue() != viewer.x509crl.getDefaultStr())
+ CSecurityTLS.x509crl.setParam(viewer.x509crl.getValue());
initMenu();
if (sock != null) {