svga: Implement the pipe clear_render_target functionality v2

Graphics / Mesa 3D Graphics Library / Mesa - Thomas Hellstrom [vmware.com] - 3 November 2016 15:29 UTC

v2: Accounted for the fact that svga_try_clear_render_target also honors conditional rendering.

Testing done: Excercised all functions in a separate feature branch. Forced emission of conditional rendering commands when necessary.

d787ce7 svga: Implement the pipe clear_render_target functionality v2
src/gallium/drivers/svga/svga_context.c | 1 +
src/gallium/drivers/svga/svga_context.h | 7 +-
src/gallium/drivers/svga/svga_pipe_clear.c | 129 ++++++++++++++++++++++++++++
src/gallium/drivers/svga/svga_pipe_query.c | 2 +
4 files changed, 138 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share