diff options
author | Eric Anholt <[email protected]> | 2014-06-28 14:59:18 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-08 18:59:46 -0700 |
commit | c3f96060a8d1ebc9caa7053592e80155a5266e92 (patch) | |
tree | e2cfdaf5184ef6518c8e5cf8deaaa85c48b8ced7 /src/gallium/drivers/vc4/vc4_context.h | |
parent | 21db43021041e8dedc45bb232c10ece83fd09dd1 (diff) |
vc4: Don't reallocate the tile alloc/state bos every frame.
This was a problem for the simulator since we don't free memory back to
it, and it would soon just run out.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index 2aba99248c6..dedd98b4e5b 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -120,6 +120,9 @@ struct vc4_context { struct vc4_cl bo_handles; uint32_t shader_rec_count; + struct vc4_bo *tile_alloc; + struct vc4_bo *tile_state; + struct util_slab_mempool transfer_pool; struct blitter_context *blitter; |