Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Visti Andresen
On Mon, 29 May 2006 16:50:50 +0200 Frantisek Dufka [EMAIL PROTECTED] wrote: Juha Yrjölä wrote: Unfortunately we don't provide user-space with the vsync information (or Tearing Effect signal, as it's called in LCD land). If there's large enough need for this, we might consider

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Kuisma Salonen
snip My flashingTest reports that: It got a hardware surface (I should be writing directly to video memory accordingly to the SDL docs) And the surface is double buffered. Don't trust SDL, SDL is a liar. In X backend the SDL trusts what X says so HW surface could mean actually server

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Visti Andresen wrote: My flashingTest reports that: It got a hardware surface (I should be writing directly to video memory accordingly to the SDL docs) And the surface is double buffered. The size of the surface is 800x480 16 bit (R5G6B5) So there should be at least 1536000 bytes of video

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Tapani Pälli
ext Frantisek Dufka wrote: Visti Andresen wrote: My flashingTest reports that: It got a hardware surface (I should be writing directly to video memory accordingly to the SDL docs) And the surface is double buffered. The size of the surface is 800x480 16 bit (R5G6B5) So there should be at

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Tapani Pälli wrote: I think there's no guarantee that you will get HW surface from SDL, it will silently fallback to SW surface if it cannot have HW one. SDL draws to X, X draws to the framebuffer mapped by kernel which then updates that data to the lcd controller where screen gets finally

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-29 Thread Gustavo Sverzut Barbieri
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

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-29 Thread Juha Yrjölä
Kuisma Salonen 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

[maemo-developers] SDL vertical blank (vbl) sync.

2006-05-28 Thread Visti Andresen
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. ___

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-28 Thread Heike C. Zimmerer
Visti Andresen [EMAIL PROTECTED] writes: Hi I was wondering if anyone knows how to sync. the SDL_Flip to the vertical blanking of the display. You're sure there's anything like vertical blanking for the 770? My understanding is that VBL is closely tied to the transmission of video data

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-28 Thread Visti Andresen
On Sun, 28 May 2006 14:47:29 +0200 [EMAIL PROTECTED] (Heike C. Zimmerer) wrote: Visti Andresen [EMAIL PROTECTED] writes: Hi I was wondering if anyone knows how to sync. the SDL_Flip to the vertical blanking of the display. You're sure there's anything like vertical blanking for the 770?