Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR forum
context release failing
Jump...
Cancel
Locked
Locked
Replies
5 replies
Subscribers
136 subscribers
Views
5269 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 11 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 11 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
Up
0
Down
Cancel
Reply
Rhys Copeland
over 11 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
Up
0
Down
Cancel
Children
No data