Zeallon Chou
|
OpenVG on Blackberry playbook
|
Zeallon Chou
07/06/2011 4:49 AM
post87116
|
OpenVG on Blackberry playbook
Hi,
Buddies,
I‘m investigating run the OpenVG on Blackberry playbook.
I always get "EGL_FALSE" when Invoke "eglBindAPI(EGL_OPENVG_API)", and the error code is "EGL_BAD_PARAMETER".
Then I checked the codes in "Tiger".
/*----------------*/
EGLBoolean eglBindAPI(EGLenum api)
{
EGL_GET_EGL(EGL_FALSE);
EGL_IF_ERROR(api != EGL_OPENVG_API && api != EGL_OPENGL_ES_API, EGL_BAD_PARAMETER, EGL_FALSE);
RIEGLThread* thread = egl->getThread();
if(thread)
thread->bindAPI(api);
EGL_RETURN(EGL_SUCCESS, EGL_TRUE);
}
/*------------------*/
According to the codes, this "EGL_FALSE" is imposible. So I guess there is different way in the QNX on Blackberry
playbook.
Anybody give me any information, suggestion?
Best regards
|
|
|