freedreno: defer flush_queue allocation
authorRob Clark <robdclark@gmail.com>
Fri, 22 Jul 2016 21:55:59 +0000 (17:55 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 30 Jul 2016 13:23:42 +0000 (09:23 -0400)
commit2d64a003c5059feebcb70b607311d380acc45962
tree07e71ec75ae7cb71a0e28a1894f02d12545447d2
parent4175606474acda62775c41fa95a577e0796ff17f
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 <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_context.c