Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/egl/
DeglDisplay.cpp547 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()
[all …]