Searched refs:contextAttributes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 269 std::vector<EGLint> contextAttributes; in createContext() local 270 contextAttributes.reserve(5); in createContext() 271 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createContext() 272 contextAttributes.push_back(GLES_VERSION); in createContext() 274 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createContext() 275 contextAttributes.push_back(Properties::contextPriority); in createContext() 277 contextAttributes.push_back(EGL_NONE); in createContext() 280 EGL_NO_CONTEXT, contextAttributes.data()); in createContext()
|
/frameworks/native/libs/renderengine/gl/ |
D | GLESRenderEngine.cpp | 1349 std::vector<EGLint> contextAttributes; in createEglContext() local 1350 contextAttributes.reserve(7); in createEglContext() 1351 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in createEglContext() 1352 contextAttributes.push_back(contextClientVersion); in createEglContext() 1354 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_LEVEL_IMG); in createEglContext() 1355 contextAttributes.push_back(EGL_CONTEXT_PRIORITY_HIGH_IMG); in createEglContext() 1358 contextAttributes.push_back(EGL_PROTECTED_CONTENT_EXT); in createEglContext() 1359 contextAttributes.push_back(EGL_TRUE); in createEglContext() 1361 contextAttributes.push_back(EGL_NONE); in createEglContext() 1363 EGLContext context = eglCreateContext(display, config, shareContext, contextAttributes.data()); in createEglContext() [all …]
|
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/ |
D | Renderer.cpp | 121 const EGLint contextAttributes[] = { in ThreadState() local 126 context = eglCreateContext(display, config, nullptr, contextAttributes); in ThreadState()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 744 std::vector<EGLint> contextAttributes; in TEST_F() local 745 contextAttributes.reserve(4); in TEST_F() 746 contextAttributes.push_back(EGL_CONTEXT_CLIENT_VERSION); in TEST_F() 747 contextAttributes.push_back(2); in TEST_F() 748 contextAttributes.push_back(EGL_NONE); in TEST_F() 749 contextAttributes.push_back(EGL_NONE); in TEST_F() 752 contextAttributes.data()); in TEST_F()
|
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/ |
D | Renderer.cpp | 165 const EGLint contextAttributes[] = { in State() local 170 context = eglCreateContext(display, config, nullptr, contextAttributes); in State()
|