Revision: 4915 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4915&view=rev Author: bphinz Date: 2012-05-19 13:28:43 +0000 (Sat, 19 May 2012) Log Message: ----------- Fixes what appears to be a Java bug on Linux. Graphics2D.copyArea corrupts the screen image when areas are shifted to the left. Benchmarking show no measurable performance impact from this change, and it seems to mitigate the problem.
Modified Paths: -------------- trunk/java/com/tigervnc/vncviewer/BIPixelBuffer.java Modified: trunk/java/com/tigervnc/vncviewer/BIPixelBuffer.java =================================================================== --- trunk/java/com/tigervnc/vncviewer/BIPixelBuffer.java 2012-05-16 03:51:42 UTC (rev 4914) +++ trunk/java/com/tigervnc/vncviewer/BIPixelBuffer.java 2012-05-19 13:28:43 UTC (rev 4915) @@ -40,7 +40,7 @@ GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice(); GraphicsConfiguration gc = gd.getDefaultConfiguration(); - image = gc.createCompatibleImage(w, h, Transparency.OPAQUE); + image = gc.createCompatibleImage(w, h, Transparency.TRANSLUCENT); image.setAccelerationPriority(1); image.createGraphics(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits