Ryujinx/src/Ryujinx.Graphics.Gpu/Image
riperiperi e18d258fa0
GPU: Pre-emptively flush textures that are flushed often (to imported memory when available) (#4711)
* WIP texture pre-flush

Improve performance of TextureView GetData to buffer

Fix copy/sync ordering

Fix minor bug

Make this actually work

WIP host mapping stuff

* Fix usage flags

* message

* Cleanup 1

* Fix rebase

* Fix

* Improve pre-flush rules

* Fix pre-flush

* A lot of cleanup

* Use the host memory bits

* Select the correct memory type

* Cleanup TextureGroupHandle

* Missing comment

* Remove debugging logs

* Revert BufferHandle _value access modifier

* One interrupt action at a time.

* Support D32S8 to D24S8 conversion, safeguards

* Interrupt cannot happen in sync handle's lock

Waitable needs to be checked twice now, but this should stop it from deadlocking.

* Remove unused using

* Address some feedback

* Address feedback

* Address more feedback

* Address more feedback

* Improve sync rules

Should allow for faster sync in some cases.
2023-05-01 16:05:12 -03:00
..
AutoDeleteCache.cs Move solution and projects to src 2023-04-27 23:51:14 +02: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 Move solution and projects to src 2023-04-27 23:51:14 +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 GPU: Pre-emptively flush textures that are flushed often (to imported memory when available) (#4711) 2023-05-01 16:05:12 -03:00
TextureBindingInfo.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureBindingsManager.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
TextureCache.cs GPU: Fix errors handling texture remapping (#4745) 2023-05-01 15:32:32 -03:00
TextureCompatibility.cs Move solution and projects to src 2023-04-27 23:51:14 +02: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: Pre-emptively flush textures that are flushed often (to imported memory when available) (#4711) 2023-05-01 16:05:12 -03:00
TextureGroupHandle.cs GPU: Pre-emptively flush textures that are flushed often (to imported memory when available) (#4711) 2023-05-01 16:05:12 -03: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 Move solution and projects to src 2023-04-27 23:51:14 +02: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