Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6652662
Votes 0
Synopsis D3D: Colors mismatch when running RenderingToCachedGraphicsTest
Category java:classes_2d
Reported Against
Release Fixed 6u10(b12)
State 10-Fix Delivered, Verified, bug
Priority: 4-Low
Related Bugs
Submit Date 19-JAN-2008
Description
A regression test RenderingToCachedGraphicsTest.java fails when running 6u10b11 pit build, with D3D enabled in Windows vista on the Nvidia Quadro card(driver version is: 7.14.10.9686), it can be reproduced in 6u10-b07 at least.

Without d3d, it is PASS, and I run the same test in winXPpro with GeForce6600, it is PASS too w/o d3d.

The log as following:
 Direct3D pipeline enabled on screen 0
Colors mismatch!
Dumped grabbed image to: RenderingToCachedGraphicsTest.png
Exception in thread "main" java.lang.RuntimeException: Failed: rendering didn't
show up
        at RenderingToCachedGraphicsTest.main(RenderingToCachedGraphicsTest.java
:149)

The test is in:
test/sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java
Posted Date : 2008-01-19 00:09:23.0
Work Around
N/A
Evaluation
This is caused by the WDM (Aero).

Basically, when the robot takes the screenshot after completing
the test on Vista, it sometimes captures some of the Vista's 
animation effects as well: the window looks half-transparent 
in the screenshot since DWM slowly increases window's opaqueness
when it just appears - and the test fails because it's looking
for pure green.

We need to modify the test to wait for a couple of seconds
before starting the test so that DWM has a chance to 
complete fancy animations.
Posted Date : 2008-01-19 00:40:35.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang