File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
C Wang
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic