Align UI storage event runtime contracts

This commit is contained in:
liu weikai committed 2026-06-15 01:50:49 +08:00
1 parent f055d36fd5
commit b2d19334af
11 files changed
+2291 -61

No files matched your search

@@ -60,6 +60,15 @@ std::size_t MapTileAsyncRuntime::requestVisibleTiles(const MapViewportPlan& plan
return queued;
}
std::size_t MapTileAsyncRuntime::cancelGeneration(uint32_t generation)
{
if (active_generation_ == generation)
{
active_generation_ = 0;
}
return commands_.cancelGeneration(generation);
}
bool MapTileAsyncRuntime::handleEvent(const MapTileAsyncEvent& event, MapTileRenderQueue& render_queue)
{
if (event.generation != active_generation_)