vc4: Keep a reference to BOs queued for rendering.
authorEric Anholt <eric@anholt.net>
Thu, 31 Jul 2014 19:19:29 +0000 (12:19 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Aug 2014 21:45:30 +0000 (14:45 -0700)
commit027d730aff4abf89f8c01049d245c670c6740a26
tree902a2eafb47db0b485be662b50d838cef76d3014
parent771d86abd6c204cef82c5838b1ed20e4b8dbfa85
vc4: Keep a reference to BOs queued for rendering.

Otherwise, once we're not flushing at the end of every draw, we'll free
things like gallium resources, and free the backing GEM object, before
we've flushed the rendering using it to the kernel.
src/gallium/drivers/vc4/vc4_cl.c
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h