Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - eglChooseConfig and vmware: (2 Items)
   
eglChooseConfig and vmware  
I've tried to use the sample demo gf-ph-3d under vmware. 
I've applied a little modification to the parameter used to query a suitable configuration. In particular I've added a 
request for a type:
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT
but using this element in the attrib_list passed to eglChooseConfig it fails.
I have searched about EGL_RENDERABLE_TYPE parameter on http://www.khronos.org/opengles/documentation/opengles1_0/html/
eglChooseConfig.html and it isn't present, but other implementation use it.
where is my error?
is there an error in my is Vmware driver unable to use that parameter or is it a bug in the qnx implementation?

As attachment my modified file.

Thanks,
Mario.
Attachment: Text init_gears.c 3.93 KB
Re: eglChooseConfig and vmware  
EGL_RENDERABLE_TYPE is defined in the EGL specification. It was introduced in version 1.2, when support for OpenVG was 
added.

The best thing to do in an application is to get major and minor version numbers when calling eglInitialize and use 
EGL_RENDERABLE_TYPE when the version number is 1.2 or greater.

Note that the existing EGL implementation in QNX will return version 1.2, but is not fully compliant with the 1.2 spec. 
EGL_RENDERABLE_TYPE is one of those non-compliant areas. All EGL configs are OpenGL ES 1 renderable, but trying to use 
the EGL_RENDERABLE_TYPE enum will result in an error.