• Home
  • Raw
  • Download

Lines Matching refs:contextAttributes

605     std::vector<EGLint> contextAttributes;  in createContext()  local
609 contextAttributes.push_back(extraAttrib[0]); in createContext()
610 contextAttributes.push_back(extraAttrib[1]); in createContext()
615 contextAttributes.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createContext()
616 contextAttributes.push_back(mClientMajorVersion); in createContext()
618 contextAttributes.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createContext()
619 contextAttributes.push_back(mClientMinorVersion); in createContext()
625 contextAttributes.push_back(EGL_CONTEXT_OPENGL_DEBUG); in createContext()
626 contextAttributes.push_back(mConfigParams.debug ? EGL_TRUE : EGL_FALSE); in createContext()
633 contextAttributes.push_back(EGL_CONTEXT_OPENGL_NO_ERROR_KHR); in createContext()
634 contextAttributes.push_back(mConfigParams.noError ? EGL_TRUE : EGL_FALSE); in createContext()
639 contextAttributes.push_back(EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE); in createContext()
640 contextAttributes.push_back(mConfigParams.webGLCompatibility.value() ? EGL_TRUE in createContext()
646 contextAttributes.push_back(EGL_EXTENSIONS_ENABLED_ANGLE); in createContext()
647 contextAttributes.push_back(mConfigParams.extensionsEnabled.value() ? EGL_TRUE in createContext()
653 contextAttributes.push_back(EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT); in createContext()
654 contextAttributes.push_back(mConfigParams.robustAccess ? EGL_TRUE : EGL_FALSE); in createContext()
656 contextAttributes.push_back(EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT); in createContext()
657 contextAttributes.push_back(mConfigParams.resetStrategy); in createContext()
662 contextAttributes.push_back(EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM); in createContext()
663 contextAttributes.push_back(mConfigParams.bindGeneratesResource ? EGL_TRUE : EGL_FALSE); in createContext()
668 contextAttributes.push_back(EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE); in createContext()
669 contextAttributes.push_back(mConfigParams.clientArraysEnabled ? EGL_TRUE : EGL_FALSE); in createContext()
674 contextAttributes.push_back(EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE); in createContext()
675 contextAttributes.push_back( in createContext()
684 contextAttributes.push_back(EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE); in createContext()
685 contextAttributes.push_back(EGL_FALSE); in createContext()
692 contextAttributes.push_back(EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE); in createContext()
693 contextAttributes.push_back(mConfigParams.robustResourceInit.value() ? EGL_TRUE in createContext()
697 contextAttributes.push_back(EGL_NONE); in createContext()
699 EGLContext context = eglCreateContext(mDisplay, mConfig, share, &contextAttributes[0]); in createContext()