Hi Augusto,
There are a number of reasons that drawImage in JDK1.2+ is slower than
JDK1.1. We are trying to address some of the problems but it will not
be solved for Kestrel. One reason is that we currently do not store the
image into hardware buffers. That is an optimization that we still hope
to implement but have not as yet. (It might be easier to do so when
Jim finishes the new pipeline architecture -- however that is slated for
the next major release after Kestrel.) Another big reason is that we
are slow when we scale images. JDK1.1 scaled images directly into
the pixmap. We currently scale images into a BufferedImage and then
blit it so we have a lot more overhead. Getting rid of the extra
BufferedImage will be easier with Jim's new architecture. Another reason is
that there is a lot of overhead in our rendering pipeline (and Jim's work will
have cleaned that up). Jim has made some of our blitting loops more
efficient (and these changes will be in Kestrel FCS) so there will be
some noticeable changes there.
jeannette
> Date: Sun, 05 Sep 1999 19:14:27 +0100
> From: Augusto Sellhorn <[EMAIL PROTECTED]>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Jeannette Hung <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: [JAVA2D] Hardware Acceleration
> Content-Transfer-Encoding: 7bit
> Content-Transfer-Encoding: 7bit
>
> I would say Swing startup time seems (at least to me) faster. However,
> no amount of Hotspot is going to fix bug # 4185726 .
>
> I would *really* like to hear something from anybody in the 2D team
> about this. The evaluation comments in the bug parade
> (http://developer.java.sun.com/developer/bugParade/bugs/4185726.html)
> from Sun are not very encoraging and we need to know what's the plan
> to fix this !!!
>
> Thanks
>
> Augusto
>
> Jeannette Hung wrote:
> >
> > Have people tried the Kestrel beta? Any comments on it? There
> > have been a number of performance improvements in Kestrel. Swing
> > should be quite a bit faster. (Yes, we know that we still have a
> > lot more work to do on performance.)
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".