Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
context release failing
Jump...
Cancel
Locked
Locked
Replies
5 replies
Subscribers
137 subscribers
Views
5602 views
Users
0 members are here
OpenGL ES
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
context release failing
Alexander Irion
over 12 years ago
Note: This was originally posted on 1st July 2013 at
http://forums.arm.com
Hello,
I'm using the latest Mali OpenGL ES 3.0 emulator under Ubuntu 12.04 32 Bit with an AMD Radeon HD 6670.
When I try to release the EGL context with this line:
eglMakeCurrent(_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
I get an EGL error 3003 (Bad Alloc).
Making the context current before was all succesful:
GraphicsWindowX11::init() - eglInitialize() succeded eglMajorVersion=1 iMinorVersion=3
GraphicsWindowX11::init() - window created =1
EGL_SAMPLE_BUFFERS: 1
EGL_SAMPLES: 8
GL renderer: [AMD Radeon HD 6670]
GL vendor:[ATI Technologies Inc.]
GL version: [4.2.12002 Compatibility Profile Context 9.012]
GL shading language version: [4.20]
GL_EXTENSIONS: GL_OES_compressed_ETC1_RGB8_texture GL_KHR_texture_compression_astc_ldr
GL_RENDERER: Mali OpenGL ES Emulator Revision r1p2-00rel0
GL_VENDOR: ARM Ltd.
GL_VERSION: OpenGL ES 3.0
GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.00
Kind regards,
Alexander Irion
Parents
Rhys Copeland
over 12 years ago
Note: This was originally posted on 15th July 2013 at
http://forums.arm.com
Hi Alexander,
What do you mean when you say EGL_OPENGL_ES3_BIT_KHR doesn't work? This token should be accepted by EGL...
The problem seems to definitely be because EGL_CONTEXT_CLIENT_VERSION and EGL_RENDERABLE_TYPE are mismatched (which may well be a separate problem in our implementation, but I'd need to check further).
Cancel
Vote up
0
Vote down
Cancel
Reply
Rhys Copeland
over 12 years ago
Note: This was originally posted on 15th July 2013 at
http://forums.arm.com
Hi Alexander,
What do you mean when you say EGL_OPENGL_ES3_BIT_KHR doesn't work? This token should be accepted by EGL...
The problem seems to definitely be because EGL_CONTEXT_CLIENT_VERSION and EGL_RENDERABLE_TYPE are mismatched (which may well be a separate problem in our implementation, but I'd need to check further).
Cancel
Vote up
0
Vote down
Cancel
Children
No data