JDK-6615272 : D3D: Some images loaded via Toolkit or ImageIcon can't be accelerated
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-10-10
  • Updated: 2010-10-15
  • Resolved: 2007-12-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b06Fixed 7Resolved
Related Reports
Relates :  
Relates :  
Relates :  
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
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/6u5/6615272.0
10-10-2007

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
10-10-2007