Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

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

 
C Wang
Greenhorn
Posts: 3
  • 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
Posts: 42968
73
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic