Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp448 std::vector<EGLint> contextAttributes; in createEglContext() local
449 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 …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp361 std::vector<EGLint> contextAttributes; in createContext() local
362 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()
/frameworks/av/media/libstagefright/renderfright/gl/
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()
1590 EGLContext context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext()
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp751 std::vector<EGLint> contextAttributes; in TEST_F() local
752 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()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp602 EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in readyToRun() local
603 EGLContext context = eglCreateContext(display, config, nullptr, contextAttributes); in readyToRun()