glEGLImageTargetTexture2DOES: Assertion `0' failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

glEGLImageTargetTexture2DOES: Assertion `0' failed

1,047 次查看
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);

标签 (1)
0 项奖励
回复
1 回复

653 次查看
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 项奖励
回复