Niels,

Well, I should probably talk about surfaces so.
Is it possible to change the window's surface from double buffered to single
buffered, without destroying the window ?

--
Lionel

On Thu, Feb 25, 2010 at 12:41 PM, Niels Roest <ni...@directfb.org> wrote:

> Hi Lionel,
>
> not quite sure I understand.
> Windows (IDirectFBWindow) are, afaik, always "single" buffered, or rather
> simply "buffered" (as opposed to what I believe X does, which simply issues
> redraw requests). A window update is then nothing more than a sequence of
> bitblt operations.
>
> If you want to get rid of the bufferedness you have to access the layer
> yourself, since DirectFB has currently no mechanism for redraws.
>
> Greets
> Niels
>
> Lionel Landwerlin wrote:
>
>> Hi all
>>
>> I'm wondering whether it's possible to change a double buffered window to
>> a single buffered one
>> and vice and versa.
>> My idea is to display several applications, each one having its own
>> window, and I only want one
>> of them to have focus and be able to update its content. Therefor the
>> others windows are kind "frozen"
>> and won't update their backbuffered content. So I could save some memory
>> by changing them from
>> double buffered to single buffered.
>>
>> Is it something possible with the current directfb version ?
>>
>> Regards,
>>
>> --
>> Lionel Landwerlin
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> directfb-dev mailing list
>> directfb-dev@directfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>>
>>
>
>
> --
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to