Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: [EGL] How to bind EGL_DEFAULT_DISPLAY to fb1

  1. #1
    Newbie Newbie
    Join Date
    Oct 2013

    [EGL] How to bind EGL_DEFAULT_DISPLAY to fb1

    Hi All,

    I am very new to EGL and OpenGLES2.0. I know this forum is dedicated for OpenGL but I have no where to post my question except this one so please understand.

    I have two fb devices (fb0, fb1) on my embedded linux system running ARM core. Everytime my apps run, they always use fb0 as default display output. Now I want to change it to fb1. I traced the egl code and I found two things that may result to that:

    - Macro: #define EGL_DEFAULT_DISPLAY (EGLNativeDisplayType)0
    - Function call: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id)

    About the macro, is there a way to point it to fb1?
    About the call, how to use it to return a fb1 device or how to map EGLDisplay with fb1?

    Any answers or advice are highly appreciated!
    Please correct if my understanding is incorrect!

    Thank you very much!

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2013
    I asked the same question. Answer: You can't. the rpi implementation does not use frambuffers at all.

    See my post here:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts