Which conditions have to be fullfilled to set the Videomode to
DoubleBuffering ?–
Sent through GMX FreeMail - http://www.gmx.net
gamsta at gmx.net wrote:
Which conditions have to be fullfilled to set the Videomode to
DoubleBuffering ?–
Sent through GMX FreeMail - http://www.gmx.net
If your application does many drawing which takes long time to render
you must use multibufferung. In general you may use your own memory
buffer as backbuffer to render into and after rendering is done , move
backbuffer contens to the primary buffer. Ofcource that method requires
smaller amount of videomemory. Another way is to use backbuffer located
in videomemory: advantiges – possible video acceleration,
disadvantiges: more memory required. Also you need doublebuffering in
case of ‘tearing effect’. Then you need to allocate double buffer in
videomemory and just flip videopages.-----------------------------------------
Burdjanadze Vyacheslav, Software Engineer
TrustWorjs Systems B. V.
Which conditions have to be fullfilled to set the Videomode to
DoubleBuffering ?
Run on an SDL driver that supports page flipping with the display surface
in video memory. Drivers that support this are: DirectX and fbcon
DGA 2.0 should support this as well.
See ya!
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec