Home
last modified time | relevance | path

Searched refs:alphaSize (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp437 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
442 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigNativePixelFormat()
449 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
450 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
451 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
452 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
453 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
461 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local
466 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigGLPixelFormat()
476 if (alphaSize == 0) *format = GL_RGB; in getConfigGLPixelFormat()
[all …]