MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / renderDirtyRegions

Method renderDirtyRegions

src/OpenLoco/src/Graphics/SoftwareDrawingEngine.cpp:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 }
262
263 void SoftwareDrawingEngine::renderDirtyRegions()
264 {
265 _invalidationGrid.traverseDirtyCells([this](int32_t left, int32_t top, int32_t right, int32_t bottom) {
266 this->render(Rect::fromLTRB(left, top, right, bottom));
267 });
268 }
269
270 void SoftwareDrawingEngine::render(const Rect& _rect)
271 {

Callers

nothing calls this directly

Calls 2

renderMethod · 0.95
traverseDirtyCellsMethod · 0.80

Tested by

no test coverage detected