Lines Matching refs:config
205 EGLConfig config = (EGLConfig)i; in processConfigs() local
208 if (getConfigNativePixelFormat(config, &format)) { in processConfigs()
209 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs()
409 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() argument
416 *value = *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx); in getAttribValue()
420 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() argument
424 EGLBoolean ret = getAttribValue(config, m_attribs.valueFor(attrib), value); in getConfigAttrib()
429 void eglDisplay::dumpConfig(EGLConfig config) in dumpConfig() argument
432 DBG("^^^^^^^^^^ dumpConfig %d ^^^^^^^^^^^^^^^^^^", (int)config); in dumpConfig()
434 getAttribValue(config, i, &value); in dumpConfig()
435 DBG("{%d}[%d] %d\n", (int)config, i, value); in dumpConfig()
442 EGLBoolean eglDisplay::setAttribValue(EGLConfig config, EGLint attribIdx, EGLint value) in setAttribValue() argument
449 *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx) = value; in setAttribValue()
453 EGLBoolean eglDisplay::setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value) in setConfigAttrib() argument
457 EGLBoolean ret = setAttribValue(config, m_attribs.valueFor(attrib), value); in setConfigAttrib()
463 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format) in getConfigNativePixelFormat() argument
467 if ( !(getAttribValue(config, m_attribs.valueFor(EGL_RED_SIZE), &redSize) && in getConfigNativePixelFormat()
468 getAttribValue(config, m_attribs.valueFor(EGL_BLUE_SIZE), &blueSize) && in getConfigNativePixelFormat()
469 getAttribValue(config, m_attribs.valueFor(EGL_GREEN_SIZE), &greenSize) && in getConfigNativePixelFormat()
470 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigNativePixelFormat()
487 EGLBoolean eglDisplay::getConfigGLPixelFormat(EGLConfig config, GLenum * format) in getConfigGLPixelFormat() argument
491 if ( !(getAttribValue(config, m_attribs.valueFor(EGL_RED_SIZE), &redSize) && in getConfigGLPixelFormat()
492 getAttribValue(config, m_attribs.valueFor(EGL_BLUE_SIZE), &blueSize) && in getConfigGLPixelFormat()
493 getAttribValue(config, m_attribs.valueFor(EGL_GREEN_SIZE), &greenSize) && in getConfigGLPixelFormat()
494 getAttribValue(config, m_attribs.valueFor(EGL_ALPHA_SIZE), &alphaSize)) ) in getConfigGLPixelFormat()