Searched refs:contextAttributes (Results 1 – 6 of 6) sorted by relevance
313 std::vector<EGLint> contextAttributes; in createContext() local314 contextAttributes.reserve(5); in createContext()315 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createContext()316 contextAttributes.push_back(GLES_VERSION); in createContext()318 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createContext()319 contextAttributes.push_back(Properties::contextPriority); in createContext()321 contextAttributes.push_back(EGL_NONE); in createContext()324 EGL_NO_CONTEXT, contextAttributes.data()); in createContext()
1320 std::vector<EGLint> contextAttributes; in createEglContext() local1321 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()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()[all …]
1656 std::vector<EGLint> contextAttributes; in createEglContext() local1657 contextAttributes.reserve(7); in createEglContext()1658 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createEglContext()1659 contextAttributes.push_back(contextClientVersion); in createEglContext()1661 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createEglContext()1670 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LOW_IMG); in createEglContext()1674 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_HIGH_IMG); in createEglContext()1679 contextAttributes.push_back(EGL_PROTECTED_CONTENT_EXT); in createEglContext()1680 contextAttributes.push_back(EGL_TRUE); in createEglContext()1682 contextAttributes.push_back(EGL_NONE); in createEglContext()[all …]
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()1600 contextAttributes[1] = 2; in createEglContext()[all …]
743 std::vector<EGLint> contextAttributes; in TEST_F() local744 contextAttributes.reserve(4); in TEST_F()745 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in TEST_F()746 contextAttributes.push_back(2); in TEST_F()747 contextAttributes.push_back(EGL_NONE); in TEST_F()748 contextAttributes.push_back(EGL_NONE); in TEST_F()751 contextAttributes.data()); in TEST_F()
568 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local569 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()