Triple Buffering?

Started by
6 comments, last by hplus0603 18 years, 7 months ago
Can i do triple buffering in OpenGL?
Advertisement
AFAIK, triple buffering is not part of standard OpenGL. There is no extension to do it. Certainly not one that is implemented by the major vendors ATI and NVIDIA.
Kippesoep
What's the point of 3x buffering anyways? Is it a little smoother or something? Double-buffering is good enough for me
It works by allowing the graphics card to read from one backbuffer without having to worry about it being locked, that way there will be a small boost in performance...I think.
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd
Triple buffering happens if the driver supports it, iirc it can be forced in the control panel for both ATI and NV (you might have to use a tweaker todo it however).

As for what it does, it makes gfx display a bit smoother by giving the gfx hardware one extra frame of data to display, ofcourse this comes at the cost of using more video ram for the extra frame.
Quote:Original post by phantom
Triple buffering happens if the driver supports it, iirc it can be forced in the control panel for both ATI and NV (you might have to use a tweaker todo it however).

As for what it does, it makes gfx display a bit smoother by giving the gfx hardware one extra frame of data to display, ofcourse this comes at the cost of using more video ram for the extra frame.


Shown me wrong. That makes more sense anyways.
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd
you also get input lag, say 1 frame takes 11ms to render, you now buffer a spare frame, so 22ms input-to-screen delay. this is noticable to alot of mid-high reflex gamers. This is likewise why LCDs with a pixel response time of more than about 14-16ms are not good for gaming.
"I am a donut! Ask not how many tris/batch, but rather how many batches/frame!" -- Matthias Wloka & Richard Huddy, (GDC, DirectX 9 Performance)

http://www.silvermace.com/ -- My personal website
Triple buffering does not introduce more lag than double-buffering if your rendering rate is slower than your monitor refresh rate, and you're swapping on monitor vblanks. Triple buffering introduces more lag if you're not vblanked, or if you render faster than a single frame.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement