Home
last modified time | relevance | path

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

12345678910

/third_party/skia/third_party/externals/angle2/util/windows/
DWGLWindow.cpp206 if (!makeCurrent()) in initializeGLWithResult()
237 if (!makeCurrent(context)) in createContext()
323 if (!makeCurrent()) in createContextGeneric()
331 bool WGLWindow::makeCurrent() in makeCurrent() function in WGLWindow
333 return makeCurrent(mWGLContext); in makeCurrent()
339 return makeCurrent(wglContext); in makeCurrentGeneric()
342 bool WGLWindow::makeCurrent(HGLRC context) in makeCurrent() function in WGLWindow
DWGLWindow.h45 bool makeCurrent() override;
58 bool makeCurrent(HGLRC context);
/third_party/vk-gl-cts/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::__anon4911c3800111::WGLContext
163 m_context->makeCurrent(); in makeCurrent()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp175 EGLBoolean success = mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate()
504 egl::Error DisplayAndroid::makeCurrent(egl::Surface *drawSurface, in makeCurrent() function in rx::DisplayAndroid
552 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
560 return DisplayGL::makeCurrent(drawSurface, readSurface, context); in makeCurrent()
608 if (mEGL->makeCurrent(mDummyPbuffer, context) == EGL_FALSE) in createRenderer()
629 if (mEGL->makeCurrent(currentContext.surface, currentContext.context) == EGL_FALSE) in createRenderer()
645 bool makeCurrent() override;
665 bool WorkerContextAndroid::makeCurrent() in makeCurrent() function in rx::WorkerContextAndroid
667 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
677 mFunctions->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in unmakeCurrent()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp133 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent() function in EGLPresentPathD3D11
312 makeCurrent(); in TEST_P()
325 makeCurrent(); in TEST_P()
339 makeCurrent(); in TEST_P()
352 makeCurrent(); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp131 void makeCurrent() { ASSERT_EGL_TRUE(eglMakeCurrent(mDisplay, mSurface, mSurface, mContext)); } in makeCurrent() function in EGLPresentPathD3D11
312 makeCurrent(); in TEST_P()
325 makeCurrent(); in TEST_P()
339 makeCurrent(); in TEST_P()
352 makeCurrent(); in TEST_P()
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp207 if (!mFunctionsWGL->makeCurrent(dummyDeviceContext, dummyWGLContext)) in initializeImpl()
219 mFunctionsWGL->makeCurrent(dummyDeviceContext, nullptr); in initializeImpl()
354 mFunctionsWGL->makeCurrent(mDeviceContext, nullptr); in destroy()
686 egl::Error DisplayWGL::makeCurrent(egl::Surface *drawSurface, in makeCurrent() function in rx::DisplayWGL
718 if (!mFunctionsWGL->makeCurrent(newDC, newContext)) in makeCurrent()
727 return DisplayGL::makeCurrent(drawSurface, readSurface, context); in makeCurrent()
919 if (!mFunctionsWGL->makeCurrent(mDeviceContext, context)) in createRenderer()
946 bool makeCurrent() override;
965 mFunctionsWGL->makeCurrent(mDeviceContext, nullptr); in ~WorkerContextWGL()
971 bool WorkerContextWGL::makeCurrent() in makeCurrent() function in rx::WorkerContextWGL
[all …]
/third_party/skia/third_party/externals/angle2/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.cpp344 window->makeCurrent(); in TEST_P()
723 getEGLWindow()->makeCurrent(); in TEST_P()
758 getEGLWindow()->makeCurrent(); in TEST_P()
810 getEGLWindow()->makeCurrent(); in TEST_P()
878 getEGLWindow()->makeCurrent(); in TEST_P()
949 getEGLWindow()->makeCurrent(); in TEST_P()
988 getEGLWindow()->makeCurrent(); in TEST_P()
1035 getEGLWindow()->makeCurrent(); in TEST_P()
1107 getEGLWindow()->makeCurrent(); in TEST_P()
1149 getEGLWindow()->makeCurrent(); in TEST_P()
[all …]
/third_party/skia/tools/gpu/
DTestContext.cpp29 void TestContext::makeCurrent() const { this->onPlatformMakeCurrent(); } in makeCurrent() function in sk_gpu_test::TestContext
33 this->makeCurrent(); in makeCurrentAndAutoRestore()
/third_party/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp148 virtual void makeCurrent (void);
298 void RenderContext::makeCurrent (void) in makeCurrent() function in eglu::__anon814b35fb0111::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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DPbufferTest.cpp119 window->makeCurrent(); in TEST_P()
139 window->makeCurrent(); in TEST_P()
166 window->makeCurrent(); in TEST_P()
269 window->makeCurrent(); in TEST_P()
DD3DTextureTest.cpp349 window->makeCurrent(); in TEST_P()
728 getEGLWindow()->makeCurrent(); in TEST_P()
763 getEGLWindow()->makeCurrent(); in TEST_P()
815 getEGLWindow()->makeCurrent(); in TEST_P()
883 getEGLWindow()->makeCurrent(); in TEST_P()
954 getEGLWindow()->makeCurrent(); in TEST_P()
993 getEGLWindow()->makeCurrent(); in TEST_P()
1040 getEGLWindow()->makeCurrent(); in TEST_P()
1112 getEGLWindow()->makeCurrent(); in TEST_P()
1154 getEGLWindow()->makeCurrent(); in TEST_P()
[all …]
/third_party/flutter/skia/tools/gpu/
DTestContext.cpp38 void TestContext::makeCurrent() const { this->onPlatformMakeCurrent(); } in makeCurrent() function in sk_gpu_test::TestContext
42 this->makeCurrent(); in makeCurrentAndAutoRestore()
/third_party/flutter/skia/third_party/externals/angle2/util/windows/
DWGLWindow.cpp119 if (!makeCurrent()) in initializeGL()
170 if (!makeCurrent()) in initializeGL()
202 bool WGLWindow::makeCurrent() in makeCurrent() function in WGLWindow
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/util/
DEGLWindow.h97 virtual bool makeCurrent() = 0;
156 bool makeCurrent() override;
179 bool makeCurrent(EGLContext context);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp72 bool makeCurrent() override;
92 bool WorkerContextEGL::makeCurrent() in makeCurrent() function in __anon415f0f910111::WorkerContextEGL
94 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
104 mFunctions->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in unmakeCurrent()
382 EGLBoolean success = mEGL->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminate()
718 egl::Error DisplayEGL::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayEGL
776 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
781 if (mEGL->makeCurrent(newSurface, newContext) == EGL_FALSE) in makeCurrent()
789 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
943 if (mEGL->makeCurrent(mMockPbuffer, context) == EGL_FALSE) in createRenderer()
[all …]

12345678910