Home
last modified time | relevance | path

Searched refs:eglMakeCurrent (Results 1 – 25 of 122) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLContextSharingTest.cpp76 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
174 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
250 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
269 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
287 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
314 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
322 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
332 ASSERT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
336 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
358 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
[all …]
DEGLSyncTest.cpp96 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
99 eglMakeCurrent(display, drawSurface, readSurface, context); in TEST_P()
147 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
150 eglMakeCurrent(display, drawSurface, readSurface, context); in TEST_P()
251 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
253 eglMakeCurrent(display, surface, surface, context); in TEST_P()
269 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
271 eglMakeCurrent(display, surface, surface, context); in TEST_P()
287 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
289 eglMakeCurrent(display, surface, surface, context); in TEST_P()
[all …]
DEGLBackwardsCompatibleContextTest.cpp80 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
131 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, context)); in TEST_P()
136 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
155 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es3Context)); in TEST_P()
165 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es2Context)); in TEST_P()
167 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
186 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es11Context)); in TEST_P()
189 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
198 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es10Context)); in TEST_P()
201 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
DEGLSurfaceTest.cpp60 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in tearDownContextAndSurface()
282 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
286 eglMakeCurrent(mDisplay, secondSurface, secondSurface, secondContext); in runMessageLoopTest()
298 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
380 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in initializeSurfaceWithFloatConfig()
466 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
469 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
499 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
553 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
639 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
[all …]
DEGLDisplayPowerPreferenceTest.cpp168 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, context1); in runMultiDisplay()
223 eglMakeCurrent(display2, EGL_NO_SURFACE, EGL_NO_SURFACE, context2); in runMultiDisplay()
228 eglMakeCurrent(display1, EGL_NO_SURFACE, EGL_NO_SURFACE, context1); in runMultiDisplay()
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()
DEGLSurfacelessContextTest.cpp66 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
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, context)); in TEST_P()
192 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
212 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
240 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
249 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
260 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, pbuffer, pbuffer, context)); in TEST_P()
DEGLMultiContextTest.cpp119 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()
177 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface[0], surface[0], ctx[0])); in TEST_P()
224 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
232 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface[1], surface[1], ctx[1])); in TEST_P()
274 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
284 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
319 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, srf, srf, ctx)); in TEST_P()
DEGLBufferAgeTest.cpp125 EXPECT_TRUE(eglMakeCurrent(mDisplay, surface, surface, context)); in TEST_P()
149 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
180 EXPECT_TRUE(eglMakeCurrent(mDisplay, surface, surface, context)); in TEST_P()
217 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
259 EXPECT_TRUE(eglMakeCurrent(mDisplay, surface, surface, otherContext)); in TEST_P()
261 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
316 EXPECT_TRUE(eglMakeCurrent(mDisplay, surface, surface, context)); in TEST_P()
334 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
DEGLContextASANTest.cpp128 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
148 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, localContext)); in TEST_P()
168 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, localContext)); in TEST_P()
175 EXPECT_EGL_TRUE(eglMakeCurrent(display, surface, surface, localContext)); in TEST_P()
184 EXPECT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
DEGLProtectedContentTest.cpp386 EXPECT_TRUE(eglMakeCurrent(mDisplay, pBufferSurface, pBufferSurface, context)); in pbufferTest()
396 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in pbufferTest()
432 EXPECT_TRUE(eglMakeCurrent(mDisplay, windowSurface, windowSurface, context)); in windowTest()
459 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in windowTest()
506 EXPECT_TRUE(eglMakeCurrent(mDisplay, windowSurface, windowSurface, context)); in textureTest()
538 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in textureTest()
584 EXPECT_TRUE(eglMakeCurrent(mDisplay, windowSurface, windowSurface, context)); in textureFromImageTest()
629 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in textureFromImageTest()
672 EXPECT_TRUE(eglMakeCurrent(mDisplay, pBufferSurface, pBufferSurface, context)); in textureFromPbufferTest()
690 EXPECT_TRUE(eglMakeCurrent(mDisplay, windowSurface, windowSurface, context)); in textureFromPbufferTest()
[all …]
DEGLPreRotationTest.cpp72 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
308 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
394 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
517 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
668 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
850 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
940 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
1029 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
1124 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
1205 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
[all …]
DEGLX11VisualTest.cpp135 eglMakeCurrent(display, window, window, context); in TEST_P()
151 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
157 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
DEGLDirectCompositionTest.cpp194 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, surface, surface, mEglContext) != EGL_FALSE); in CreateSurface()
254 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) != in TEST_P()
298 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) != in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultithreadingTest.cpp89 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, 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()
188 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
194 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
204 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); 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_SURFACE, ctx1)); in TEST_P()
272 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
299 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
[all …]
DTimerQueriesTest.cpp362 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
371 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
377 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
383 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
390 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
401 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
408 eglMakeCurrent(display, surface, surface, window->getContext()); in TEST_P()
DPbufferTest.cpp159 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
185 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
254 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
327 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
441 eglMakeCurrent(window->getDisplay(), mPbuffer, mPbuffer, window->getContext()); in TEST_P()
DPixmapTest.cpp130 eglMakeCurrent(window->getDisplay(), mPixmap, mPixmap, window->getContext()); in TEST_P()
161 eglMakeCurrent(window->getDisplay(), mPixmap, mPixmap, window->getContext()); in TEST_P()
216 eglMakeCurrent(window->getDisplay(), mPixmap, mPixmap, window->getContext()); in TEST_P()
DD3DTextureTest.cpp342 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
746 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
782 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
833 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
845 eglMakeCurrent(display, window->getSurface(), window->getSurface(), window->getContext()); in TEST_P()
919 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
978 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1006 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1018 eglMakeCurrent(display, window->getSurface(), window->getSurface(), window->getContext()); in TEST_P()
1079 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
[all …]
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp24 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
171 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext()
218 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
296 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT )) { in onPlatformMakeNotCurrent()
302 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp121 ASSERT_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[0])); in SetUp()
127 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
139 eglMakeCurrent(mDisplay, mSurface, mSurface, mContexts[mCurrContext]); in step()
/third_party/vk-gl-cts/modules/egl/
DteglNegativeApiTests.cpp862 expectFalse(eglMakeCurrent(EGL_NO_DISPLAY, DE_NULL, DE_NULL, DE_NULL)); in init()
865 expectFalse(eglMakeCurrent((EGLDisplay)-1, DE_NULL, DE_NULL, DE_NULL)); in init()
896 expectFalse(eglMakeCurrent(display, (EGLSurface)-1, (EGLSurface)-1, context)); in init()
899 expectFalse(eglMakeCurrent(display, surface, (EGLSurface)-1, context)); in init()
902 expectFalse(eglMakeCurrent(display, (EGLSurface)-1, surface, context)); in init()
912 expectFalse(eglMakeCurrent(display, surface, surface, (EGLContext)-1)); in init()
922 expectFalse(eglMakeCurrent(display, surface, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in init()
925 expectFalse(eglMakeCurrent(display, EGL_NO_SURFACE, surface, EGL_NO_CONTEXT)); in init()
928 expectFalse(eglMakeCurrent(display, surface, surface, EGL_NO_CONTEXT)); in init()
982 expectTrue(eglMakeCurrent(display, surface, surface, context)); in init()
[all …]
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp48 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
322 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in ANGLEGLContext()
428 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
471 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { in onPlatformMakeNotCurrent()
477 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
/third_party/vk-gl-cts/framework/egl/wrapper/
DeglwStaticLibrary14.inl26 { "eglMakeCurrent", (deFunctionPtr)eglMakeCurrent },
DeglwStaticLibrary15.inl35 { "eglMakeCurrent", (deFunctionPtr)eglMakeCurrent },
/third_party/skia/tools/sk_app/android/
DGLWindowContext_android.cpp107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
129 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()

12345