Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp437 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local
440 getAttribValue(config, m_attribs.valueFor(EGL_BLUE_SIZE), &blueSize) && in getConfigNativePixelFormat()
449 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
450 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
451 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
452 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
453 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
461 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local
464 getAttribValue(config, m_attribs.valueFor(EGL_BLUE_SIZE), &blueSize) && in getConfigGLPixelFormat()
473 if ((redSize == greenSize) && (redSize == blueSize) && in getConfigGLPixelFormat()
[all …]