[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: