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: directfb-dev-boun...@directfb.org >[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Holger Freyther >Sent: Monday, October 24, 2011 1:07 PM >To: directfb-dev@directfb.org >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 >directfb-dev@directfb.org >http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev