VBGamer |
|||||||||||||||||||||||||||
flip question Wyllo (1 reply, 0 views) (2000-Oct-28) I was wandering something that i dont quite get.
i was finishing a d3dim sample by changing some states to get some more fps.
now when i changed
primary.Flip nothing, DDFLIP_WAIT
to
primary.Flip Nothing, DDFLIP_NOVSYNC
i was surprised(not in a bad way) to see that the fps had changed from 28 to 41
i checked the sdk help to see what the reason could be. it said:
DDFLIP_NOVSYNC
Causes DirectDraw to perform the physical flip as close as possible to the next scan line. Subsequent operations involving the two flipped surfaces do not check to see if the physical flip has finished—that is, they do not return DDERR_WASSTILLDRAWING for that reason (but may for other reasons). This allows an application to perform flips at a higher frequency than the monitor refresh rate, but might introduce visible artifacts.
If DDCAPS2_FLIPNOVSYNC is not set in the DDCAPS type returned for the device, DDFLIP_NOVSYNC has no effect.
now the strange thing is that DDCAPS2_FLIPNOVSYNC isn't set in my ddscaps
so my question now is:
how does DDFLIP_NOVSYNC cause the change in framerate
im puzzeled
|