radeon/video: use more of the common buffer code v2
authorChristian König <christian.koenig@amd.com>
Thu, 11 Sep 2014 07:29:28 +0000 (09:29 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 11 Sep 2014 13:05:55 +0000 (15:05 +0200)
commit4bc0059229f212e91ca266ef3f80b652b1cdcb86
treeff01c59ef02a3aba3733ac6dc09c1dc679046e93
parent771ab951a8d3d16f577f0438a8d03544ff32b21f
radeon/video: use more of the common buffer code v2

In preparation to using buffers clears with the hw engine(s).

v2: split out flipping to using hw buffer clears.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeon/radeon_vce.c
src/gallium/drivers/radeon/radeon_vce.h
src/gallium/drivers/radeon/radeon_vce_40_2_2.c
src/gallium/drivers/radeon/radeon_video.c
src/gallium/drivers/radeon/radeon_video.h