Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLContextSharingTest.cpp37 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest()
47 for (auto &context : mContexts) in testTearDown()
57 EGLContext mContexts[2] = {EGL_NO_CONTEXT, EGL_NO_CONTEXT}; member in __anonc4a626380111::EGLContextSharingTest
85 for (auto &context : mContexts) in testTearDown()
166 mContexts[0] = eglCreateContext(display, config, nullptr, contextAttribs); in TEST_P()
168 ASSERT_TRUE(mContexts[0] != EGL_NO_CONTEXT); in TEST_P()
169 mContexts[1] = eglCreateContext(display, config, mContexts[1], contextAttribs); in TEST_P()
171 ASSERT_TRUE(mContexts[1] != EGL_NO_CONTEXT); in TEST_P()
173 ASSERT_EGL_TRUE(SafeDestroyContext(display, mContexts[0])); in TEST_P()
174 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); 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()
106 EGLContext mContexts[2]; member in __anon685ab5970111::EGLMultiContextTest
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp38 std::array<EGLContext, 2> mContexts; member in __anon836a83aa0111::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 …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DErrorData.cpp47 mContexts.push_back(std::move(context)); in AppendContext()
67 return mContexts; in GetContexts()
78 if (!mContexts.empty()) { in GetFormattedMessage()
79 for (auto context : mContexts) { in GetFormattedMessage()
86 if (mContexts.empty() || mType != InternalErrorType::Validation) { in GetFormattedMessage()
DErrorData.h66 std::vector<std::string> mContexts; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DDisplayVk.h36 ContextVkSet *getContexts() { return &mContexts; } in getContexts()
55 ContextVkSet mContexts; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.h94 const ContextSet &getContexts() const { return mContexts; } in getContexts()
97 size_t getShareGroupContextCount() const { return mContexts.size(); } in getShareGroupContextCount()
111 ContextSet mContexts; variable
DDisplay.cpp560 for (gl::Context *shareContext : mContexts) in finishAllContexts()
571 mContexts.insert(context); in addSharedContext()