MCPcopy Create free account
hub / github.com/comaps/comaps / SetFramebuffer

Method SetFramebuffer

qt/qt_common/qtoglcontext.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void QtRenderOGLContext::SetFramebuffer(ref_ptr<dp::BaseFramebuffer> framebuffer)
49{
50 if (framebuffer)
51 framebuffer->Bind();
52 else if (m_backFrame != nullptr)
53 m_backFrame->bind();
54}
55
56void QtRenderOGLContext::Resize(uint32_t w, uint32_t h)
57{

Callers

nothing calls this directly

Calls 2

BindMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected