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.
|