Hi,
I have been trying to create opengl es 3.0 context using the latest 1.4.1 es 3 emulator. The example I am using is cube example of es 2 emulator. I have added the header "EGL/eglext.h" to use EGL_RENDERABLE_TYPE as EGL_OPENGL_ES3_BIT, and include GLES3/gl3.h as well. Also has set context attribute as EGL_CONTEXT_CLIENT_VERSION , 3.
EGL_NONE
};
The code is compiling correctly but giving error as :
No EGL configurations were returned.
Tried to set not RGB size and RGB size as 565. But same error.
I am using windows 7 with visual studio 2012. Same code is working fine for OPENGL ES 2.0 context using same OPENGLES 3.0 emulator. Do we need to set anything else?
Thanks.
Hi Jacek,
I deleted openglessl folder from example/cube and reopened the developers command prompt, but even though it is giving the same error:
C:\Program Files (x86)\ARM\Mali Developer Tools\Mali OpenGL ES Emulator 1.4.1\ex
ample\cube>cube.exe
In Create Window
Creating ogles3 context
FATAL - GLES: (GLNativeProxy::FunctionTable::GLFunction<void __cdecl(unsigned in
t,unsigned int,unsigned int,unsigned int,int,int)>::checkMissingExtensions 836)
Couldn't find symbol 'glFramebufferTexture2DMultisampleEXT' in 'opengl32.dll' (r
equired for extension of GL)!
GL renderer: [Quadro 600/PCIe/SSE2]
GL vendor:[NVIDIA Corporation]
GL version: [4.4.0]
GL shading language version: [4.40 NVIDIA via Cg compiler]
GL API Version: [4.4]
FATAL - GLES: (SystemFBOImpl::configureDepthStencilAttachments 248) Will use GL_
DEPTH_COMPONENT24 for system FBO's depth+stencil attachment
FATAL - GLES: (SystemFBOImpl::configureColorAttachment 300) Using GL_RGB8 for color attachment
Unable to open library directory .\openglessl
FATAL - Exception thrown in GLES31Api::glCompileShader -> No shader compiler found.
Tried executing cube.exe through system32 command prompt too but same error.
Copying back the openglessl directory executes the binary.
Hi harsha,
Mali OpenGL ES 3.0 Emulator tries to find openglessl directory in the installation folder using the registry key (seems to be failing in your environment), and if that fails then tries to find it in the current directory (works in your environment).
In your case I would expect that the registry contains following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ARM Ltd\Mali OpenGL ES Emulator 1.4.1
with the default value of (assuming that the product was installed in the default location):
C:\Program Files (x86)\ARM\Mali Developer Tools\Mali OpenGL ES Emulator 1.4.1
Could please confirm that?
Cheers,
Jacek