Home
last modified time | relevance | path

Searched refs:contextAttributes (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp358 std::vector<EGLint> contextAttributes; in createContext() local
359 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()
/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp589 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local
590 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()