lima: move framebuffer info to lima_submit
authorQiang Yu <yuq825@gmail.com>
Sun, 9 Feb 2020 12:07:12 +0000 (20:07 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commitd0dde3de25aca535a35ee58850340a0bfdab9dab
tree465a8b5a94e5e641d1601737d53cad7c846ef741
parented117ee630f449fe6d2ed9e205a6dc80bed6dfa2
lima: move framebuffer info to lima_submit

draw code path does not use framebuffer info, only flush
code path use it now.

Use zsbuf/cbuf in submit instead of context.

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_state.c
src/gallium/drivers/lima/lima_submit.c
src/gallium/drivers/lima/lima_submit.h