Home
last modified time | relevance | path

Searched refs:EGL_NO_CONTEXT (Results 1 – 25 of 208) sorted by relevance

123456789

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLCreateContextAttribsTest.cpp39 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
54 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
66 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
73 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
80 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
126 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
133 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
143 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
153 EXPECT_EQ(context, EGL_NO_CONTEXT); in TEST_P()
174 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
[all …]
DEGLMultiContextTest.cpp25 if (context != EGL_NO_CONTEXT) in SafeDestroyContext()
28 context = EGL_NO_CONTEXT; in SafeDestroyContext()
36 EGLMultiContextTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLMultiContextTest()
86 result = (*context != EGL_NO_CONTEXT); in createContext()
116 EGLContext context1 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
117 EGLContext context2 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
124 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
145 EGLContext ctx[kThreadCount] = {EGL_NO_CONTEXT, EGL_NO_CONTEXT}; in TEST_P()
154 ctx[t] = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
155 EXPECT_NE(EGL_NO_CONTEXT, ctx[t]); in TEST_P()
[all …]
DEGLContextSharingTest.cpp26 if (context != EGL_NO_CONTEXT) in SafeDestroyContext()
29 context = EGL_NO_CONTEXT; in SafeDestroyContext()
37 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest()
57 EGLContext mContexts[2] = {EGL_NO_CONTEXT, EGL_NO_CONTEXT};
76 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
132 result = (*context != EGL_NO_CONTEXT); in createContext()
168 ASSERT_TRUE(mContexts[0] != EGL_NO_CONTEXT); in TEST_P()
171 ASSERT_TRUE(mContexts[1] != EGL_NO_CONTEXT); in TEST_P()
204 ASSERT_EQ(EGL_NO_CONTEXT, mContexts[0]); in TEST_P()
210 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in TEST_P()
[all …]
DEGLBackwardsCompatibleContextTest.cpp80 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
125 if (context == EGL_NO_CONTEXT) in TEST_P()
136 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
153 ANGLE_SKIP_TEST_IF(es3Context == EGL_NO_CONTEXT); in TEST_P()
163 EXPECT_NE(es2Context, EGL_NO_CONTEXT); in TEST_P()
167 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
184 ANGLE_SKIP_TEST_IF(es11Context == EGL_NO_CONTEXT); in TEST_P()
189 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
196 EXPECT_NE(es10Context, EGL_NO_CONTEXT); in TEST_P()
201 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
DEGLBufferAgeTest.cpp75 result = (*context != EGL_NO_CONTEXT); in createContext()
114 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
158 context = EGL_NO_CONTEXT; in TEST_P()
169 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
226 context = EGL_NO_CONTEXT; in TEST_P()
237 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
254 EGLContext otherContext = EGL_NO_CONTEXT; in TEST_P()
273 otherContext = EGL_NO_CONTEXT; in TEST_P()
276 context = EGL_NO_CONTEXT; in TEST_P()
305 EGLContext context = EGL_NO_CONTEXT; in TEST_P()
[all …]
DEGLSyncTest.cpp59 EXPECT_NE(context, EGL_NO_CONTEXT); in TEST_P()
96 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
139 EXPECT_NE(context, EGL_NO_CONTEXT); in TEST_P()
147 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
251 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
269 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
287 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
379 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
381 EGLContext context2 = getEGLWindow()->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
407 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
[all …]
DEGLNoConfigContextTest.cpp23 EGLNoConfigContextTest() : mDisplay(EGL_NO_DISPLAY), mContext(EGL_NO_CONTEXT) {} in EGLNoConfigContextTest()
43 EXPECT_TRUE(mContext != EGL_NO_CONTEXT); in testSetUp()
50 if (mContext != EGL_NO_CONTEXT) in testTearDown()
53 mContext = EGL_NO_CONTEXT; in testTearDown()
62 EGLContext mContext = EGL_NO_CONTEXT;
DEGLDisplayPowerPreferenceTest.cpp85 if (context != EGL_NO_CONTEXT) in terminateContext()
155 *context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in initializeContextForDisplay()
156 ASSERT_TRUE(*context != EGL_NO_CONTEXT); in initializeContextForDisplay()
175 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runReinitializeDisplay()
199 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runReinitializeDisplay()
233 eglMakeCurrent(display1, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runMultiDisplay()
236 eglMakeCurrent(display2, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runMultiDisplay()
DEGLContextASANTest.cpp28 if (context != EGL_NO_CONTEXT) in SafeDestroyContext()
31 context = EGL_NO_CONTEXT; in SafeDestroyContext()
56 ASSERT_TRUE(context != EGL_NO_CONTEXT); in TEST_P()
128 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
184 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLContextSharingTest.cpp23 if (context != EGL_NO_CONTEXT) in SafeDestroyContext()
26 context = EGL_NO_CONTEXT; in SafeDestroyContext()
34 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest()
70 ASSERT_TRUE(mContexts[0] != EGL_NO_CONTEXT); in TEST_P()
73 ASSERT_TRUE(mContexts[1] != EGL_NO_CONTEXT); in TEST_P()
101 ASSERT_EQ(EGL_NO_CONTEXT, mContexts[0]); in TEST_P()
107 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in TEST_P()
108 ASSERT_NE(EGL_NO_CONTEXT, mContexts[1]); in TEST_P()
117 ASSERT_TRUE(mContexts[1] == EGL_NO_CONTEXT); in TEST_P()
143 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in TEST_P()
[all …]
DEGLBackwardsCompatibleContextTest.cpp71 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
115 if (context == EGL_NO_CONTEXT) in TEST_P()
143 ANGLE_SKIP_TEST_IF(es3Context == EGL_NO_CONTEXT); in TEST_P()
153 EXPECT_NE(es2Context, EGL_NO_CONTEXT); in TEST_P()
172 ANGLE_SKIP_TEST_IF(es11Context == EGL_NO_CONTEXT); in TEST_P()
183 EXPECT_NE(es10Context, EGL_NO_CONTEXT); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/util/
DEGLWindow.cpp58 mContext(EGL_NO_CONTEXT), in EGLWindow()
295 return EGL_NO_CONTEXT; in createContext()
303 return EGL_NO_CONTEXT; in createContext()
311 return EGL_NO_CONTEXT; in createContext()
320 return EGL_NO_CONTEXT; in createContext()
328 return EGL_NO_CONTEXT; in createContext()
337 return EGL_NO_CONTEXT; in createContext()
345 return EGL_NO_CONTEXT; in createContext()
353 return EGL_NO_CONTEXT; in createContext()
360 return EGL_NO_CONTEXT; in createContext()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DOcclusionQueriesTest.cpp230 EGL_NO_CONTEXT, in TEST_P()
237 EGL_NO_CONTEXT, in TEST_P()
244 EGL_NO_CONTEXT, in TEST_P()
251 EGL_NO_CONTEXT, in TEST_P()
258 EGL_NO_CONTEXT, in TEST_P()
265 EGL_NO_CONTEXT, in TEST_P()
272 EGL_NO_CONTEXT, in TEST_P()
279 EGL_NO_CONTEXT, in TEST_P()
289 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
290 ASSERT_NE(context.context, EGL_NO_CONTEXT); in TEST_P()
[all …]
DMultithreadingTest.cpp54 EGLConfig ctx = EGL_NO_CONTEXT; in runMultithreadedGLTest()
66 ctx = window->createContext(EGL_NO_CONTEXT); in runMultithreadedGLTest()
67 EXPECT_NE(EGL_NO_CONTEXT, ctx); in runMultithreadedGLTest()
80 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in runMultithreadedGLTest()
108 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
124 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
/third_party/skia/third_party/externals/angle2/util/
DEGLWindow.cpp65 mContext(EGL_NO_CONTEXT), in EGLWindow()
529 return EGL_NO_CONTEXT; in createContext()
537 return EGL_NO_CONTEXT; in createContext()
545 return EGL_NO_CONTEXT; in createContext()
553 return EGL_NO_CONTEXT; in createContext()
562 return EGL_NO_CONTEXT; in createContext()
570 return EGL_NO_CONTEXT; in createContext()
579 return EGL_NO_CONTEXT; in createContext()
587 return EGL_NO_CONTEXT; in createContext()
595 return EGL_NO_CONTEXT; in createContext()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultithreadingTest.cpp74 EGLContext ctx = EGL_NO_CONTEXT; in runMultithreadedGLTest()
86 ctx = createMultithreadedContext(window, EGL_NO_CONTEXT); in runMultithreadedGLTest()
87 EXPECT_NE(EGL_NO_CONTEXT, ctx); in runMultithreadedGLTest()
100 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in runMultithreadedGLTest()
178 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
194 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
252 EGLContext ctx1 = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P()
253 EGLContext ctx2 = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P()
271 auto ctx = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P()
475 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglNegativeApiTests.cpp295 expectNoContext(eglCreateContext(EGL_NO_DISPLAY, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
298 expectNoContext(eglCreateContext((EGLDisplay)-1, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
305 expectNoContext(eglCreateContext(display, (EGLConfig)-1, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
318 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init()
326 … expectNoContext(eglCreateContext(display, es2OnlyConfig, EGL_NO_CONTEXT, s_es2ContextAttribList)); in init()
334 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
345 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
353 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
364 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
372 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init()
[all …]
DteglMultiContextTests.cpp152 …_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT); in iterate()
156 if (context == EGL_NO_CONTEXT || error != EGL_SUCCESS) in iterate()
170 if (context != EGL_NO_CONTEXT) in iterate()
205 contexts[contextNdx] = EGL_NO_CONTEXT; in iterate()
209 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
215 if (contexts[contextNdx] != EGL_NO_CONTEXT) in iterate()
220 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
DteglThreadCleanUpTests.cpp107 if (m_context == EGL_NO_CONTEXT) in run()
109 …t context (m_egl, m_display, m_egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList)); in run()
178 , m_context (EGL_NO_CONTEXT) in ThreadCleanUpTest()
209 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
237 if (m_context != EGL_NO_CONTEXT) in deinit()
240 m_context = EGL_NO_CONTEXT; in deinit()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dangle_surface_manager.cc12 egl_context_(EGL_NO_CONTEXT) { in AngleSurfaceManager()
122 egl_context_ = eglCreateContext(egl_display_, egl_config_, EGL_NO_CONTEXT, in Initialize()
124 if (egl_context_ == EGL_NO_CONTEXT) { in Initialize()
133 if (egl_display_ != EGL_NO_DISPLAY && egl_context_ != EGL_NO_CONTEXT) { in CleanUp()
135 egl_context_ = EGL_NO_CONTEXT; in CleanUp()
/third_party/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp36 #define EGL_NO_CONTEXT ((EGLContext)0) macro
171 return EGL_NO_CONTEXT; in CurrentContext()
193 EGLContext fContext = EGL_NO_CONTEXT;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
293 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext()
347 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
350 fContext = EGL_NO_CONTEXT; in destroyGLContext()
357 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
371 if (!TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { in onPlatformMakeNotCurrent()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp114 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()
127 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp114 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()
127 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_context_gl.cc64 EGLContext share = EGL_NO_CONTEXT) { in CreateContext()
69 return {context != EGL_NO_CONTEXT, context}; in CreateContext()
101 if (context != EGL_NO_CONTEXT) { in TeardownContext()
155 context_(EGL_NO_CONTEXT), in AndroidContextGL()
177 share_context != nullptr ? share_context->context_ : EGL_NO_CONTEXT); in AndroidContextGL()
236 EGL_NO_CONTEXT) != EGL_TRUE) { in ClearCurrent()
/third_party/flutter/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp36 #define EGL_NO_CONTEXT ((EGLContext)0) macro
171 return EGL_NO_CONTEXT; in CurrentContext()
193 EGLContext fContext = EGL_NO_CONTEXT;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
279 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext()
320 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
323 fContext = EGL_NO_CONTEXT; in destroyGLContext()
330 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()

123456789