Results 1 to 2 of 2

Thread: Further drawing using EGL_BITMAP_POINTER_KHR from eglQuerySurface

  1. #1
    Newbie 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 Newbie
    Join Date
    Feb 2012
    Posts
    7
    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.

Similar Threads

  1. Drawing points before drawing a curve line
    By PepeBeef in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-26-2017, 09:34 PM
  2. Simply drawing lines; Adjusting drawing to window
    By Zaemz in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-12-2012, 03:56 AM
  3. Replies: 0
    Last Post: 08-02-2010, 10:12 AM
  4. drawing my ui
    By hannibar in forum OpenGL: Advanced Coding
    Replies: 14
    Last Post: 04-13-2006, 01:30 PM
  5. drawing a box
    By fox in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-14-2000, 04:47 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