Searched refs:alphaSize (Results 1 – 1 of 1) sorted by relevance
/device/generic/goldfish/opengl/system/egl/ |
D | eglDisplay.cpp | 465 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local 470 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigNativePixelFormat() 477 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat() 478 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat() 479 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat() 480 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat() 481 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat() 489 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local 494 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigGLPixelFormat() 501 if ((redSize==8)&&(blueSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = GL_RGBA; in getConfigGLPixelFormat() [all …]
|