Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
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 1509 times)
0 Members and 1 Guest are viewing this topic.
Offline Abuse

JGO Knight


Medals: 13


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.

1  
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?

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161