iris: move iris_vtable to iris_screen
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 30 Mar 2020 14:37:29 +0000 (10:37 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 16:59:45 +0000 (16:59 +0000)
commit91375f13ce05ab637aa6275dbb7bcb8a9c4cfdb9
tree87624a36470e388aaad279e634739a04e6d7be63
parente581ddeeeecf9475d0634794ee126096d0f23135
iris: move iris_vtable to iris_screen

instead of inlining this into every context, now a struct is used in the screen
struct to reduce memory usage and simplify a couple of the methods

Closes: https://gitlab.freedesktop.org/kwg/mesa/-/issues/6
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4376>
19 files changed:
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_blorp.c
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_disk_cache.c
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_perf.c
src/gallium/drivers/iris/iris_pipe_control.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_program_cache.c
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_resolve.c
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_screen.h
src/gallium/drivers/iris/iris_state.c
src/gallium/winsys/iris/drm/iris_drm_winsys.c