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

Method DisableWritingToStencil

libs/drape_frontend/postprocess_renderer.cpp:381–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void PostprocessRenderer::DisableWritingToStencil(ref_ptr<dp::GraphicsContext> context) const
382{
383 if (!m_frameStarted || !CanRenderAntialiasing())
384 return;
385 context->SetStencilTestEnabled(false);
386}
387
388void PostprocessRenderer::UpdateFramebuffers(ref_ptr<dp::GraphicsContext> context, uint32_t width, uint32_t height)
389{

Callers 1

~StencilWriterGuardMethod · 0.80

Calls 1

SetStencilTestEnabledMethod · 0.45

Tested by

no test coverage detected