Hi,
Based on the latest package from freescale/vivante, it seems possible to develop application based on openGL 2.1 using libGL.so.
the EGL in v1.4 supports opengl binding trough EGL_OPENGL_API (in egl.h) however when i try to use this binding, I have a BAD_PARAMETER in return.
If I query EGL, the lib returns EGL_OPENGL_ES_API (quite normal, it is working fine with opengl ES 2.0)
Does anybody has tryed to use opengl on top of EGL on IMX6 ? Does it exist a specific libEGL.so that allow this binding ?
Is there another way to have opengl with fb on the IMX6 ?
I am using a sabrelite with yocto based on kernel 3.10.53 with galcore v5.x. I am only using framebuffer.
Regards
Sylvain
Solved! Go to Solution.
Hi,
For information, I ve managed to get an application running fine with openGL 2.1 using GLX API. (src code found on opengl.org)
The only issue, I ve observed on the OGL implementation is that some shader running well on ES2.0 are not anymore working on OGL 2.1.
but this is another topic.
Regards
sylvain
Hi sylvain,
The EGL-X library module (libEGL.so) contains the X-Windows implementation of the low level EGL platform-specific support functions
Please check that you had successfully installed the proper EGL and GL libs:
path and filename location of egl library default is /usr/lib/libEGL.so and it support EGL1.4 Library
libGLESv2.so** OpenGL ES 2.0/3.0 Library, where **SONAME is used for libEGL.so, libGLESv2.so, libGLESv1_CM.so,
libGLESv1_CL.so, libGL.so.
hope this helps
Hi,
Thanks for the information, I have managed to run the glmark bench on the board, therefore I should be able to solve my problem by using the GLX API.
I will remove the EGL API specific part and check with GLX API
regards
sylvain
Hi,
For information, I ve managed to get an application running fine with openGL 2.1 using GLX API. (src code found on opengl.org)
The only issue, I ve observed on the OGL implementation is that some shader running well on ES2.0 are not anymore working on OGL 2.1.
but this is another topic.
Regards
sylvain