Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/
Digt_draw.c142 static int tile(int x, int y, uint32_t x_tile_size, uint32_t y_tile_size, in tile() argument
149 tile_size = x_tile_size * y_tile_size; in tile()
152 y_tile_n = y / y_tile_size; in tile()
156 y_tile_off = y % y_tile_size; in tile()
161 tile_off = x_tile_off * y_tile_size + y_tile_off; in tile()
168 static void untile(int tiled_pos, int x_tile_size, int y_tile_size, in untile() argument
176 tile_size = x_tile_size * y_tile_size; in untile()
186 y_tile_off = tile_off % y_tile_size; in untile()
187 x_tile_off = tile_off / y_tile_size; in untile()
194 *y = y_tile_n * y_tile_size + y_tile_off; in untile()