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 Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Encoders Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Utils Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
BC6Decoder.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
BC7Decoder.cs Minor code formatting (#4498) 2023-03-04 14:43:08 +01:00
BCnDecoder.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
BCnEncoder.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
BlockLinearConstants.cs
BlockLinearLayout.cs Use BitOperations methods and delete now unused BitUtils methods (#3134) 2022-02-18 02:35:23 +01:00
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 Account for negative strides on DMA copy (#2623) 2021-09-11 22:54:18 +02:00
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 infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Size.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
SizeCalculator.cs Texture Sync, incompatible overlap handling, data flush improvements. (#2971) 2022-01-09 13:28:48 -03:00
SizeInfo.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00