Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (780)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  another BufferStrategy bug?  (Read 2334 times)
0 Members and 1 Guest are viewing this topic.
Offline Abuse

JGO Ninja

Medals: 71

falling into the abyss of reality

« Posted 2003-05-22 10:04:29 »

This isn't a crash bug, so don't worry Smiley

its more of a specification bug.

frame.createBufferStrategy(2, new BufferCapabilities(new ImageCapabilities(true), new ImageCapabilities(false), null));

What would you expect this method to do?

I would expect it to create a buffer strategy with 2 buffers, the front buffer would be in vram, the back buffer would be in main memory.

Hwoever, this is NOT what it does, it creates them all in vram.

Infact, whatever ImageCapabilities are passed in, it seems BufferStrategy always allocates the frame buffers in vram if its possible.

I've already highlighted in the past that having your back buffers in vram is not always desired (for instance, if you are performing software pixel operations).

So, is this a bug?
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161