We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Community,
I am building test suite for Open GL ES 2.0 with EGL support.When I run app ,i am getting above error while getting EGL extensions with API egl.querystring().
Anything I am missing here OR is it because of libMAli.so/libEGL.so/user-space-driver issue?
My platform is linux with x11 as window manager.
Let me know if you want more information
Thanks,
Vaibhav
Message was edited by: vaibhav
If I understand the problem correctly, :
And therefore you have a circular dependencies problem.
One basic way to check if eglGetPlatformDisplayEXT is available on some platforms is to use dlsym. Something akin to :
EGLDisplay display; if (dlsym(NULL, "eglGetPlatformDisplayEXT")) { display = eglGetPlatformDisplayEXT(...); ... } else { display = eglGetDisplay(your_own_getNativeDisplay_procedure()); ... }
dlsym(NULL, "symbolName") will search for symbolName in the current program and all the shared libraries dependencies declared in the current program executable file.
Exactly. Its circular dependency problem .
I will try out one above basic way and come back with results.
VK