From c3f96060a8d1ebc9caa7053592e80155a5266e92 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 28 Jun 2014 14:59:18 -0700 Subject: 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. --- src/gallium/drivers/vc4/vc4_context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/vc4/vc4_context.h') 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; -- cgit v1.2.3