bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/29510] BufferedImage / Graphics2D performance problem


From: fkung at redhat dot com
Subject: [Bug awt/29510] BufferedImage / Graphics2D performance problem
Date: 19 Oct 2006 16:07:55 -0000


------- Comment #4 from fkung at redhat dot com  2006-10-19 16:07 -------
I see this too, but only when using the INT_RGB image type (try changing it to
INT_ARGB, and the speed will pick up again).

Looks like INT_RGB uses 24 bits in its ColorModel, while the
BufferedImageGraphics looks for a 32-bit ColorModel when checking for fast-copy
compatibility.  The change in BufferedImage came from Sven back in August, part
of his half-finished overhaul.

I'll write some mauve tests later to check whether it should indeed be 24-bit
or 32-bit, and change either the BufferedImage or BufferedImageGraphics to
match it.


-- 

fkung at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fkung at redhat dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-19 16:07:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29510





reply via email to

[Prev in Thread] Current Thread [Next in Thread]