There was an error fetching the commit references. Please try again later.
video_core: Rewrite the texture cache
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
Showing
- src/video_core/CMakeLists.txt 25 additions, 22 deletionssrc/video_core/CMakeLists.txt
- src/video_core/buffer_cache/buffer_cache.h 7 additions, 12 deletionssrc/video_core/buffer_cache/buffer_cache.h
- src/video_core/command_classes/vic.cpp 4 additions, 4 deletionssrc/video_core/command_classes/vic.cpp
- src/video_core/compatible_formats.cpp 118 additions, 24 deletionssrc/video_core/compatible_formats.cpp
- src/video_core/compatible_formats.h 2 additions, 21 deletionssrc/video_core/compatible_formats.h
- src/video_core/dirty_flags.cpp 7 additions, 0 deletionssrc/video_core/dirty_flags.cpp
- src/video_core/dirty_flags.h 3 additions, 0 deletionssrc/video_core/dirty_flags.h
- src/video_core/engines/fermi_2d.cpp 29 additions, 60 deletionssrc/video_core/engines/fermi_2d.cpp
- src/video_core/engines/fermi_2d.h 251 additions, 80 deletionssrc/video_core/engines/fermi_2d.h
- src/video_core/engines/kepler_compute.cpp 5 additions, 21 deletionssrc/video_core/engines/kepler_compute.cpp
- src/video_core/engines/kepler_compute.h 0 additions, 5 deletionssrc/video_core/engines/kepler_compute.h
- src/video_core/engines/maxwell_3d.cpp 12 additions, 33 deletionssrc/video_core/engines/maxwell_3d.cpp
- src/video_core/engines/maxwell_3d.h 77 additions, 50 deletionssrc/video_core/engines/maxwell_3d.h
- src/video_core/engines/maxwell_dma.cpp 3 additions, 0 deletionssrc/video_core/engines/maxwell_dma.cpp
- src/video_core/fence_manager.h 15 additions, 2 deletionssrc/video_core/fence_manager.h
- src/video_core/memory_manager.cpp 4 additions, 1 deletionsrc/video_core/memory_manager.cpp
- src/video_core/morton.cpp 0 additions, 250 deletionssrc/video_core/morton.cpp
- src/video_core/morton.h 0 additions, 18 deletionssrc/video_core/morton.h
- src/video_core/rasterizer_interface.h 10 additions, 2 deletionssrc/video_core/rasterizer_interface.h
- src/video_core/renderer_opengl/gl_buffer_cache.cpp 3 additions, 4 deletionssrc/video_core/renderer_opengl/gl_buffer_cache.cpp
Loading
Please register or sign in to comment