Are you running on Vista by any chance, with Aero enabled?

There's a Microsoft bug (reportedly addressed in Windows 7, but I haven't had a chance to verify it yet) which forced Java2D to disable onscreen hw accelerated rendering in applets on Vista. The offscreen rendering is still accelerated (when you render to the VI), but it is then copied to the screen (browser page) using GDI.

  Thanks,
    Dmitri

jav...@javadesktop.org wrote:
I am curious, with Java 6 Update 14 on Vista, should a VolatileImage perform as 
well in an applet as it does in a JFrame?  I ask because I have the exact same 
code running in both of these environments and the VI functioning in the applet 
is *significantly* slower than in the frame.  Animations that run smoothly in 
the frame are stuttering in the applet.

I do realise that Java code in general runs about 20-30% faster in a frame than 
in an applet but even this difference could not explain what I am seeing.  It 
is as though the VI has no hardware acceleration whatsoever in the applet.

Thanks,

-Qu0ll
[Message sent by forum member 'qu0ll' (qu0ll)]

http://forums.java.net/jive/thread.jspa?messageID=352221

===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
lists...@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
lists...@java.sun.com and include in the body of the message "help".

Reply via email to