Lines Matching refs:contextAttributes
448 std::vector<EGLint> contextAttributes; in createEglContext() local
449 contextAttributes.reserve(7); in createEglContext()
450 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createEglContext()
451 contextAttributes.push_back(contextClientVersion); in createEglContext()
453 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createEglContext()
456 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_REALTIME_NV); in createEglContext()
459 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_MEDIUM_IMG); in createEglContext()
462 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LOW_IMG); in createEglContext()
466 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_HIGH_IMG); in createEglContext()
471 contextAttributes.push_back(EGL_PROTECTED_CONTENT_EXT); in createEglContext()
472 contextAttributes.push_back(EGL_TRUE); in createEglContext()
474 contextAttributes.push_back(EGL_NONE); in createEglContext()
476 EGLContext context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()
486 contextAttributes[1] = 2; in createEglContext()
487 context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()