Home
last modified time | relevance | path

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

1234567

/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSurfacelessContextTest.cpp59 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
130 if (eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)) in TEST_P()
151 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
179 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
199 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
226 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
235 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in TEST_P()
246 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, pbuffer, pbuffer, context)); in TEST_P()
DEGLSurfaceTest.cpp56 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
207 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
211 eglMakeCurrent(mDisplay, secondSurface, secondSurface, secondContext); in runMessageLoopTest()
223 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
284 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
287 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
312 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
363 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
439 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
468 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
[all …]
DEGLBackwardsCompatibleContextTest.cpp71 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in testTearDown()
121 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, context)); in TEST_P()
145 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es3Context)); in TEST_P()
155 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es2Context)); in TEST_P()
174 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es11Context)); in TEST_P()
185 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es10Context)); in TEST_P()
DEGLContextSharingTest.cpp76 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
146 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
167 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
193 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
224 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
233 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
DEGLSyncTest.cpp90 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
93 eglMakeCurrent(display, drawSurface, readSurface, context); in TEST_P()
141 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_P()
144 eglMakeCurrent(display, drawSurface, readSurface, 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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultithreadingTest.cpp69 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, 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()
118 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
124 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
134 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
DTimerQueriesTest.cpp353 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
362 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
368 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
374 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
381 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
392 eglMakeCurrent(display, surface, surface, contexts[1].context); in TEST_P()
399 eglMakeCurrent(display, surface, surface, window->getContext()); in TEST_P()
DOcclusionQueriesTest.cpp292 eglMakeCurrent(display, surface, surface, context.context); in TEST_P()
310 eglMakeCurrent(display, surface, surface, context.context); in TEST_P()
322 eglMakeCurrent(display, surface, surface, context.context); in TEST_P()
334 eglMakeCurrent(display, surface, surface, window->getContext()); in TEST_P()
DD3DTextureTest.cpp347 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
751 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
787 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
838 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
850 eglMakeCurrent(display, window->getSurface(), window->getSurface(), window->getContext()); in TEST_P()
924 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
983 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1011 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
1023 eglMakeCurrent(display, window->getSurface(), window->getSurface(), window->getContext()); in TEST_P()
1084 eglMakeCurrent(display, pbuffer, pbuffer, window->getContext()); in TEST_P()
[all …]
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_surface_gl.cc74 if (eglMakeCurrent(eglDisplay_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) != EGL_TRUE) { in TeardownOnScreenContext()
151 if ((eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_) != EGL_TRUE)) { in GLContextMakeCurrent()
171 if (eglMakeCurrent(eglDisplay_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) != EGL_TRUE) { in GLContextClearCurrent()
221 (eglMakeCurrent(eglDisplay_, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) != EGL_TRUE)) { in InitRenderSurface()
/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/flutter/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()

1234567