Don't synchronize after each frame. Allow the GPU to be one frame
authorFelix Kuehling <fxkuehl@gmx.de>
Sun, 6 Mar 2005 03:52:01 +0000 (03:52 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Sun, 6 Mar 2005 03:52:01 +0000 (03:52 +0000)
commit9d05d3dd308c4655673a710d0c10f09cac9c0d83
treefe5bf551e5f95dd5210bd2b2b455d84310a0dbdd
parente6aa21156ace5bea0a8bcc8c58aceacb748e2627
Don't synchronize after each frame. Allow the GPU to be one frame
ahead of the CPU for more parallelism of CPU and GPU. Unfortunately
there seems to be some broken hardware (like my ProSavageDDR) on which
status register updates are delayed sometimes. This leads to very
jerky animation if the hardware can buffer more than the current
frame. A new option "sync_frames" can be used as a remedy on such
broken hardware.
src/mesa/drivers/dri/savage/savage_xmesa.c
src/mesa/drivers/dri/savage/savagecontext.h
src/mesa/drivers/dri/savage/savageioctl.c