Home
last modified time | relevance | path

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

/external/angle/src/tests/egl_tests/
DEGLContextSharingTest.cpp36 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest()
46 for (auto &context : mContexts) in testTearDown()
56 EGLContext mContexts[2]; member in __anonf63aff7a0111::EGLContextSharingTest
70 mContexts[0] = eglCreateContext(display, config, nullptr, contextAttribs); in TEST_P()
72 ASSERT_TRUE(mContexts[0] != EGL_NO_CONTEXT); in TEST_P()
73 mContexts[1] = eglCreateContext(display, config, mContexts[1], contextAttribs); in TEST_P()
75 ASSERT_TRUE(mContexts[1] != EGL_NO_CONTEXT); in TEST_P()
77 ASSERT_EGL_TRUE(SafeDestroyContext(display, mContexts[0])); in TEST_P()
78 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
96 mContexts[0] = eglCreateContext(display, config, nullptr, inShareGroupContextAttribs); in TEST_P()
[all …]
DEGLMultiContextTest.cpp36 EGLMultiContextTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLMultiContextTest()
46 for (auto &context : mContexts) in testTearDown()
56 EGLContext mContexts[2]; member in __anonc90456590111::EGLMultiContextTest
/external/angle/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp38 std::array<EGLContext, 2> mContexts; member in __anone414246c0111::EGLMakeCurrentPerfTest
48 mContexts({}) in EGLMakeCurrentPerfTest()
114 mContexts[0] = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, nullptr); in SetUp()
115 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in SetUp()
116 mContexts[1] = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, nullptr); in SetUp()
117 ASSERT_NE(EGL_NO_CONTEXT, mContexts[1]); in SetUp()
121 ASSERT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[0])); in SetUp()
129 eglDestroyContext(mDisplay, mContexts[0]); in TearDown()
130 eglDestroyContext(mDisplay, mContexts[1]); in TearDown()
138 mCurrContext = (mCurrContext + 1) % mContexts.size(); in step()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DDisplayVk.h36 ContextVkSet *getContexts() { return &mContexts; } in getContexts()
59 ContextVkSet mContexts; variable
/external/angle/src/libANGLE/
DDisplay.h92 ContextSet *getContexts() { return &mContexts; } in getContexts()
106 ContextSet mContexts; variable