aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_submit.h
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2020-02-04 22:52:59 +0800
committerMarge Bot <[email protected]>2020-02-17 02:54:15 +0000
commit4b93792274f363983949502315ca693a83fdfb56 (patch)
treec1c00ec9adf4a1de0ff07b611e24d1b00d3d7360 /src/gallium/drivers/lima/lima_submit.h
parenta4b048c046cc4861d9ce7da94eeaeca341b7e2f5 (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.h4
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);