Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/egl/
DeglDisplay.cpp547 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
553 &redSize) && 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
587 &redSize) && in getConfigGLPixelFormat()
605 if ((redSize == greenSize) && (redSize == blueSize) && in getConfigGLPixelFormat()
606 ((redSize == 8) || (redSize == 16) || (redSize == 32))) in getConfigGLPixelFormat()
611 else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = GL_RGB565_OES; in getConfigGLPixelFormat()
[all …]
/hardware/google/gfxstream/host/gl/
DEmulatedEglConfig.cpp87 EGLint redSize = 0, greenSize = 0, blueSize = 0; in isCompatibleHostConfig() local
89 display, config,EGL_RED_SIZE, &redSize); in isCompatibleHostConfig()
94 if (!redSize || !greenSize || !blueSize) { in isCompatibleHostConfig()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglOsApi_darwin.cpp109 MacPixelFormat(int handle, int redSize, int greenSize, int blueSize) : in MacPixelFormat() argument
111 mRedSize(redSize), in MacPixelFormat()
120 int redSize() const { return mRedSize; } in redSize() function in __anon19379e4b0111::MacPixelFormat
247 int r = format->redSize(); in checkWindowPixelFormatMatch()