Hi Ted,

I'm not sure what level of acceleration you are looking for, but there
is already
hardware acceleration by default on the Windows platform on nearly any
driver/card combination.  However, this acceleration is only for the
most rudimentary
operations (rectangular fills and copies); this results in much better
performance for simple GUI apps (everything but text tends to get
hw-accelerated),
but doesn't do much for apps that really drive the 2D features.

The new OpenGL pipelin in Java2D enables much more acceleration capabilities
(for things like translucency, transforms, and anti-aliased text) in
addition
to the basics.  The catch is that our use of OpenGL requires certain
features
which are not enabled on some hardware (especially older hardware) or which
some drivers do not accelerate.  Also, since we tend to use the hardware and
drivers in different ways than typical GL apps (we are not Quake...), we
have
seen problems with both robustness and performance on some platforms.  For
example, the latest Windows ATI drivers seem to have a problem not
crashing when we
are using GL.

Thus, our decision to only enable GL acceleration with a runtime flag:
sun.java2d.opengl=true.
It's there for people that really want to try it out, to see if it works
on their
specific runtime platform.  It's not advisable to enable it for an app that
ships on unknown platforms due to the issues I mentioned above.

There is more info about our OpenGL support here:
   http://java.sun.com/j2se/1.5.0/docs/guide/2d/new_features.html
(I got to this by drilling down on a few links from the 5.0 release page).

Good luck!

Chet.


Ted Hill wrote:

Hello,

I recently read that JDK 1.5 will get "native hardware acceleration
from Java2D" if they have the "latest OpenGL drivers and select
graphic cards."

Where can I get more information about this. We will be running on
Windows XP.

Thank you,

Ted Hill
===========================================================================
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".

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

Reply via email to