Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/egl/
DeglDisplay.cpp547 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()
[all …]
/hardware/google/gfxstream/host/gl/
DEmulatedEglConfig.cpp87 EGLint redSize = 0, greenSize = 0, blueSize = 0; in isCompatibleHostConfig() local
91 display, config, EGL_GREEN_SIZE, &greenSize); 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
112 mGreenSize(greenSize), in MacPixelFormat()
121 int greenSize() const { return mGreenSize; } in greenSize() function in __anon19379e4b0111::MacPixelFormat
248 int g = format->greenSize(); in checkWindowPixelFormatMatch()