lima: move damage_rect into lima_submit
authorQiang Yu <yuq825@gmail.com>
Tue, 4 Feb 2020 14:52:59 +0000 (22:52 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit4b93792274f363983949502315ca693a83fdfb56
treec1c00ec9adf4a1de0ff07b611e24d1b00d3d7360
parenta4b048c046cc4861d9ce7da94eeaeca341b7e2f5
lima: move damage_rect into lima_submit

damage_rect is preserved across draws.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
src/gallium/drivers/lima/lima_context.c
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_submit.c
src/gallium/drivers/lima/lima_submit.h