Home
last modified time | relevance | path

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

1234567

/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::__anonad0fdc610111::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/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()
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()
DteglSurfacelessContextTests.cpp114 if (!egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, *context)) in executeForConfig()
131 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
DteglNativeCoordMappingTests.cpp381 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, context)); in testNativeWindow()
401 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativeWindow()
428 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, context)); in testNativePixmap()
446 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmap()
472 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, context)); in testNativePixmapCopy()
491 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmapCopy()
/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/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/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/vk-gl-cts/framework/egl/
DegluGLContextFactory.cpp148 virtual void makeCurrent (void);
298 void RenderContext::makeCurrent (void) in makeCurrent() function in eglu::__anon5270217c0111::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/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/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/src/libANGLE/renderer/gl/egl/
DDisplayEGL.cpp72 bool makeCurrent() override;
92 bool WorkerContextEGL::makeCurrent() in makeCurrent() function in __anonc26706b20111::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 …]
/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/tests/
DEGLImageTest.cpp33 glctx1->makeCurrent(); in cleanup()
39 glctx0->makeCurrent(); in cleanup()
141 glCtx0->makeCurrent(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageTest.cpp383 testContext->makeCurrent(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
963 testContext->makeCurrent(); in test_cross_context_image()
966 otherTestContext->makeCurrent(); in test_cross_context_image()
970 testContext->makeCurrent(); in test_cross_context_image()
976 testContext->makeCurrent(); in test_cross_context_image()
979 otherTestContext->makeCurrent(); in test_cross_context_image()
982 testContext->makeCurrent(); in test_cross_context_image()
985 otherTestContext->makeCurrent(); in test_cross_context_image()
996 testContext->makeCurrent(); in test_cross_context_image()
1005 otherTestContext->makeCurrent(); in test_cross_context_image()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DDisplayGLX.cpp289 if (!mGLX.makeCurrent(mInitPbuffer, mContext)) in initialize()
395 egl::Error DisplayGLX::makeCurrent(egl::Display *display, in makeCurrent() function in rx::DisplayGLX
413 if (mGLX.makeCurrent(newDrawable, newContext) != True) in makeCurrent()
421 return DisplayGL::makeCurrent(display, drawSurface, readSurface, context); in makeCurrent()
995 bool makeCurrent() override;
1016 bool WorkerContextGLX::makeCurrent() in makeCurrent() function in rx::WorkerContextGLX
1018 Bool result = mFunctions->makeCurrent(mBuffer, mContext); in makeCurrent()
1029 mFunctions->makeCurrent(0, nullptr); in unmakeCurrent()

1234567