The Solaris JDK uses DGA under the covers to speed up Java 2D. Right
now, the XFree86 DGA extension is undocumented (for the most part) and
it's not clear how many of the supported cards are also supported for
DGA in XFree. I'm trying to get a dialogue going with the XFree folks to
find this out. For now, I don't think the Linux JDK uses DGA in Java2D.
If enough cards (ideally, all of them) are supported to make using the
DGA stuff feasible, that will accelerate Java 2D quite alot.

So, in a sense, you're right: it just hasn't been optimized for speed
yet. :)

--Jeff


Ekkehard Kraemer wrote:
> 
> Hi,
> 
> I have an application that draws a lot of java.awt.Images onto another image,
> and then draws the latter one onto the screen (the application does no other
> relevant things). It is written for JDK 1.1.x, and runs very smooth under
> Blackdown 1.1.7v3 or IBM 1.1.8. Is it normal that the same application runs
> *much* slower (5-15 times) on Blackdown JDK 1.2.2rc3 or Inprise JDK 1.2.2rc1?
> Is this a known problem with all 1.2 JDKs, or are the Linux ports of the
> native Java2D parts not yet optimised for speed (which would be excusable,
> since speed should be the last thing to optimize...)?
> 
> I'm sure that I'm using a JIT since if I add -Djava.compiler=NONE, it runs
> several factors slower. I've also tried to vary -green or -native, with no
> large effect.
> 
> MbG, Ekkehard
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
======================================================================
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to