X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_flush.h;h=efff94c8c0cfe08c4cf1249e7f65a372aabfc44c;hb=4445e170bee23a3607ece0e010adef7058ac6a11;hp=e516cee37896d95f08806c7078cd414db12e384c;hpb=7951630d0877fc3c293151ad6476bec7288e63c6;p=mesa.git diff --git a/src/gallium/drivers/llvmpipe/lp_flush.h b/src/gallium/drivers/llvmpipe/lp_flush.h index e516cee3789..efff94c8c0c 100644 --- a/src/gallium/drivers/llvmpipe/lp_flush.h +++ b/src/gallium/drivers/llvmpipe/lp_flush.h @@ -32,18 +32,25 @@ struct pipe_context; struct pipe_fence_handle; +struct pipe_resource; -void llvmpipe_flush(struct pipe_context *pipe, unsigned flags, - struct pipe_fence_handle **fence); +void +llvmpipe_flush(struct pipe_context *pipe, + struct pipe_fence_handle **fence, + const char *reason); + +void +llvmpipe_finish( struct pipe_context *pipe, + const char *reason ); boolean llvmpipe_flush_resource(struct pipe_context *pipe, - struct pipe_resource *texture, - unsigned face, - unsigned level, - unsigned flush_flags, - boolean read_only, - boolean cpu_access, - boolean do_not_flush); + struct pipe_resource *resource, + unsigned level, + int layer, + boolean read_only, + boolean cpu_access, + boolean do_not_block, + const char *reason); #endif