Ryujinx/src/Ryujinx.Memory
riperiperi 7df4fcada7
GPU: Remove CPU region handle containers (#4817)
* GPU: Remove CPU region handle containers.

Another one for the "I don't know why I didn't do this earlier" pile.

This removes the "Cpu" prefixed region handle classes, which each mirror a region handle type from Ryujinx.Memory.

Originally, not all projects had a reference to Ryujinx.Memory, so these classes were introduced to bridge the gap. Someone else crossed that bridge since, so these classes don't have much of a purpose anymore.

This PR replaces all uses of CpuRegionHandle etc to their direct Ryujinx.Memory versions.

RegionHandle methods (specifically QueryModified) are about the hottest path there is in the entire emulator, so there is a nice boost from doing this.

* Add docs
2023-05-05 23:40:46 +02:00
..
Range GPU: Fix errors handling texture remapping (#4745) 2023-05-01 15:32:32 -03:00
Tracking GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
WindowsShared Move solution and projects to src 2023-04-27 23:51:14 +02:00
AddressSpaceManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
InvalidAccessHandler.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
InvalidMemoryRegionException.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IRefCounted.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IVirtualMemoryManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IWritableBlock.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryAllocationFlags.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryBlock.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryConstants.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManagement.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManagementUnix.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManagementWindows.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryManagerUnixHelper.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryMapFlags.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryNotContiguousException.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryPermission.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MemoryProtectionException.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
NativeMemoryManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
PageTable.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ryujinx.Memory.csproj Move solution and projects to src 2023-04-27 23:51:14 +02:00
WritableRegion.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00