Searched refs:contextAttributes (Results 1 – 2 of 2) sorted by relevance
358 std::vector<EGLint> contextAttributes; in createContext() local359 contextAttributes.reserve(5); in createContext()360 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createContext()361 contextAttributes.push_back(GLES_VERSION); in createContext()363 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createContext()364 contextAttributes.push_back(Properties::contextPriority); in createContext()366 contextAttributes.push_back(EGL_NONE); in createContext()369 EGL_NO_CONTEXT, contextAttributes.data()); in createContext()
589 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local590 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()