This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OpenGL ES][SGX530] eglCreateWindowSurface call failed with 0x300D

We are working on DM8168 EVM with OpenGL ES to create a 3D application. Our software basis is TI SDK, 5.04.00.11.  When we call eglCreateWindowSurface in our codes  , it failed with 0x300D.

Anybody knows what that means? 

Also, could anybody enlighten us of how much physical memory could SGX530 linux driver (pvrsrvkm.ko) uses?

Thank you in advance.

  • Hi Kaiyu,

    The 0x300D error code is EGL_BAD_SURFACE.

    EGL_BAD_SURFACE is generated if surface is not an EGL drawing surface.

    EGL_BAD_SURFACE is generated when an EGLSurface argument does not name a valid surface (window, pbuffer, or pixmap) configured for OpenGL ES rendering.

    Best Regards,

    Pavel