freedreno: add gmem state cache

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [chromium.org] - 29 January 2020 21:19 EST

Which also has the benefit of getting rid of fd_context::gmem.

91f9bb99c5e freedreno: add gmem state cache
src/gallium/drivers/freedreno/freedreno_context.h | 8 -
src/gallium/drivers/freedreno/freedreno_gmem.c | 314 +++++++++++++++-------
src/gallium/drivers/freedreno/freedreno_gmem.h | 32 ++-
src/gallium/drivers/freedreno/freedreno_screen.c | 2 +
src/gallium/drivers/freedreno/freedreno_screen.h | 2 +
5 files changed, 256 insertions(+), 102 deletions(-)

Upstream: cgit.freedesktop.org


  • Share