Lines Matching refs:mConfigParams
318 mConfigParams = params; in initializeSurface()
323 if (mConfigParams.mutableRenderBuffer && !hasMutableRenderBuffer) in initializeSurface()
334 (mConfigParams.redBits >= 0) ? mConfigParams.redBits : EGL_DONT_CARE, in initializeSurface()
336 (mConfigParams.greenBits >= 0) ? mConfigParams.greenBits : EGL_DONT_CARE, in initializeSurface()
338 (mConfigParams.blueBits >= 0) ? mConfigParams.blueBits : EGL_DONT_CARE, in initializeSurface()
340 (mConfigParams.alphaBits >= 0) ? mConfigParams.alphaBits : EGL_DONT_CARE, in initializeSurface()
342 (mConfigParams.depthBits >= 0) ? mConfigParams.depthBits : EGL_DONT_CARE, in initializeSurface()
344 (mConfigParams.stencilBits >= 0) ? mConfigParams.stencilBits : EGL_DONT_CARE, in initializeSurface()
346 mConfigParams.multisample ? 1 : 0, in initializeSurface()
348 (mConfigParams.samples >= 0) ? mConfigParams.samples : EGL_DONT_CARE, in initializeSurface()
353 if (!hasPixelFormatFloat && mConfigParams.componentType != EGL_COLOR_COMPONENT_TYPE_FIXED_EXT) in initializeSurface()
362 configAttributes.push_back(mConfigParams.componentType); in initializeSurface()
375 eglGetConfigAttrib(mDisplay, mConfig, EGL_RED_SIZE, &mConfigParams.redBits); in initializeSurface()
376 eglGetConfigAttrib(mDisplay, mConfig, EGL_GREEN_SIZE, &mConfigParams.greenBits); in initializeSurface()
377 eglGetConfigAttrib(mDisplay, mConfig, EGL_BLUE_SIZE, &mConfigParams.blueBits); in initializeSurface()
378 eglGetConfigAttrib(mDisplay, mConfig, EGL_ALPHA_SIZE, &mConfigParams.alphaBits); in initializeSurface()
379 eglGetConfigAttrib(mDisplay, mConfig, EGL_DEPTH_SIZE, &mConfigParams.depthBits); in initializeSurface()
380 eglGetConfigAttrib(mDisplay, mConfig, EGL_STENCIL_SIZE, &mConfigParams.stencilBits); in initializeSurface()
381 eglGetConfigAttrib(mDisplay, mConfig, EGL_SAMPLES, &mConfigParams.samples); in initializeSurface()
392 if (hasRobustResourceInit && mConfigParams.robustResourceInit.valid()) in initializeSurface()
395 surfaceAttributes.push_back(mConfigParams.robustResourceInit.value() ? EGL_TRUE in initializeSurface()
400 if (!hasGLColorSpace && mConfigParams.colorSpace != EGL_COLORSPACE_LINEAR) in initializeSurface()
409 surfaceAttributes.push_back(mConfigParams.colorSpace); in initializeSurface()
414 if (hasCreateSurfaceSwapInterval && mConfigParams.swapInterval != kDefaultSwapInterval) in initializeSurface()
417 surfaceAttributes.push_back(mConfigParams.swapInterval); in initializeSurface()
466 if (mConfigParams.debug && !hasDebug) in createContext()
474 if (mConfigParams.webGLCompatibility.valid() && !hasWebGLCompatibility) in createContext()
482 if (mConfigParams.extensionsEnabled.valid() && !hasCreateContextExtensionsEnabled) in createContext()
489 if ((mConfigParams.robustAccess || in createContext()
490 mConfigParams.resetStrategy != EGL_NO_RESET_NOTIFICATION_EXT) && in createContext()
499 if (!mConfigParams.bindGeneratesResource && !hasBindGeneratesResource) in createContext()
507 if (!mConfigParams.clientArraysEnabled && !hasClientArraysExtension) in createContext()
516 if (mConfigParams.contextProgramCacheEnabled.valid() && !hasProgramCacheControlExtension) in createContext()
524 if (mConfigParams.noError && !hasKHRCreateContextNoError) in createContext()
561 if (hasDebug && mConfigParams.debug) in createContext()
564 contextAttributes.push_back(mConfigParams.debug ? EGL_TRUE : EGL_FALSE); in createContext()
569 if (hasKHRCreateContextNoError && mConfigParams.noError) in createContext()
572 contextAttributes.push_back(mConfigParams.noError ? EGL_TRUE : EGL_FALSE); in createContext()
575 if (mConfigParams.webGLCompatibility.valid()) in createContext()
578 contextAttributes.push_back(mConfigParams.webGLCompatibility.value() ? EGL_TRUE in createContext()
582 if (mConfigParams.extensionsEnabled.valid()) in createContext()
585 contextAttributes.push_back(mConfigParams.extensionsEnabled.value() ? EGL_TRUE in createContext()
592 contextAttributes.push_back(mConfigParams.robustAccess ? EGL_TRUE : EGL_FALSE); in createContext()
595 contextAttributes.push_back(mConfigParams.resetStrategy); in createContext()
601 contextAttributes.push_back(mConfigParams.bindGeneratesResource ? EGL_TRUE : EGL_FALSE); in createContext()
607 contextAttributes.push_back(mConfigParams.clientArraysEnabled ? EGL_TRUE : EGL_FALSE); in createContext()
610 if (mConfigParams.contextProgramCacheEnabled.valid()) in createContext()
614 mConfigParams.contextProgramCacheEnabled.value() ? EGL_TRUE : EGL_FALSE); in createContext()
628 if (hasRobustResourceInit && mConfigParams.robustResourceInit.valid()) in createContext()
631 contextAttributes.push_back(mConfigParams.robustResourceInit.value() ? EGL_TRUE in createContext()