Ryujinx-uplift/Ryujinx.Graphics.Gpu
riperiperi 5d69d9103e
Texture/Buffer Memory Management Improvements (#1408)
* Initial implementation. Still pending better valid-overlap handling,
disposed pool, compressed format flush fix.

* Very messy backend resource cache.

* Oops

* Dispose -> Release

* Improve Release/Dispose.

* More rule refinement.

* View compatibility levels as an enum - you can always know if a view is only copy compatible.

* General cleanup.

Use locking on the resource cache, as it is likely to be used by other threads in future.

* Rename resource cache to resource pool.

* Address some of the smaller nits.

* Fix regression with MK8 lens flare

Texture flushes done the old way should trigger memory tracking.

* Use TextureCreateInfo as a key.

It now implements IEquatable and generates a hashcode based on width/height.

* Fix size change for compressed+non-compressed view combos.

Before, this could set either the compressed or non compressed texture with a size with the wrong size, depending on which texture had its size changed. This caused exceptions when flushing the texture.

Now it correctly takes the block size into account, assuming that these textures are only related because a pixel in the non-compressed texture represents a block in the compressed one.

* Implement JD's suggestion for HashCode Combine

Co-authored-by: jduncanator <1518948+jduncanator@users.noreply.github.com>

* Address feedback

* Address feedback.

Co-authored-by: jduncanator <1518948+jduncanator@users.noreply.github.com>
2020-09-10 16:44:04 -03:00
..
Engine Texture/Buffer Memory Management Improvements (#1408) 2020-09-10 16:44:04 -03:00
Image Texture/Buffer Memory Management Improvements (#1408) 2020-09-10 16:44:04 -03:00
Memory Texture/Buffer Memory Management Improvements (#1408) 2020-09-10 16:44:04 -03:00
Shader Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
State Implement a Macro JIT (#1445) 2020-08-03 03:36:57 +02:00
Synchronization Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
ClassId.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
Constants.cs Initial transform feedback support (#1370) 2020-07-15 13:01:10 +10:00
GpuContext.cs Remove GPU MemoryAccessor (#1423) 2020-07-25 16:39:45 +10:00
GraphicsConfig.cs Implement a Macro JIT (#1445) 2020-08-03 03:36:57 +02:00
MethodParams.cs Add XML documentation to Ryujinx.Graphics.Gpu 2020-01-09 02:13:00 +01:00
Ryujinx.Graphics.Gpu.csproj New GPFifo and fast guest constant buffer updates (#1400) 2020-07-23 23:53:25 -03:00
ShadowRamControl.cs Implement MME shadow RAM (#987) 2020-03-13 12:30:26 +11:00
Window.cs Implement Zero-Configuration Resolution Scaling (#1365) 2020-07-07 04:41:07 +02:00