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
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: 42639
    
  65
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get hardware acceleration on 2d images in applets?