[maemo-developers] [maemo-developers] SDL vertical blank (vbl) sync.
From: Kuisma Salonen kuisma.salonen at maemo.orgDate: Mon May 29 14:42:32 EEST 2006
- Previous message: [maemo-developers] SDL vertical blank (vbl) sync.
- Next message: [maemo-developers] SDL vertical blank (vbl) sync.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-developers] SDL vertical blank (vbl) sync.
- Next message: [maemo-developers] SDL vertical blank (vbl) sync.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]