United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6615272 D3D: Some images loaded via Toolkit or ImageIcon can't be accelerated
JDK-6615272 : D3D: Some images loaded via Toolkit or ImageIcon can't be accelerated

Details
Type:
Bug
Submit Date:
2007-10-10
Status:
Closed
Updated Date:
2010-10-15
Project Name:
JDK
Resolved Date:
2007-12-14
Component:
client-libs
OS:
windows_xp
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b06)

Related Reports
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
This is a copy of this bug:
   6231864: Some images loaded via Toolkit or ImageIcon can't be accelerated
Since it was closed as a duplicate of another bug fixed in jdk7 I can not 
create a sub-cr, so I'm creating this new bug.

Some images loaded via Toolkit.createImage() (or ImageIcon, which uses the
Toolkit methods internally) cannot be accelerated.  Run the attached testcase
(ManagedTest.java) with tracing enabled, and note that we always render using
the sysmem-based surface:
% java -Dsun.java2d.trace=log ManagedTest

Note that this bug does not affect the way an application will look, but it
does make rendering certain images much slower than necessary.

                                    

Comments
EVALUATION

The same as in the original bug.

For 6uN we'll only address images loaded via Toolkit.getImage() -
the original fix in jdk7 was more extensive.

This bug will also be fixed as part of this effort:
  6596234: Robot's screen captured image is not accelerated
                                     
2007-10-10
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/java2d_data/6u5/6615272.0
                                     
2007-10-10



Hardware and Software, Engineered to Work Together