aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to get hardware acceleration on 2d images in applets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

How to get hardware acceleration on 2d images in applets?

C Wang
Greenhorn

Joined: Jun 05, 2009
Posts: 3
I tried using VolatileImage but it wasn't accelerated (image.getCapabilities().isAccelerated() returned false)
I basically used it like this

public VolatileImage image;
public Constructor(){
image = gc.createCompatibleVolatileImage(width, height, Transparency.OPAQUE);
}

what else am i supposed to do to get it hardware accelerated?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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: http://aspose.com/file-tools
 
subject: How to get hardware acceleration on 2d images in applets?
 
Similar Threads
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?