Results 1 to 4 of 4

Thread: eglCopyBuffers

  1. #1

    eglCopyBuffers

    Hi All

    I use eglCopyBuffers to copy color buffer to a native pixmap.
    I simply call eglCopyBuffers(gEglDisplay, gEglWindow, eglDataFromDump);

    eglDataFromDump is a EGLNativePixmapType variable.
    I set EGLNativePixmapType eglDataFromDump = NULL;

    Finally,the copy operation failed, and eglDataFromDump is empty.

    What is the problem of the usage of eglCopyBuffers?

    Thanks

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    102

    Re: eglCopyBuffers

    i think you need to create a native pixmap then pass the handle cast to EGLNativePixmapType and not just a null pointer.

  3. #3

    Re: eglCopyBuffers

    yes, this is the problem, once i think EGL will create and allocate for user, but it seems not. i will try it. thanks

  4. #4
    Junior Member
    Join Date
    May 2012
    Posts
    3

    Re: eglCopyBuffers

    Hi,
    I have same problem! How have you resolve?

    Gaetano

Similar Threads

  1. eglCopyBuffers - use case
    By pguza in forum Cross API and window system integration
    Replies: 2
    Last Post: 06-04-2012, 08:49 AM
  2. eglCopyBuffers() issue. How to save a copy of the image disp
    By tantissimo in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 05-29-2012, 04:00 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
  •