/external/angle/src/tests/egl_tests/ |
D | EGLCreateContextAttribsTest.cpp | 39 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 …]
|
D | EGLMultiContextTest.cpp | 25 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() 66 EGLContext context1 = window->createContext(EGL_NO_CONTEXT); in TEST_P() 67 EGLContext context2 = window->createContext(EGL_NO_CONTEXT); in TEST_P() 90 EGLContext ctx[kThreadCount] = {EGL_NO_CONTEXT, EGL_NO_CONTEXT}; in TEST_P() 99 ctx[t] = window->createContext(EGL_NO_CONTEXT); in TEST_P() 100 EXPECT_NE(EGL_NO_CONTEXT, ctx[t]); in TEST_P() 169 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 219 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
|
D | EGLContextSharingTest.cpp | 25 if (context != EGL_NO_CONTEXT) in SafeDestroyContext() 28 context = EGL_NO_CONTEXT; in SafeDestroyContext() 36 EGLContextSharingTest() : mContexts{EGL_NO_CONTEXT, EGL_NO_CONTEXT}, mTexture(0) {} in EGLContextSharingTest() 72 ASSERT_TRUE(mContexts[0] != EGL_NO_CONTEXT); in TEST_P() 75 ASSERT_TRUE(mContexts[1] != EGL_NO_CONTEXT); in TEST_P() 103 ASSERT_EQ(EGL_NO_CONTEXT, mContexts[0]); in TEST_P() 109 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in TEST_P() 110 ASSERT_NE(EGL_NO_CONTEXT, mContexts[1]); in TEST_P() 119 ASSERT_TRUE(mContexts[1] == EGL_NO_CONTEXT); in TEST_P() 145 ASSERT_NE(EGL_NO_CONTEXT, mContexts[0]); in TEST_P() [all …]
|
D | EGLBufferAgeTest.cpp | 75 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 …]
|
D | EGLNoConfigContextTest.cpp | 23 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;
|
D | EGLSyncTest.cpp | 59 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); in TEST_P() 407 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() [all …]
|
D | EGLBackwardsCompatibleContextTest.cpp | 80 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown() 125 if (context == EGL_NO_CONTEXT) in TEST_P() 152 ANGLE_SKIP_TEST_IF(es3Context == EGL_NO_CONTEXT); in TEST_P() 162 EXPECT_NE(es2Context, EGL_NO_CONTEXT); in TEST_P() 182 ANGLE_SKIP_TEST_IF(es11Context == EGL_NO_CONTEXT); in TEST_P() 193 EXPECT_NE(es10Context, EGL_NO_CONTEXT); in TEST_P()
|
D | EGLQueryContextTest.cpp | 41 EXPECT_TRUE(mContext != EGL_NO_CONTEXT); in testSetUp() 57 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown() 70 EGLContext mContext = EGL_NO_CONTEXT; 135 mContext = EGL_NO_CONTEXT; in TEST_P() 141 EXPECT_TRUE(eglQueryContext(mDisplay, EGL_NO_CONTEXT, EGL_CONTEXT_CLIENT_TYPE, &val) == in TEST_P()
|
D | EGLContextASANTest.cpp | 28 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()
|
D | EGLSurfaceTestMac.mm | 68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes); 69 ASSERT_TRUE(mContext != EGL_NO_CONTEXT); 79 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 87 if (mContext != EGL_NO_CONTEXT) 120 EGLContext mContext = EGL_NO_CONTEXT;
|
/external/angle/util/ |
D | EGLWindow.cpp | 58 mContext(EGL_NO_CONTEXT), in EGLWindow() 451 return EGL_NO_CONTEXT; in createContext() 459 return EGL_NO_CONTEXT; in createContext() 467 return EGL_NO_CONTEXT; in createContext() 475 return EGL_NO_CONTEXT; in createContext() 484 return EGL_NO_CONTEXT; in createContext() 492 return EGL_NO_CONTEXT; in createContext() 501 return EGL_NO_CONTEXT; in createContext() 509 return EGL_NO_CONTEXT; in createContext() 517 return EGL_NO_CONTEXT; in createContext() [all …]
|
/external/angle/src/libANGLE/renderer/gl/egl/android/ |
D | DisplayAndroid.cpp | 142 ANGLE_TRY(createRenderer(EGL_NO_CONTEXT, true, false, &mRenderer)); in initialize() 161 EGLBoolean success = mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate() 202 EGLContext nativeShareContext = EGL_NO_CONTEXT; in createContext() 335 EGLContext newContext = EGL_NO_CONTEXT; in makeCurrent() 349 ASSERT(currentContext.context == EGL_NO_CONTEXT); in makeCurrent() 362 ASSERT(newContext != EGL_NO_CONTEXT); in makeCurrent() 371 ASSERT(newContext == EGL_NO_CONTEXT); in makeCurrent() 372 ASSERT(currentContext.context != EGL_NO_CONTEXT); in makeCurrent() 373 currentContext.context = EGL_NO_CONTEXT; in makeCurrent() 384 if (mVirtualizedContexts && newContext != EGL_NO_CONTEXT) in makeCurrent() [all …]
|
/external/deqp/modules/egl/ |
D | teglNegativeApiTests.cpp | 295 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 …]
|
D | teglMultiContextTests.cpp | 152 …_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()
|
D | teglThreadCleanUpTests.cpp | 107 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()
|
D | teglCreateContextTests.cpp | 98 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); in executeForConfig() 101 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in executeForConfig() 147 …const EGLContext context = egl.createContext(*display, (EGLConfig)0, EGL_NO_CONTEXT, s_apis[apiNdx… in iterate() 150 if (context == EGL_NO_CONTEXT && err == EGL_BAD_MATCH && s_apis[apiNdx].noConfigOptional) in iterate() 154 else if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in iterate()
|
/external/angle/src/tests/gl_tests/ |
D | MultithreadingTest.cpp | 59 EGLContext ctx = EGL_NO_CONTEXT; in runMultithreadedGLTest() 71 ctx = window->createContext(EGL_NO_CONTEXT); in runMultithreadedGLTest() 72 EXPECT_NE(EGL_NO_CONTEXT, ctx); in runMultithreadedGLTest() 85 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in runMultithreadedGLTest() 161 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 177 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 238 EGLContext ctx1 = window->createContext(EGL_NO_CONTEXT); in TEST_P() 239 EGLContext ctx2 = window->createContext(EGL_NO_CONTEXT); in TEST_P() 257 auto ctx = window->createContext(EGL_NO_CONTEXT); in TEST_P() 463 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() [all …]
|
D | OcclusionQueriesTest.cpp | 657 EGL_NO_CONTEXT, in TEST_P() 664 EGL_NO_CONTEXT, in TEST_P() 671 EGL_NO_CONTEXT, in TEST_P() 678 EGL_NO_CONTEXT, in TEST_P() 685 EGL_NO_CONTEXT, in TEST_P() 692 EGL_NO_CONTEXT, in TEST_P() 699 EGL_NO_CONTEXT, in TEST_P() 706 EGL_NO_CONTEXT, in TEST_P() 716 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() 717 ASSERT_NE(context.context, EGL_NO_CONTEXT); in TEST_P() [all …]
|
/external/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 35 #define EGL_NO_CONTEXT ((EGLContext)0) macro 170 return EGL_NO_CONTEXT; in CurrentContext() 192 EGLContext fContext = EGL_NO_CONTEXT; 218 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext() 277 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext() 318 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext() 321 fContext = EGL_NO_CONTEXT; in destroyGLContext() 328 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext() 342 if (!TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { in onPlatformMakeNotCurrent()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | egl_context.cc | 51 if (context == EGL_NO_CONTEXT) { in CreateContext() 65 if (context_ != EGL_NO_CONTEXT) { in Invalidate() 67 eglMakeCurrent(display_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Invalidate() 70 context_ = EGL_NO_CONTEXT; in Invalidate() 80 other.context_ = EGL_NO_CONTEXT; in EglContext()
|
D | egl_environment.cc | 73 if (eglGetCurrentContext() != EGL_NO_CONTEXT) { in Init() 101 RETURN_IF_ERROR(CreateConfiglessContext(display_, EGL_NO_CONTEXT, &context_)); in InitConfiglessContext() 107 CreateSurfacelessContext(display_, EGL_NO_CONTEXT, &context_)); in InitSurfacelessContext() 121 RETURN_IF_ERROR(CreatePBufferContext(display_, EGL_NO_CONTEXT, &context_)); in InitPBufferContext()
|
/external/angle/src/tests/perf_tests/ |
D | EGLMakeCurrentPerf.cpp | 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() 127 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
|
/external/skqp/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 36 #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()
|
/external/skqp/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android() 98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext() 127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext() 130 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
|
/external/skia/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android() 98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext() 129 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext() 132 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
|