Results 1 to 2 of 2

Thread: how to get the assoiciated buffer from EGLImage ?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    10

    how to get the assoiciated buffer from EGLImage ?

    I want to implement OMX_UseEGLImage in my native openmax componet on android,but could anbody tell me how to get the underlying buffer associated

    with an EGLImage specified by eglImage ?

    the client api will create a EGLImage and call OMX_UseEGLImage to notify my native openmax componet to use eglimage:

    eglImage = eglCreateImageKHR( m_egl_display, m_egl_context, EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(egl_buffer->texture_id), &attrib);

    OMX_UseEGLImage(hComponent,ppBufferHdr,nPortIndex, pAppPrivate,eglImage);

    the problem is how i can use eglImage ? is there anyway get the underlying buffer associated with eglImage ? thanks!

  2. #2
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    10
    this problem have troubled me for several days,could somebody give me advice ?

Similar Threads

  1. Alpha blending issues, when drawing frame buffer into default buffer.
    By Goran Milovanovic in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-08-2015, 08:11 AM
  2. Replies: 1
    Last Post: 11-06-2013, 06:57 PM
  3. EGLImage on Android NDK
    By smiyax73 in forum OpenGL ES
    Replies: 2
    Last Post: 01-20-2013, 12:09 PM
  4. Replies: 5
    Last Post: 12-02-2009, 03:27 AM
  5. EGLImage Extensions
    By niallm in forum EGL
    Replies: 1
    Last Post: 06-15-2009, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean