Lines Matching refs:alphaSize
547 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
565 &alphaSize))) { in getConfigNativePixelFormat()
571 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = HAL_PIXEL_FORMAT_RGBA_8… in getConfigNativePixelFormat()
572 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = HAL_PIXEL_FORMAT_R… in getConfigNativePixelFormat()
573 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = HAL_PIXEL_FORMAT_R… in getConfigNativePixelFormat()
581 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local
599 &alphaSize))) { in getConfigGLPixelFormat()
608 if (alphaSize == 0) *format = GL_RGB; in getConfigGLPixelFormat()
611 else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = GL_RGB565_OES; in getConfigGLPixelFormat()
612 else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = GL_RGB5_A1_OES; in getConfigGLPixelFormat()
613 else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = GL_RGBA4_OES; in getConfigGLPixelFormat()