On Monday 29 May 2006 08:42, ext Kuisma Salonen wrote:
> 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.

http://scanline.ca/smooth/

This is a good resource to look at. This guy (http://scanline.ca) is extremely 
good in computer graphics, you may read his code and if it still doesn't 
work, mail him.

-- 
Gustavo Sverzut Barbieri
------------------------
INdT, Recife, Brazil

Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; [EMAIL PROTECTED]
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to