ryujinx/Ryujinx.Graphics.Texture
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
..
Astc
Encoders
Utils Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
BC6Decoder.cs
BC7Decoder.cs Minor code formatting (#4498) 2023-03-04 14:43:08 +01:00
BCnDecoder.cs
BCnEncoder.cs
BlockLinearConstants.cs
BlockLinearLayout.cs
Bpp12Pixel.cs
ETC2Decoder.cs Implement a software ETC2 texture decoder (#4121) 2022-12-21 20:39:58 -03:00
LayoutConverter.cs Update range for remapped sparse textures instead of recreating them (#4442) 2023-03-14 17:08:44 -03:00
OffsetCalculator.cs
PixelConverter.cs GPU: Add fallback when 16-bit formats are not supported (#4108) 2022-12-26 15:50:27 -03:00
Region.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Ryujinx.Graphics.Texture.csproj
Size.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
SizeCalculator.cs
SizeInfo.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00