Lines Matching refs:format

207         PixelFormat format;  in processConfigs()  local
208 if (getConfigNativePixelFormat(config, &format)) { in processConfigs()
209 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs()
463 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format) in getConfigNativePixelFormat() argument
477 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
478 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
479 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
480 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
481 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
487 EGLBoolean eglDisplay::getConfigGLPixelFormat(EGLConfig config, GLenum * format) in getConfigGLPixelFormat() argument
501 if ((redSize==8)&&(blueSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = GL_RGBA; in getConfigGLPixelFormat()
502 else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = GL_RGB; in getConfigGLPixelFormat()
503 else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = GL_RGB565_OES; in getConfigGLPixelFormat()
504 else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = GL_RGB5_A1_OES; in getConfigGLPixelFormat()
505 else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = GL_RGBA4_OES; in getConfigGLPixelFormat()