Ryujinx/src/Ryujinx.Graphics.Gpu/Image
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
..
AutoDeleteCache.cs GPU: Keep rendered textures without any pool references alive (#4662) 2023-05-01 16:27:51 -03:00
FormatInfo.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
FormatTable.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ITextureDescriptor.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Pool.cs GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
PoolCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ReductionFilter.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Sampler.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
SamplerDescriptor.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
SamplerMinFilter.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
SamplerMipFilter.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
SamplerPool.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
SamplerPoolCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Texture.cs Fix some invalid blits involving depth textures (#4723) 2023-05-03 21:20:12 -03:00
TextureBindingInfo.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureBindingsManager.cs Fix typo in TextureBindingsManager.cs (#4798) 2023-05-05 22:17:36 +02:00
TextureCache.cs Fix some invalid blits involving depth textures (#4723) 2023-05-03 21:20:12 -03:00
TextureCompatibility.cs Fix some invalid blits involving depth textures (#4723) 2023-05-03 21:20:12 -03:00
TextureComponent.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureDependency.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureDescriptor.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureDescriptorType.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureGroup.cs GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
TextureGroupHandle.cs GPU: Remove CPU region handle containers (#4817) 2023-05-05 23:40:46 +02:00
TextureInfo.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureMatchQuality.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureMsaaMode.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TexturePool.cs GPU: Fix errors handling texture remapping (#4745) 2023-05-01 15:32:32 -03:00
TexturePoolCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureScaleMode.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureSearchFlags.cs Fix some invalid blits involving depth textures (#4723) 2023-05-03 21:20:12 -03:00
TextureTarget.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureViewCompatibility.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00