Hi Holger,

As you know, the IDirectFBGL/IDirectFBGL2 interfaces provide the ability to 
applications/middleware stacks to use the OGL/OGL ES API to render onto DFB 
surfaces.  However, they are not intended to replace DFB flip chain management 
which is handled via calls to the IDirectFBSurface::Flip function.

So, perhaps you can map the swapBuffers function to the associated surface's 
Flip function.  And perhaps querying the associated surface's 
properties/configuration (or tracking them through creation/modification) can 
handle the needs of the format implementation.

Regards,
Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group (TBD on the new org)
Intel Corporation
 

>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]] On Behalf Of Holger Freyther
>Sent: Monday, October 24, 2011 1:07 PM
>To: [email protected]
>Subject: [directfb-dev] OpenGL Interface for Qt Re: Master not 
>buildable
>
>Denis Oliver Kropp <dok@...> writes:
>
>
>> What are the extensions to IDirectFBGL2? I guess some config stuff 
>> like depth bits etc.
>
>The current interface for Qt5 can be seen here[1]. What I am 
>not sure with DirectFB is if one should use IDirectFBGL and 
>IDirectFBGL2 at the same time or not. What I think is missing 
>from IDirectFBGL2 is a GetAttribute call to implement format() 
>and a SwapBuffers().
>
>holger
>
>
>[1]
>https://qt.gitorious.org/qt/qtbase/blobs/master/src/gui/kernel/
>qplatformopenglcon
>text_qpa.h
>
>_______________________________________________
>directfb-dev mailing list
>[email protected]
>http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to