Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/egl/
DeglDisplay.cpp546 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
564 &alphaSize))) { in getConfigNativePixelFormat()
570 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
571 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
572 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
573 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
574 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
582 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local
600 &alphaSize))) { in getConfigGLPixelFormat()
609 if (alphaSize == 0) *format = GL_RGB; in getConfigGLPixelFormat()
[all …]