diff options
author | Rob Clark <[email protected]> | 2016-07-22 17:55:59 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-30 09:23:42 -0400 |
commit | 2d64a003c5059feebcb70b607311d380acc45962 (patch) | |
tree | 07e71ec75ae7cb71a0e28a1894f02d12545447d2 /src/gallium/drivers/freedreno/freedreno_context.c | |
parent | 4175606474acda62775c41fa95a577e0796ff17f (diff) |
freedreno: defer flush_queue allocation
Some apps, like warsow, create a bazillion contexts but don't render on
most of them.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 269602e1496..ab2faa429d6 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -184,8 +184,6 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, */ if (!screen->reorder) { ctx->batch = fd_bc_alloc_batch(&screen->batch_cache, ctx); - } else { - util_queue_init(&ctx->flush_queue, "flush_queue", 16, 1); } util_slab_create(&ctx->transfer_pool, sizeof(struct fd_transfer), |