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

Method OnVisualScaleChanged

libs/drape/texture_manager.cpp:423–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423void TextureManager::OnVisualScaleChanged(ref_ptr<dp::GraphicsContext> context, Params const & params)
424{
425 m_resPostfix = params.m_resPostfix;
426
427 OnSwitchMapStyle(context);
428
429 if (context->GetApiVersion() == dp::ApiVersion::Vulkan)
430 m_stipplePenTexture->DeferredCleanup(m_texturesToCleanup);
431
432 InitStipplePen(params);
433}
434
435void TextureManager::InvalidateArrowTexture(ref_ptr<dp::GraphicsContext> context,
436 std::string const & texturePath /* = {} */,

Callers 1

AcceptMessageMethod · 0.80

Calls 2

DeferredCleanupMethod · 0.80
GetApiVersionMethod · 0.45

Tested by

no test coverage detected