diff options
author | Qiang Yu <[email protected]> | 2020-02-04 22:52:59 +0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-17 02:54:15 +0000 |
commit | 4b93792274f363983949502315ca693a83fdfb56 (patch) | |
tree | c1c00ec9adf4a1de0ff07b611e24d1b00d3d7360 /src/gallium/drivers/lima/lima_submit.h | |
parent | a4b048c046cc4861d9ce7da94eeaeca341b7e2f5 (diff) |
lima: move damage_rect into lima_submit
damage_rect is preserved across draws.
Reviewed-by: Vasily Khoruzhick <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
Diffstat (limited to 'src/gallium/drivers/lima/lima_submit.h')
-rw-r--r-- | src/gallium/drivers/lima/lima_submit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_submit.h b/src/gallium/drivers/lima/lima_submit.h index a541296fa21..32b9637b3de 100644 --- a/src/gallium/drivers/lima/lima_submit.h +++ b/src/gallium/drivers/lima/lima_submit.h @@ -29,6 +29,8 @@ #include <util/u_dynarray.h> +#include <pipe/p_state.h> + struct lima_context; struct lima_bo; struct pipe_surface; @@ -54,6 +56,8 @@ struct lima_submit { unsigned resolve; int pp_max_stack_size; + + struct pipe_scissor_state damage_rect; }; struct lima_submit *lima_submit_get(struct lima_context *ctx); |