Hi,
    I saw info below on directfb wiki. I have some confused concepts
about directFB to support OpenGL ES.

http://www.directfb.org/wiki/index.php/DirectFB_2.0:_Enabling_Khronos_APIs

One of the biggest changes in 2.0 is the move to support a wider range
of api's developed outside of DirectFB. Opensource apis like cairo are
one target in addition we will look at supporting api's from the
Khronos Group (http://www.khronos.org) this will consist of both
providing api implementations and ensuring vendor provided
implementations can be easily integrated and exposed.

does it mean that directFB can draw its primitives using OpenGL ES ?
should it  be implemented into a gfxdriver as I what I am doing?
is it not an easy task for newbie in directfb? how difficult is it?

thanks

On Tue, Jul 14, 2009 at 11:23 AM, Favor Tang<tang...@gmail.com> wrote:
> Hi,
>
>    I am stopped by OpenGLES initailization when written gfxdriver. I
> want directfb to run on TI OMAP3 OpenGLES without X11.
>
>    I read this:DirectFB with OpenGL ES on TI OMAP 3
>     http://mail.directfb.org/pipermail/directfb-users/2009-May/001621.html
>
>    I knew somebody maybe has done the same work as me, so anybody who
> interest in this topic, and who has experiences on this, please give
> me some suggestions about how to initialize OpenGLES when written
> gfxdriver, and how to implement driver_init_device function.
>
>    the X11 initialize GL using GLX libraries in driver_init_device
> function implementation (such as GLXChooseVisual, glXCreateContext,
> glXMakeCurrent, glXDestroyContext), how about OpenGLES to do that
> initialization, something like creating visual, context, get display,
> and render draw to on screen, etc..?
>
>   I am very appreciated your help. any advice is welcome.
> Best Regards
>
> thanks
>
>
>
>
> On Thu, Jul 9, 2009 at 6:41 PM, Nikita Egorov<nik...@gmail.com> wrote:
>>>    I don't think It didn't found OpenGLES libraries, 'cause I put its
>>> libraries to /usr/lib directory which can be found by default. In
>>> addition, I invoke two OpenGLES functions (eglGetDisplay,
>>> eglInitialize) in driver_init_device function, both of them are the
>>> functions in OpenGLES EGL library.  if it couldn't found the library,
>>> why didn't  it  terminate at the first call ( eglGetDisplay )?
>>
>> Are you sure the driver_init_device() is invoked ?
>> Where's  the output from the first line ? >D_DEBUG_AT( opengles,
>> "%s()\n", __FUNCTION__ );
>> I didn't see it int your dump.
>>
>> --
>> Best Regards
>> Nikita Egorov
>> nik...@gmail.com
>> nik...@varma-el.com
>>
>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to