Ryujinx-uplift/Ryujinx.Memory/Range
riperiperi 1fc90e57d2
Update range for remapped sparse textures instead of recreating them (#4442)
* Update sparsely mapped texture ranges without recreating

Important TODO in TexturePool. Smaller TODO: should I look into making textures with views also do this? It needs to be able to detect if the views can be instantly deleted without issue if they're now remapped.

* Actually do partial updates

* Signal group dirty after mappings changed

* Fix various issues (should work now)

* Further optimisation

Should load a lot less data (16x) when partial updating 3d textures.

* Improve stability

* Allow granular uploads on large textures, improve rules

* Actually avoid updating slices that aren't modified.

* Address some feedback, minor optimisation

* Small tweak

* Refactor DereferenceRequest

More specific initialization methods.

* Improve code for resetting handles

* Explain data loading a bit more

* Add some safety for setting null from different threads.

All texture sets come from the one thread, but null sets can come from multiple. Only decrement ref count if we succeeded the null set first.

* Address feedback 1

* Make a bit safer
2023-03-14 17:08:44 -03:00
..
HostMemoryRange.cs Implement support for page sizes > 4KB (#4252) 2023-01-17 05:13:24 +01:00
IMultiRangeItem.cs Support for resources on non-contiguous GPU memory regions (#1905) 2021-01-17 19:44:34 +01:00
INonOverlappingRange.cs Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
IRange.cs Memory Read/Write Tracking using Region Handles (#1272) 2020-10-16 17:18:35 -03:00
MemoryRange.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
MultiRange.cs Update range for remapped sparse textures instead of recreating them (#4442) 2023-03-14 17:08:44 -03:00
MultiRangeList.cs Allow textures to have their data partially mapped (#2629) 2022-02-22 13:34:16 -03:00
NonOverlappingRangeList.cs Memory: Faster Split for NonOverlappingRangeList (#4451) 2023-02-21 10:53:38 +01:00
RangeList.cs Memory: Faster Split for NonOverlappingRangeList (#4451) 2023-02-21 10:53:38 +01:00