swr/rast: Refactor memory API between rasterizer core and swr
authorJan Zielinski <jan.zielinski@intel.com>
Wed, 17 Jul 2019 15:22:16 +0000 (17:22 +0200)
committerJan Zielinski <jan.zielinski@intel.com>
Thu, 18 Jul 2019 14:17:00 +0000 (16:17 +0200)
commit6f7306c029a7ebe776b513a157b939c866f4d240
tree4a32632558b8c5eae6a46bbc2bee0b764b95002b
parent4627a0c4ebc777716e7cadfd80e4f9d5b411762b
swr/rast: Refactor memory API between rasterizer core and swr

This commit cleans up API between the core of the rasterizer and swr.
Some formatting changes are also done.

Reviewed-by: Alok Hota <alok.hota@intel.com>
30 files changed:
src/gallium/drivers/swr/SConscript
src/gallium/drivers/swr/meson.build
src/gallium/drivers/swr/rasterizer/_clang-format [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/codegen/meson.build
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_builder.hpp
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/api.h
src/gallium/drivers/swr/rasterizer/core/backend_impl.h
src/gallium/drivers/swr/rasterizer/core/backend_sample.cpp
src/gallium/drivers/swr/rasterizer/core/backend_singlesample.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/format_conversion.h
src/gallium/drivers/swr/rasterizer/core/state.h
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp
src/gallium/drivers/swr/rasterizer/memory/InitMemory.cpp
src/gallium/drivers/swr/rasterizer/memory/InitMemory.h
src/gallium/drivers/swr/rasterizer/memory/LoadTile.h
src/gallium/drivers/swr/rasterizer/memory/StoreTile.h
src/gallium/drivers/swr/rasterizer/memory/SurfaceState.h [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/memory/TilingFunctions.h
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_context.h
src/gallium/drivers/swr/swr_loader.cpp
src/gallium/drivers/swr/swr_memory.h
src/gallium/drivers/swr/swr_resource.h
src/gallium/drivers/swr/swr_screen.h
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/swr/swr_tex_sample.cpp