Results 1 to 2 of 2

Thread: Further drawing using EGL_BITMAP_POINTER_KHR from eglQuerySurface

  1. #1
    Newbie
    Join Date
    Apr 2015
    Posts
    1

    Further drawing using EGL_BITMAP_POINTER_KHR from eglQuerySurface

    I managed to draw the surface before, but now i need to lock it, and draw using a pointer to the virtual memory obtained using eglQuerySurface with EGL_BITMAP_POINTER_KHR as an attribute.
    I was able to get the pointer to virtual memory, but the old drawing mechanism, obviously, is not working anymore.

    Any suggestions ?

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    4
    Your question is not clear. There are a couple of variables to consider. If your platform is 64 bit - you may need to use the 64 bit eglQuerySurface64. See https://www.khronos.org/registry/egl...k_surface3.txt. If your platform is EGL 1.5, the lock and unlock have been merged, so now its eglLockSurface and eglUnlockSurface - no "KHR". Note the EGL_BITMAP_PITCH between each row of pixels to get read and write correct.

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