On 06/12/10 14:30, David Corvoysier wrote: > Le 05/12/2010 22:22, Denis Oliver Kropp a écrit : >> A few weeks ago I started a new interface called IDirectFBGL2 which allows >> you to create GL contexts independent of surfaces. Then you can call >> IDirectFBGL2Context::Bind( draw_surface, read_surface ). >> > So basically an equivalent to eglMakeCurrent ?
Exactly :) >> True. I have a basic egl API implementation on top of IDirectFBGL2 with >> the egl based gears example working (only egl and gl API used, no DirectFB). >> >> eglCreateWindowSurface with IDirectFBWindow and >> eglCreatePixmapSurface with IDirectFBSurface are working. >> > That's interesting, but in my case (WebKit port) I do want to use directfb as > the main backend for graphics + input. I only need to make sure it is properly > accelerated, and that I can have access to the GPU (when there is one) for > some of the graphical elements. So an IDirectFBGL2Context would be fine, no need for egl API. -- Best regards, Denis Oliver Kropp .------------------------------------------. | 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