The AutoJ2DGraphics AlphaCompositeTest is failing if the test is run with OGL flag.
The test case draws a (5x4) grid of Alpha subtests. The following subtests are failing (rendering is different without opengl flag) on Solaris10, RH AS3.0, and WinXP: (2,1) (2,3) (3,4).
When comparing results of different platforms there may be a few more subtests that are different. The above three subtests are seen failing on all platforms.
- Attached is a standalone version of the AutoJ2DGraphics mediaserver test case AlphaCompositeTest.java.
- Also attached is another AutoJ2DGraphics test case AlphaCompositeComplexTest.java that also demonstrates the problem.
- This bug has turned up in tiger beta2 milestone testing as we are now able to compare golden images from all PIT platforms. The bug appears to have been present in earlier builds with opengl feature.
- Reproducable with recent and earlier Tiger builds including 1.5.0-beta2-b51
Steps to reproduce
==================
1) Set JAVA_HOME to recent Tiger build
2) Compile and run attached test case AlphaCompositeTest.java
3) Run the test with opengl
$JAVA_HOME/bin/java -Dsun.java2d.opengl=True AlphaCompositeTest
4) Run the test without opengl
$JAVA_HOME/bin/java AlphaCompositeTest
5) Compare the two renderings and observe that some of the subtests yield different results.