<AWT Dev> Fwd: update on JDK-8046290 (garbage pixels on OS X) -- without the screen shots

Alan Snyder javalists at cbfiddle.com
Sun Nov 29 19:41:32 UTC 2015


Begin forwarded message:
> 
> From: Alan Snyder <javalists at cbfiddle.com>
> Subject: update on JDK-8046290 (garbage pixels on OS X)
> Date: November 29, 2015 at 11:39:12 AM PST
> To: Sergey Bylokhov <Sergey.Bylokhov at oracle.com>
> Cc: awt-dev at openjdk.java.net
> 
> I believe I have encountered this previously reported bug and understand the cause. It is a timing problem that occurs when native code asks for pixels (
> drawInCGLContext) at the same time that LWWindowPeer is trying to replace the surface data. The problem occurs if the request for pixels happens after a new CGLSurfaceData has been created but before it is initialized with a background color. In most cases, this error results in a transient flicker, but if the window is transparent, then the garbage pixels will be painted over by the background color and remain visible. Unfortunately, I have code that frequently runs into this problem.
> 
> I have attached a test case that is reliable (for me) on 1.8.0_66.
> 
> I hope with this new information the bug will be fixed soon.
> 
>  Alan
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151129/355abcf9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.java
Type: application/octet-stream
Size: 904 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151129/355abcf9/Test.java>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151129/355abcf9/attachment-0001.html>


More information about the awt-dev mailing list