Ryujinx/Ryujinx.Cpu
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
..
AppleHv Clear CPU side data on GPU buffer clears (#4125) 2023-02-16 18:28:49 -03:00
Jit Clear CPU side data on GPU buffer clears (#4125) 2023-02-16 18:28:49 -03:00
Tracking Update range for remapped sparse textures instead of recreating them (#4442) 2023-03-14 17:08:44 -03:00
AddressSpace.cs Fix NRE when disposing AddressSpace with 4KB pages support (#4307) 2023-01-17 14:50:39 +00:00
ExceptionCallbacks.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ICpuContext.cs Make PPTC state non-static (#4157) 2023-01-05 00:01:44 +01:00
ICpuEngine.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
IDiskCacheState.cs Make PPTC state non-static (#4157) 2023-01-05 00:01:44 +01:00
IExecutionContext.cs Capitalization to be consistent (#3860) 2022-11-17 18:13:37 +01:00
ITickSource.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
IVirtualMemoryManagerTracked.cs Clear CPU side data on GPU buffer clears (#4125) 2023-02-16 18:28:49 -03:00
LoadState.cs Make PPTC state non-static (#4157) 2023-01-05 00:01:44 +01:00
MemoryEhMeilleure.cs Clear CPU side data on GPU buffer clears (#4125) 2023-02-16 18:28:49 -03:00
MemoryHelper.cs Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
MemoryManagerBase.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
PrivateMemoryAllocation.cs Implement support for page sizes > 4KB (#4252) 2023-01-17 05:13:24 +01:00
PrivateMemoryAllocator.cs Implement support for page sizes > 4KB (#4252) 2023-01-17 05:13:24 +01:00
Ryujinx.Cpu.csproj infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
TickSource.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00