Lines Matching refs:contextAttributes
1320 std::vector<EGLint> contextAttributes; in createEglContext() local
1321 contextAttributes.reserve(7); in createEglContext()
1322 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createEglContext()
1323 contextAttributes.push_back(contextClientVersion); in createEglContext()
1325 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createEglContext()
1328 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_REALTIME_NV); in createEglContext()
1331 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_MEDIUM_IMG); in createEglContext()
1334 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LOW_IMG); in createEglContext()
1338 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_HIGH_IMG); in createEglContext()
1343 contextAttributes.push_back(EGL_PROTECTED_CONTENT_EXT); in createEglContext()
1344 contextAttributes.push_back(EGL_TRUE); in createEglContext()
1346 contextAttributes.push_back(EGL_NONE); in createEglContext()
1348 EGLContext context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()
1358 contextAttributes[1] = 2; in createEglContext()
1359 context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()