OSDN Git Service

vc4: Always unref the current job surfaces at job reset time.
authorEric Anholt <eric@anholt.net>
Wed, 7 Sep 2016 19:40:39 +0000 (12:40 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 14 Sep 2016 05:08:03 +0000 (06:08 +0100)
commitc31a7f529fadc016786eedc35ce65802a915ce09
tree3d613e0273d4873a9e5758032df88ac30ffd8f38
parent774a556b6dc0d49f9f29c438349a66e69062e6e4
vc4: Always unref the current job surfaces at job reset time.

Drops some tricky logic in vc4_flush() trying to update the pointers, and
fixes a broken lack of unref for MSAA surfaces at context destroy time.
src/gallium/drivers/vc4/vc4_blit.c
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_job.c