Searched refs:greenSize (Results 1 – 1 of 1) sorted by relevance
/device/generic/goldfish-opengl/system/egl/ |
D | eglDisplay.cpp | 498 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigNativePixelFormat() local 502 getAttribValue(config, m_attribs.valueFor(EGL_GREEN_SIZE), &greenSize) && in getConfigNativePixelFormat() 510 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat() 511 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat() 512 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat() 513 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat() 514 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat() 522 EGLint redSize, blueSize, greenSize, alphaSize; in getConfigGLPixelFormat() local 526 getAttribValue(config, m_attribs.valueFor(EGL_GREEN_SIZE), &greenSize) && in getConfigGLPixelFormat() 534 if ((redSize == greenSize) && (redSize == blueSize) && in getConfigGLPixelFormat() [all …]
|