Searched refs:contextAttributes (Results 1 – 5 of 5) sorted by relevance
448 std::vector<EGLint> contextAttributes; in createEglContext() local449 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()[all …]
361 std::vector<EGLint> contextAttributes; in createContext() local362 contextAttributes.reserve(5); in createContext()363 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createContext()364 contextAttributes.push_back(GLES_VERSION); in createContext()366 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createContext()367 contextAttributes.push_back(Properties::contextPriority); in createContext()369 contextAttributes.push_back(EGL_NONE); in createContext()372 EGL_NO_CONTEXT, contextAttributes.data()); in createContext()
1576 std::vector<EGLint> contextAttributes; in createEglContext() local1577 contextAttributes.reserve(7); in createEglContext()1578 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createEglContext()1579 contextAttributes.push_back(contextClientVersion); in createEglContext()1581 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createEglContext()1582 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_HIGH_IMG); in createEglContext()1585 contextAttributes.push_back(EGL_PROTECTED_CONTENT_EXT); in createEglContext()1586 contextAttributes.push_back(EGL_TRUE); in createEglContext()1588 contextAttributes.push_back(EGL_NONE); in createEglContext()1590 EGLContext context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()[all …]
751 std::vector<EGLint> contextAttributes; in TEST_F() local752 contextAttributes.reserve(4); in TEST_F()753 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in TEST_F()754 contextAttributes.push_back(2); in TEST_F()755 contextAttributes.push_back(EGL_NONE); in TEST_F()756 contextAttributes.push_back(EGL_NONE); in TEST_F()759 contextAttributes.data()); in TEST_F()
602 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local603 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()