OSDN Git Service

svga: Implement the pipe clear_render_target functionality v2
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Oct 2016 18:33:53 +0000 (11:33 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2016 20:29:22 +0000 (14:29 -0600)
commitd787ce7288d63923dd8211e117baea86faaf3539
treee86cbc72ab1dbc40269e669c51299b5f75248c6c
parent76f5f76468225a540c31877bf11fa11d0dcf3225
svga: Implement the pipe clear_render_target functionality v2

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.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_clear.c
src/gallium/drivers/svga/svga_pipe_query.c