glEGLImageTargetTexture2DOES: Assertion `0' failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

glEGLImageTargetTexture2DOES: Assertion `0' failed

841 Views
ortogonal
Contributor III

Hi!

I'm trying to use glEGLImageTargetTexture2DOES with out any luck! I only get Assertion failed:

test: /u/build/nightly_build/build/ltib/rpm/BUILD/amd-gpu-src-11.09.01/driver/buid/linux/mx51/../../../es20/src/gl2_framebufferobject.c:1867:

EGLImageTargetTexture2DOES: Assertion `0' failed.

  

What I'm trying to do is to share a EGLImage between two processes.

This is my testcode:

    EGLImageKHR eglImageHandle = eglCreateImageKHR(eglGetDisplay(EGL_DEFAULT_DISPLAY),

                                                   EGL_NO_CONTEXT,

                                                   EGL_NATIVE_PIXMAP_KHR,

                                                   (void*)physAddress(),

                                                   NULL);

    if( eglImageHandle == EGL_NO_IMAGE_KHR )

    {

        qDebug() << "eglCreateImageKHR failed";

    }

    GLuint textureId;

    glGenTextures(1, &textureId);

    glBindTexture(GL_TEXTURE_2D, textureId);

    glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, eglImageHandle);

Labels (1)
0 Kudos
1 Reply

447 Views
ChucoChe
NXP Employee
NXP Employee

Hi,

The latest driver addresses this issue. Could you tell me your BSP version so I can send you the driver binary?

Michel

0 Kudos