opengl transparent type frame buffer config

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

opengl transparent type frame buffer config

642 Views
satyanarayanamu
Contributor I

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......

0 Kudos
0 Replies