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

Method OnFramebufferFallback

libs/drape_frontend/postprocess_renderer.cpp:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420bool PostprocessRenderer::OnFramebufferFallback(ref_ptr<dp::GraphicsContext> context)
421{
422 if (m_frameStarted)
423 {
424 context->SetFramebuffer(make_ref(m_mainFramebuffer));
425 return true;
426 }
427
428 return m_framebufferFallback();
429}
430
431void PostprocessRenderer::OnChangedRouteFollowingMode(ref_ptr<dp::GraphicsContext> context, bool isRouteFollowingActive)
432{

Callers 1

OnContextCreateMethod · 0.80

Calls 2

make_refFunction · 0.85
SetFramebufferMethod · 0.45

Tested by

no test coverage detected