Visti Andresen wrote:
Hi I was wondering if anyone knows how to sync. the SDL_Flip to the vertical
blanking of the display.
While it is nice to get 47+ FPS while memset'ing the display, I would rather be
synced to the display and avoid the tearing at the cost of FPS.
This is actually generic issue, not just SDL one. When you call
SDL_Flip() (or SDL_UpdateRects() etc) it "draws" local data to the
display HW, and this goes through X. Having synchronization in the
display driver would solve this. Anyway I am not the person to say more
about this as I am not enough aware of display HW internals to tell how
hard implementing this would be and whether it would even be possible.
-- Kuisma
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers