AnsweredAssumed Answered

opengl transparent type frame  buffer config

Question asked by satyanarayana murthy on Feb 4, 2016

We are trying to create Opengl surface with below attributes from eglchooseconfig:

 

EGL_TRANSPARENT_TYPE=EGL_NONE

EGL_RED_SIZE/EGL_GREEN_SIZE/EGL_BLUE_SIZE/EGL_ALPHA_SIZE=8

 

when i did eglchooseconfig i was able to retrieve a "config" for this combination using which i can create a surface.

 

But for below combinations  I am not able retrieve any "config" and it fails

EGL_TRANSPARENT_TYPE=EGL_NONE

EGL_RED_SIZE/EGL_GREEN_SIZE/EGL_BLUE_SIZE/EGL_ALPHA_SIZE=8

EGL_TRANSPARENT_RED_VALUE/EGL_TRANSPARENT_GREEN_VALUE/EGL_TRANSPARENT_BLUE_VALUE=8

 

EGL_TRANSPARENT_TYPE=EGL_TRANSPARENT_RGB

EGL_RED_SIZE/EGL_GREEN_SIZE/EGL_BLUE_SIZE/EGL_ALPHA_SIZE=8

EGL_TRANSPARENT_RED_VALUE/EGL_TRANSPARENT_GREEN_VALUE/EGL_TRANSPARENT_BLUE_VALUE=8

 

i see that if framebuffer can support transparent we can use these combinations. I think imx6 shall support it since i have these macros in egl.h.

 

Am i missing something here......

Outcomes