Lines Matching refs:greenSize
547 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
561 &greenSize) && 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
595 &greenSize) && in getConfigGLPixelFormat()
605 if ((redSize == greenSize) && (redSize == blueSize) && 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()