| 802 | } |
| 803 | |
| 804 | void BackendRenderer::CleanupTextures() |
| 805 | { |
| 806 | // For Vulkan we initialize deferred cleaning up. |
| 807 | if (m_context->GetApiVersion() == dp::ApiVersion::Vulkan) |
| 808 | { |
| 809 | auto textures = m_texMng->GetTexturesToCleanup(); |
| 810 | if (!textures.empty()) |
| 811 | m_commutator->PostMessage(ThreadsCommutator::RenderThread, |
| 812 | make_unique_dp<CleanupTexturesMessage>(std::move(textures)), MessagePriority::Normal); |
| 813 | } |
| 814 | } |
| 815 | |
| 816 | void BackendRenderer::FlushGeometry(TileKey const & key, dp::RenderState const & state, |
| 817 | drape_ptr<dp::RenderBucket> && buffer) |
nothing calls this directly
no test coverage detected