Home
last modified time | relevance | path

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

12345

/external/angle/src/tests/egl_tests/
DEGLContextSharingTest.cpp78 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
148 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()
185 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
212 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
220 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[1])); in TEST_P()
230 ASSERT_EGL_TRUE(eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
234 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
256 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mContexts[0])); in TEST_P()
269 ASSERT_EGL_TRUE(eglMakeCurrent(display, surface, surface, mainContext)); 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 …]
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()
DEGLSurfaceTest.cpp60 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in tearDownContextAndSurface()
259 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
263 eglMakeCurrent(mDisplay, secondSurface, secondSurface, secondContext); in runMessageLoopTest()
275 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in runMessageLoopTest()
355 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in initializeSurfaceWithFloatConfig()
441 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
444 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
475 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
529 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); in TEST_P()
615 eglMakeCurrent(mDisplay, mWindowSurface, mWindowSurface, mContext); 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()
154 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es3Context)); in TEST_P()
164 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es2Context)); in TEST_P()
184 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es11Context)); in TEST_P()
195 ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mPbuffer, mPbuffer, es10Context)); 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()
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()
DEGLMultiContextTest.cpp69 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, context1)); in TEST_P()
122 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface[0], surface[0], ctx[0])); in TEST_P()
169 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
177 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface[1], surface[1], ctx[1])); in TEST_P()
219 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
DEGLProtectedContentTest.cpp146 EXPECT_TRUE(eglMakeCurrent(mDisplay, pBufferSurface, pBufferSurface, context)); in PbufferTest()
155 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in PbufferTest()
193 EXPECT_TRUE(eglMakeCurrent(mDisplay, windowSurface, windowSurface, context)); in WindowTest()
220 EXPECT_TRUE(eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context)); in WindowTest()
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()
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 …]
/external/angle/src/tests/gl_tests/
DMultithreadingTest.cpp74 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, 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()
171 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
177 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_P()
187 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
241 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx2)); in TEST_P()
242 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx1)); in TEST_P()
258 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, surface, surface, ctx)); in TEST_P()
285 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()
/external/libkmsxx/kmscube/
Dcube-egl.cpp88 EGLBoolean ok = eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, m_context); in EglState()
94 eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~EglState()
112 EGLBoolean ok = eglMakeCurrent(egl.display(), esurface, esurface, egl.context()); in make_current()
/external/angle/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()
/external/deqp/framework/egl/wrapper/
DeglwStaticLibrary14.inl26 { "eglMakeCurrent", (deFunctionPtr)eglMakeCurrent },
DeglwStaticLibrary15.inl35 { "eglMakeCurrent", (deFunctionPtr)eglMakeCurrent },
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp24 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
173 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext()
342 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
420 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT )) { in onPlatformMakeNotCurrent()
426 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java194 if (!mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, mEglContext)) {
247 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, in doFinishGL()
344 mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, in stop()
415 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in drawFrame()
447 mEgl.eglMakeCurrent(mEglDisplay, mPBufferSurface, mPBufferSurface, in drawFrame()
/external/deqp/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 …]
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp48 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
318 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in ANGLEGLContext()
424 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
459 if (!eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { in onPlatformMakeNotCurrent()
465 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp48 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
192 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext()
226 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
298 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
/external/skqp/tools/gpu/gl/angle/
DGLTestContext_angle.cpp45 eglMakeCurrent(display, dsurface, rsurface, context); in context_restorer()
231 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in ANGLEGLContext()
339 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
370 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()

12345