Home
last modified time | relevance | path

Searched refs:DIRTY_BLOCK_WIDTH (Results 1 – 1 of 1) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dgfx.cpp80 static const uint DIRTY_BLOCK_WIDTH = 64; variable
1472 _dirty_bytes_per_line = CeilDiv(_screen.width, DIRTY_BLOCK_WIDTH); in ScreenSizeChanged()
1602 const int w = Align(_screen.width, DIRTY_BLOCK_WIDTH); in DrawDirtyBlocks()
1614 int right = x + DIRTY_BLOCK_WIDTH; in DrawDirtyBlocks()
1642 right += DIRTY_BLOCK_WIDTH; in DrawDirtyBlocks()
1666 } while (b++, (x += DIRTY_BLOCK_WIDTH) != w); in DrawDirtyBlocks()
1667 …} while (b += -(int)(w / DIRTY_BLOCK_WIDTH) + _dirty_bytes_per_line, (y += DIRTY_BLOCK_HEIGHT) != … in DrawDirtyBlocks()
1706 left /= DIRTY_BLOCK_WIDTH; in AddDirtyBlock()
1711 width = ((right - 1) / DIRTY_BLOCK_WIDTH) - left + 1; in AddDirtyBlock()