Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp313 std::vector<EGLint> contextAttributes; in createContext() local
314 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()
/aosp12/frameworks/native/libs/renderengine/skia/
H A DSkiaGLRenderEngine.cpp1320 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()
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 …]
/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLESRenderEngine.cpp1656 std::vector<EGLint> contextAttributes; in createEglContext() local
1657 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 …]
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/
H A DGLESRenderEngine.cpp1576 std::vector<EGLint> contextAttributes; in createEglContext() local
1577 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 …]
/aosp12/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp743 std::vector<EGLint> contextAttributes; in TEST_F() local
744 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()
/aosp12/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp568 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local
569 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()