opengl transparent type frame buffer config

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

opengl transparent type frame buffer config

1,016件の閲覧回数
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 件の賞賛
返信
0 返答(返信)