Is there really much benifit to using a VolatileImage directly instead of using JPanel which uses one for it’s back buffer already? I pretty much plan to lay down some tiles for a simple map (using images), and I’ve been unable to find any concrete answer on whether or not there is a big difference between JPanel or implementing things directly. I assume there will be at least a small gain for doing it directly but I like the idea of keeping things simple.
Using VolatileImages uised to be a lot more necessary, at this point the JDK handles managing managed images gfairly well, though there are gotchas you cn run into that wil lforce it out of volatile memory.
BUT if you are going to use active rendering and BufferStrategy, then its a given you will be using VolatileImages.
That’s kind of what I figured, I don’t think I’ll actually have a need to go that route, at least not for now, maybe down the road when I find out that it only runs acceptably on P4’s or something.