/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLDisplayPowerPreferenceTest.cpp | 168 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, context); in runReinitializeDisplay() 175 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runReinitializeDisplay() 191 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, context); in runReinitializeDisplay() 199 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in runReinitializeDisplay() 214 eglMakeCurrent(display1, EGL_NO_SURFACE, EGL_NO_SURFACE, context in runMultiDisplay() [all...] |
H A D | EGLSurfacelessContextTest.cpp | 66 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 73 if (mPbuffer != EGL_NO_SURFACE) 95 return EGL_NO_SURFACE; in createPbuffer() 102 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); in createPbuffer() 132 EGLSurface mPbuffer = EGL_NO_SURFACE; 143 if (eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)) in TEST_P() 164 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, contex in TEST_P() [all...] |
H A D | EGLBufferAgeTest.cpp | 86 result = (*surface != EGL_NO_SURFACE); in createWindowSurface() 118 EGLSurface surface = EGL_NO_SURFACE; in TEST_P() 149 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P() 153 surface = EGL_NO_SURFACE; in TEST_P() 173 EGLSurface surface = EGL_NO_SURFACE; in TEST_P() 217 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P() 221 surface = EGL_NO_SURFACE; in TEST_P() 241 EGLSurface surface = EGL_NO_SURFACE; in TEST_P() [all...] |
H A D | EGLBackwardsCompatibleContextTest.cpp | 74 EXPECT_TRUE(mPbuffer != EGL_NO_SURFACE); 80 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 82 if (mPbuffer != EGL_NO_SURFACE) 91 EGLSurface mPbuffer = EGL_NO_SURFACE; 136 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 167 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 189 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFAC in TEST_P() [all...] |
H A D | EGLMultiContextTest.cpp | 101 result = (*surface != EGL_NO_SURFACE); in createPbufferSurface() 119 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, context1)); in TEST_P() 124 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 144 EGLSurface surface[kThreadCount] = {EGL_NO_SURFACE, EGL_NO_SURFACE}; in TEST_P() 224 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 274 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFAC in TEST_P() [all...] |
H A D | EGLContextSharingTest.cpp | 76 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 78 if (mSurface != EGL_NO_SURFACE) 82 mSurface = EGL_NO_SURFACE; 143 result = (*surface != EGL_NO_SURFACE); in createWindowSurface() 150 EGLSurface mSurface = EGL_NO_SURFACE; 332 ASSERT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 477 EGLSurface surface[kThreadCount] = {EGL_NO_SURFACE, EGL_NO_SURFACE}; in TEST_P() [all...] |
H A D | EGLProtectedContentTest.cpp | 117 result = (*surface != EGL_NO_SURFACE); in createPbufferSurface() 133 result = (*surface != EGL_NO_SURFACE); in createWindowSurface() 150 result = (*image != EGL_NO_SURFACE); in createImage() 382 EGLSurface pBufferSurface = EGL_NO_SURFACE; in pbufferTest() 396 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in pbufferTest() 400 pBufferSurface = EGL_NO_SURFACE; in pbufferTest() 426 EGLSurface windowSurface = EGL_NO_SURFACE; in windowTest() 459 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, contex in windowTest() [all...] |
H A D | EGLSyncTest.cpp | 60 EXPECT_NE(drawSurface, EGL_NO_SURFACE); in TEST_P() 61 EXPECT_NE(readSurface, EGL_NO_SURFACE); in TEST_P() 96 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P() 140 EXPECT_NE(drawSurface, EGL_NO_SURFACE); in TEST_P() 141 EXPECT_NE(readSurface, EGL_NO_SURFACE); 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_CONTEX [all...] |
H A D | EGLContextASANTest.cpp | 128 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P() 168 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, localContext)); in TEST_P() 184 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
|
H A D | EGLPresentPathD3D11Test.cpp | 23 mSurface(EGL_NO_SURFACE), in EGLPresentPathD3D11() 128 ASSERT_TRUE(EGL_NO_SURFACE != mSurface); in createPbufferFromClientBufferSurface() 139 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 141 if (mSurface != EGL_NO_SURFACE) 144 mSurface = EGL_NO_SURFACE; 150 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
|
H A D | EGLQueryContextTest.cpp | 49 EXPECT_TRUE(mSurface != EGL_NO_SURFACE); 57 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 71 EGLSurface mSurface = EGL_NO_SURFACE; 134 mSurface = EGL_NO_SURFACE; in TEST_P()
|
H A D | EGLDeviceTest.cpp | 36 mSurface(EGL_NO_SURFACE), in EGLDeviceCreationTest() 78 if (mSurface != EGL_NO_SURFACE) 81 mSurface = EGL_NO_SURFACE; 86 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 248 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
|
H A D | EGLSurfaceTest.cpp | 40 mWindowSurface(EGL_NO_SURFACE), in EGLSurfaceTest() 41 mPbufferSurface(EGL_NO_SURFACE), in EGLSurfaceTest() 60 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in tearDownContextAndSurface() 62 if (mWindowSurface != EGL_NO_SURFACE) in tearDownContextAndSurface() 65 mWindowSurface = EGL_NO_SURFACE; in tearDownContextAndSurface() 68 if (mPbufferSurface != EGL_NO_SURFACE) in tearDownContextAndSurface() 71 mPbufferSurface = EGL_NO_SURFACE; in tearDownContextAndSurface() 101 ASSERT_TRUE(mWindowSurface == EGL_NO_SURFACE && mContext == EGL_NO_CONTEXT); 157 ASSERT_EQ(mWindowSurface, EGL_NO_SURFACE); in initializeWindowSurfaceWithAttribs() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
H A D | Display.cpp | 306 return error(EGL_BAD_MATCH, EGL_NO_SURFACE); // Rendering directly to front buffer not supported in createWindowSurface() 308 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createWindowSurface() 312 return error(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 314 return error(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 316 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createWindowSurface() 325 return error(EGL_BAD_ALLOC, EGL_NO_SURFACE); in createWindowSurface() 333 return EGL_NO_SURFACE; in createWindowSurface() 376 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface() 391 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface() 404 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface() [all...] |
H A D | libEGL.cpp | 361 return EGL_NO_SURFACE; in CreatePlatformWindowSurface() 370 return error(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in CreatePlatformWindowSurface() 410 return EGL_NO_SURFACE; in CreatePbufferSurface() 427 return EGL_NO_SURFACE; in CreatePlatformPixmapSurface() 432 return success(EGL_NO_SURFACE); in CreatePlatformPixmapSurface() 467 if(surface == EGL_NO_SURFACE) in DestroySurface() 492 if(surface == EGL_NO_SURFACE) in QuerySurface() 638 return EGL_NO_SURFACE; in CreatePbufferFromClientBuffer() 645 return error(EGL_BAD_PARAMETER, EGL_NO_SURFACE); in CreatePbufferFromClientBuffer() 647 return error(EGL_BAD_PARAMETER, EGL_NO_SURFACE); in CreatePbufferFromClientBuffer() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MultithreadingTest.cpp | 73 EGLSurface surface = EGL_NO_SURFACE; 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() 255 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx2)); in TEST_P() 256 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFAC in TEST_P() [all...] |
/third_party/skia/tools/gpu/gl/command_buffer/ |
H A D | GLTestContext_command_buffer.cpp | 34 #define EGL_NO_SURFACE ((EGLSurface)0) macro 161 return EGL_NO_SURFACE; in CurrentSurface() 164 return EGL_NO_SURFACE; in CurrentSurface() 191 EGLSurface fReadSurface = EGL_NO_SURFACE; 192 EGLSurface fDrawSurface = EGL_NO_SURFACE; 220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { 279 if (EGL_NO_SURFACE == fSurface) { 357 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 360 if (EGL_NO_SURFACE ! [all...] |
/third_party/skia/tools/sk_app/android/ |
H A D | GLWindowContext_android.cpp | 48 , fSurfaceAndroid(EGL_NO_SURFACE) in GLWindowContext_android() 105 SkASSERT(EGL_NO_SURFACE != fSurfaceAndroid); in onInitializeContext() 129 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext() 133 fSurfaceAndroid = EGL_NO_SURFACE; in onDestroyContext()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglNegativePartialUpdateTests.cpp | 126 TCU_CHECK(eglSurface != EGL_NO_SURFACE); in initAndMakeCurrentEGLContext() 139 , m_eglSurface (EGL_NO_SURFACE) in NegativePartialUpdateTest() 184 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit() 189 if (m_eglSurface != EGL_NO_SURFACE) in deinit() 192 m_eglSurface = EGL_NO_SURFACE; in deinit() 309 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate() 330 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContex in iterate() [all...] |
H A D | teglNegativeApiTests.cpp | 110 // - EGL_BAD_MATCH is generated if context is set to EGL_NO_CONTEXT and draw or read are not set to EGL_NO_SURFACE in init() 111 // - EGL_BAD_MATCH is generated if draw or read are set to EGL_NO_SURFACE and context is not set to EGL_NO_CONTEXT in init() 174 expectFalse(eglBindTexImage(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 177 expectFalse(eglBindTexImage((EGLDisplay)-1, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 184 expectFalse(eglBindTexImage(display, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 211 expectFalse(eglCopyBuffers(EGL_NO_DISPLAY, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 214 expectFalse(eglCopyBuffers((EGLDisplay)-1, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 223 expectFalse(eglCopyBuffers(display, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 871 EGLSurface surface = EGL_NO_SURFACE; in init() 892 if (surface != EGL_NO_SURFACE in init() [all...] |
H A D | teglMultiThreadTests.cpp | 767 if (m_pbuffers0[pbufferNdx] != EGL_NO_SURFACE) in deinit() 771 m_pbuffers0[pbufferNdx] = EGL_NO_SURFACE; in deinit() 778 if (m_pbuffers1[pbufferNdx] != EGL_NO_SURFACE) in deinit() 782 m_pbuffers1[pbufferNdx] = EGL_NO_SURFACE; in deinit() 789 if (m_sharedPbuffers[pbufferNdx] != EGL_NO_SURFACE) in deinit() 793 m_sharedPbuffers[pbufferNdx] = EGL_NO_SURFACE; in deinit() 834 if (m_nativePixmaps0[pixmapNdx].second != EGL_NO_SURFACE) in deinit() 837 m_nativePixmaps0[pixmapNdx].second = EGL_NO_SURFACE; in deinit() 845 if (m_nativePixmaps1[pixmapNdx].second != EGL_NO_SURFACE) in deinit() 848 m_nativePixmaps1[pixmapNdx].second = EGL_NO_SURFACE; in deinit() [all...] |
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluUnique.cpp | 59 if (m_surface != EGL_NO_SURFACE) in ~UniqueSurface() 65 return m_surface != EGL_NO_SURFACE; in operator bool() 95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ScopedCurrentContext()
|
H A D | egluGLContextFactory.cpp | 180 , m_eglSurface (EGL_NO_SURFACE) in RenderContext() 239 EGLSurface surface = EGL_NO_SURFACE; in createWindow() 262 EGLSurface surface = EGL_NO_SURFACE; in createPixmap() 479 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy() 481 if (m_eglSurface != EGL_NO_SURFACE) in destroy() 491 m_eglSurface = EGL_NO_SURFACE; in destroy() 525 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate() 527 m_eglSurface = EGL_NO_SURFACE; in postIterate() [all...] |
/third_party/skia/tools/sk_app/win/ |
H A D | ANGLEWindowContext_win.cpp | 54 EGLSurface fEGLSurface = EGL_NO_SURFACE; 113 if (EGL_NO_SURFACE == fEGLSurface) { in onInitializeContext() 147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext() 151 if (EGL_NO_SURFACE != fEGLSurface) { in onDestroyContext()
|
/third_party/skia/tools/gpu/gl/egl/ |
H A D | CreatePlatformGLTestContext_egl.cpp | 77 , fSurface(EGL_NO_SURFACE) { in EGLGLTestContext() 164 if (EGL_NO_SURFACE == fSurface) { in EGLGLTestContext() 218 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext() 226 fSurface = EGL_NO_SURFACE; in destroyGLContext() 296 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT )) { in onPlatformMakeNotCurrent()
|