A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Swing / AWT / SWT
How to get hardware acceleration on 2d images in applets?
Joined: Jun 05, 2009
Jun 05, 2009 01:52:13
I tried using
but it wasn't accelerated (image.getCapabilities().isAccelerated() returned false)
I basically used it like this
image = gc.createCompatibleVolatileImage(width, height, Transparency.OPAQUE);
what else am i supposed to do to get it hardware accelerated?
Joined: Mar 22, 2005
Jun 05, 2009 02:57:17
I don't think that's applet-specific, so I moved the question to the general GUI forum.
Let's discuss this
in this duplicate post
Ping & DNS
- updated with new look and Ping home screen widget
I agree. Here's the link:
subject: How to get hardware acceleration on 2d images in applets?
Graphics and animation in Java
What is the relationship between WebGL and HTML5?
Does every image need to be a 'VolatileImage' in a 2d game?
BufferedImage versus VolatileImage
Why does a gradiant paint affect performance so much?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014