PDA

View Full Version : Why SwapBuffers slows down the performance?



wolfman
01-10-2004, 12:58 AM
I tried to measure performance on Cirrus Logic 2mb video card(PCI) and saw that function SwapBuffers itself(without any drawing) slows down performance terribly!!!.
It is the worst thing that can happen.

How can I optimize if it just one function call?
What can I use instead?

I have windows xp

ZbuffeR
01-10-2004, 04:53 AM
hehe, it sounds like vsync is on... What are your fps and your monitor refresh rate ?

If you can disable Vertical Synchro in your driver's display control panel, it should be better.

PS: Or maybe there is not accelerated OpenGL driver for this cirrus logic, so GL is done in software... try the GLinfo program, and post what is says : http://www.delphi3d.net/hardware/index.php

[This message has been edited by ZbuffeR (edited 01-10-2004).]