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
Hi Thomas & Community,
Thanks for follow-up.
I cant use egGetdisplay() as my application(Conformance test suite) uses eglGetPlatformDisplayEXT. Should I disable this method of getting display and use method as mentioned above reply?Also I dont know what must be needed from vender/libMali.so side in order to use eglGetPlatformDisplayEXT() API?
Reference : https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_platform_base.txt
BR,
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
View all questions in Graphics and Gaming forum