freedreno: support for using generic clear path
authorRob Clark <robdclark@gmail.com>
Thu, 11 Aug 2016 15:57:28 +0000 (11:57 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 16 Aug 2016 13:21:13 +0000 (09:21 -0400)
commita8e6734a83816df2a39e5c4c49721d762caee86b
treed6d402b474dd2628219583c7ced41b8de2c4e5a8
parent142dd7b9c043fca81f8ef1d0bbd378968f9260df
freedreno: support for using generic clear path

Since clears are more or less just normal draws, there isn't that much
benefit in having hand-rolled clear path.  Add support to use u_blitter
instead if gen specific backend doesn't implement ctx->clear().

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_resource.h