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/
H A DEGLContextSharingTest.cpp37 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest()
47 for (auto &context : mContexts)
57 EGLContext mContexts[2] = {EGL_NO_CONTEXT, EGL_NO_CONTEXT}; member in __anon20159::EGLContextSharingTest
85 for (auto &context : mContexts)
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[ in TEST_P()
[all...]
H A DEGLMultiContextTest.cpp36 EGLMultiContextTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLMultiContextTest()
46 for (auto &context : mContexts)
106 EGLContext mContexts[2]; member in __anon20161::EGLMultiContextTest
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DEGLMakeCurrentPerf.cpp38 std::array<EGLContext, 2> mContexts; member in __anon20265::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 in step()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A 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()
H A DErrorData.h66 std::vector<std::string> mContexts; member in wgpu::dawn_native::InternalErrorType
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DDisplayVk.h36 ContextVkSet *getContexts() { return &mContexts; } in getContexts()
55 ContextVkSet mContexts; member in rx::ShareGroupVk
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DDisplay.h94 const ContextSet &getContexts() const { return mContexts; } in getContexts()
97 size_t getShareGroupContextCount() const { return mContexts.size(); } in getShareGroupContextCount()
111 ContextSet mContexts; member in egl::final
H A DDisplay.cpp560 for (gl::Context *shareContext : mContexts) in finishAllContexts()
571 mContexts.insert(context); in addSharedContext()

Completed in 7 milliseconds