Home
last modified time | relevance | path

Searched refs:makeCurrent (Results 1 – 25 of 190) sorted by relevance

12345678

/external/angle/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp161 EGLBoolean success = mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate()
321 egl::Error DisplayAndroid::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayAndroid
379 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
409 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
417 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
460 if (mEGL->makeCurrent(mMockPbuffer, context) == EGL_FALSE) in createRenderer()
482 if (mEGL->makeCurrent(currentContext.surface, currentContext.context) == EGL_FALSE) in createRenderer()
498 bool makeCurrent() override;
518 bool WorkerContextAndroid::makeCurrent() in makeCurrent() function in rx::WorkerContextAndroid
520 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
[all …]
/external/deqp/framework/platform/win32/
DtcuWGL.cpp161 wglMakeCurrentFunc makeCurrent; member
181 , makeCurrent (DE_NULL) in Functions()
221 m_functions.makeCurrent = (wglMakeCurrentFunc) m_library.getFunction("wglMakeCurrent"); in Library()
227 !m_functions.makeCurrent || in Library()
248 if (!tmpCtx || !m_functions.makeCurrent(tmpWindow.getDeviceContext(), tmpCtx)) in Library()
267 m_functions.makeCurrent(tmpWindow.getDeviceContext(), NULL); in Library()
542 if (!wgl.makeCurrent(deviceCtx, m_context)) in Context()
556 wgl.makeCurrent(m_deviceCtx, NULL); in ~Context()
574 void Context::makeCurrent (void) in makeCurrent() function in tcu::wgl::Context
577 if (!wgl.makeCurrent(m_deviceCtx, m_context)) in makeCurrent()
DtcuWGLContextFactory.cpp78 void makeCurrent (void);
161 void WGLContext::makeCurrent (void) in makeCurrent() function in tcu::wgl::__anondf5ff0680111::WGLContext
163 m_context->makeCurrent(); in makeCurrent()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DSurfaceTextureHelperTest.java139 eglOesBase.makeCurrent(); in testThreeConstantColorFrames()
147 eglBase.makeCurrent(); in testThreeConstantColorFrames()
205 eglOesBase.makeCurrent(); in testLateReturnFrame()
218 eglBase.makeCurrent(); in testLateReturnFrame()
258 eglBase.makeCurrent(); in testDispose()
308 eglBase.makeCurrent(); in testStopListening()
404 eglBase.makeCurrent(); in testRestartListeningWithNewListener()
467 eglBase.makeCurrent(); in testTexturetoYuv()
DGlRectDrawerTest.java103 eglBase.makeCurrent(); in testRgbRendering()
144 eglBase.makeCurrent(); in testYuvRendering()
251 eglBase.makeCurrent();
256 eglBase.makeCurrent();
270 eglBase.makeCurrent();
301 eglBase.makeCurrent();
/external/deqp/external/openglcts/modules/gl/
Dgl4cContextFlushControlTests.cpp101 no_flush_context->makeCurrent(); in iterate()
106 m_context.getRenderContext().makeCurrent(); in iterate()
337 draw_context_setup[i % 2].makeCurrent(); in testTime()
350 void gl4cts::ContextFlushControl::FunctionalTest::DrawSetup::makeCurrent() in makeCurrent() function in gl4cts::ContextFlushControl::FunctionalTest::DrawSetup
353 m_context->makeCurrent(); in makeCurrent()
423 makeCurrent(); in ~DrawSetup()
458 m_test_context.getRenderContext().makeCurrent(); in ~DrawSetup()
/external/deqp/modules/egl/
DteglColorClearCase.cpp197 egl.makeCurrent(display, surface, surface, context); in executeForContexts()
213 egl.makeCurrent(display, surface, surface, context); in executeForContexts()
233 egl.makeCurrent(display, surface, surface, context); in executeForContexts()
239 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in executeForContexts()
300 m_egl.makeCurrent(m_display, m_surface, m_surface, m_context); in run()
308 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in run()
404 egl.makeCurrent(display, surface, surface, context); in executeForContexts()
410 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in executeForContexts()
DteglNegativePartialUpdateTests.cpp127 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
184 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit()
290 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, *dummyPbuffer, *dummyPbuffer, m_eglContext)); in iterate()
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_eglContext)); in iterate()
519 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, *dummyPbuffer, *dummyPbuffer, m_eglContext)); in iterate()
525 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
532 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContext)); in iterate()
DteglRenderTests.cpp775 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
786 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
800 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
817 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
825 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts()
897 EGLU_CHECK_CALL(m_egl, makeCurrent(m_display, m_surface, m_surface, m_context)); in run()
906 EGLU_CHECK_CALL(m_egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in run()
1007 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
1013 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts()
1021 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context)); in executeForContexts()
[all …]
DteglMultiContextTests.cpp181 const eglw::EGLBoolean result = egl.makeCurrent(*display, *surface, *surface, context); in iterate()
209 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
220 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
/external/angle/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp131 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent() function in EGLPresentPathD3D11
310 makeCurrent(); in TEST_P()
323 makeCurrent(); in TEST_P()
337 makeCurrent(); in TEST_P()
350 makeCurrent(); in TEST_P()
/external/angle/src/tests/gl_tests/
DPbufferTest.cpp150 window->makeCurrent(); in TEST_P()
170 window->makeCurrent(); in TEST_P()
197 window->makeCurrent(); in TEST_P()
267 window->makeCurrent(); in TEST_P()
340 window->makeCurrent(); in TEST_P()
453 window->makeCurrent(); in TEST_P()
DPixmapTest.cpp121 window->makeCurrent(); in TEST_P()
141 window->makeCurrent(); in TEST_P()
173 window->makeCurrent(); in TEST_P()
228 window->makeCurrent(); in TEST_P()
DD3DTextureTest.cpp343 window->makeCurrent(); in TEST_P()
722 getEGLWindow()->makeCurrent(); in TEST_P()
757 getEGLWindow()->makeCurrent(); in TEST_P()
809 getEGLWindow()->makeCurrent(); in TEST_P()
877 getEGLWindow()->makeCurrent(); in TEST_P()
948 getEGLWindow()->makeCurrent(); in TEST_P()
987 getEGLWindow()->makeCurrent(); in TEST_P()
1034 getEGLWindow()->makeCurrent(); in TEST_P()
1106 getEGLWindow()->makeCurrent(); in TEST_P()
1148 getEGLWindow()->makeCurrent(); in TEST_P()
[all …]
/external/angle/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp207 if (!mFunctionsWGL->makeCurrent(placeholderDeviceContext, placeholderWGLContext)) in initializeImpl()
219 mFunctionsWGL->makeCurrent(placeholderDeviceContext, nullptr); in initializeImpl()
354 mFunctionsWGL->makeCurrent(mDeviceContext, nullptr); in destroy()
670 egl::Error DisplayWGL::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayWGL
699 if (!mFunctionsWGL->makeCurrent(newDC, newContext)) in makeCurrent()
708 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
900 if (!mFunctionsWGL->makeCurrent(mDeviceContext, context)) in createRenderer()
927 bool makeCurrent() override;
946 mFunctionsWGL->makeCurrent(mDeviceContext, nullptr); in ~WorkerContextWGL()
952 bool WorkerContextWGL::makeCurrent() in makeCurrent() function in rx::WorkerContextWGL
[all …]
/external/skia/tools/gpu/
DTestContext.cpp29 void TestContext::makeCurrent() const { this->onPlatformMakeCurrent(); } in makeCurrent() function in sk_gpu_test::TestContext
33 this->makeCurrent(); in makeCurrentAndAutoRestore()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp148 virtual void makeCurrent (void);
298 void RenderContext::makeCurrent (void) in makeCurrent() function in eglu::__anon7752e3e30111::RenderContext
302 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in makeCurrent()
389 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in create()
479 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
525 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
538 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in postIterate()
547 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
DegluUnique.cpp90 EGLU_CHECK_CALL(m_egl, makeCurrent(display, draw, read, context)); in ScopedCurrentContext()
95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ScopedCurrentContext()
/external/skqp/tools/gpu/
DTestContext.cpp38 void TestContext::makeCurrent() const { this->onPlatformMakeCurrent(); } in makeCurrent() function in sk_gpu_test::TestContext
42 this->makeCurrent(); in makeCurrentAndAutoRestore()
/external/angle/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp71 bool makeCurrent() override;
91 bool WorkerContextEGL::makeCurrent() in makeCurrent() function in __anon770028000111::WorkerContextEGL
93 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
103 mFunctions->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in unmakeCurrent()
267 if (!mEGL->makeCurrent(EGL_NO_SURFACE, context)) in initialize()
292 EGLBoolean success = mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate()
574 egl::Error DisplayEGL::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayEGL
597 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
605 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
734 if (mEGL->makeCurrent(EGL_NO_SURFACE, context) == EGL_FALSE) in createRenderer()
/external/angle/util/windows/
DWGLWindow.cpp126 if (!makeCurrent()) in initializeGL()
177 if (!makeCurrent()) in initializeGL()
209 bool WGLWindow::makeCurrent() in makeCurrent() function in WGLWindow
/external/deqp/external/openglcts/modules/common/
DglcMultipleContextsTests.cpp578 m_base_context->getRenderContext().makeCurrent(); in initSharedContexts()
724 m_shared_contexts[i]->makeCurrent(); in testCase()
728 m_base_context->getRenderContext().makeCurrent(); in testCase()
734 m_shared_contexts[i]->makeCurrent(); in testCase()
738 m_base_context->getRenderContext().makeCurrent(); in testCase()
785 m_shared_contexts[i]->makeCurrent(); in testProgram()
802 m_shared_contexts[i]->makeCurrent(); in testProgram()
/external/skia/tests/
DEGLImageTest.cpp33 glctx1->makeCurrent(); in cleanup()
39 glctx0->makeCurrent(); in cleanup()
141 glCtx0->makeCurrent(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DEGLImageTest.cpp30 glctx1->makeCurrent(); in cleanup()
42 glctx0->makeCurrent(); in cleanup()
145 glCtx0->makeCurrent(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/angle/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp524 if (!mEGL->makeCurrent(EGL_NO_SURFACE, context)) in initialize()
860 mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate()
919 egl::Error DisplayGbm::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayGbm
924 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
995 bool makeCurrent() override;
1012 bool WorkerContextGbm::makeCurrent() in makeCurrent() function in rx::WorkerContextGbm
1014 if (mFunctions->makeCurrent(EGL_NO_SURFACE, mContext) == EGL_FALSE) in makeCurrent()
1024 mFunctions->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in unmakeCurrent()

12345678