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

From: Kuisma Salonen kuisma.salonen at maemo.org
Date: Tue May 30 16:13:57 EEST 2006
<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 sided pixmap".
> The size of the surface is 800x480 16 bit (R5G6B5)
> So there should be at least 1536000 bytes of video memory
>
>   
The video hardware isn't like in traditional desktop PCs, this in not 
quite right. The display hardware is actually a blackbox which contains 
it's own memory and outer memory space is fully unaware about this (AFAIK).
> I suppose the kernel display driver is open-source? 
>
>   
AFAIK it is, so you could dig up the sources...

-- Kuisma


More information about the maemo-developers mailing list