United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6655001 D3D/OGL: Window translucency doesn't work with accelerated pipelines
JDK-6655001 : D3D/OGL: Window translucency doesn't work with accelerated pipelines

Details
Type:
Bug
Submit Date:
2008-01-24
Status:
Closed
Updated Date:
2011-01-20
Project Name:
JDK
Resolved Date:
2008-02-14
Component:
client-libs
OS:
windows_xp
Sub-Component:
2d
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b12)

Related Reports
Relates:
Relates:

Sub Tasks

Description
When window translucency is enabled for windows with accelerated
surfaces the tranlucency doesn't work well on Windows systems
prior to Windows Vista: there are artifacts when a window is dragged
away, and it doesn't appear transparent.

Shaped windows work fine.
To run the attached test:
   java -Dusetrans TranslucencySwingTest
   java -Dusetrans -Duseshape TranslucencySwingTest
   java -Duseswing -Dusetrans TranslucencySwingTest
   java -Duseswing -Dusetrans -Duseshape TranslucencySwingTest
and so on. Same with opengl pipeline enabled..

                                    

Comments
EVALUATION

This is a known limitation of Windows' window translucency
support. It was only fixed it properly on Windows Vista.

We'll need to disable HW acceleration (both OpenGL and
D3D pipelines) for non-opaque windows on systems other
than Vista.
                                     
2008-01-24
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/java2d_data/6u10/6655001.3
                                     
2008-02-01



Hardware and Software, Engineered to Work Together