0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 17:45:46 +00:00
ryujinx-fork/Ryujinx.Graphics.Texture
riperiperi bea1fc2e8d
Optimize texture format conversion, and MethodCopyBuffer (#1274)
* Improve performance when converting texture formats.

Still more work to do.

* Speed up buffer -> texture copies.

No longer copies byte by byte. Fast path when formats are identical.

* Fix a few things, 64 byte block fast copy.

* Spacing cleanup, unrelated change.

* Fix base offset calculation for region copies.

* Fix Linear -> BlockLinear

* Fix some nits. (part 1 of review feedback)

* Use a generic version of the Convert* functions rather than lambdas.

This is some real monkey's paw shit.

* Remove unnecessary span constructor.

* Revert "Use a generic version of the Convert* functions rather than lambdas."

This reverts commit aa43dcfbe8bba291eea4e10c68569af7a56a5851.

* Fix bug with rectangle destination writing, better rectangle calculation for linear textures.
2020-06-13 19:31:06 -03:00
..
Astc Fix AstcDecoder Success property never being set to true 2020-01-09 02:13:00 +01:00
BlockLinearConstants.cs Initial work 2020-01-09 02:13:00 +01:00
BlockLinearLayout.cs Optimize texture format conversion, and MethodCopyBuffer (#1274) 2020-06-13 19:31:06 -03:00
Bpp12Pixel.cs Optimize texture format conversion, and MethodCopyBuffer (#1274) 2020-06-13 19:31:06 -03:00
LayoutConverter.cs Optimize texture format conversion, and MethodCopyBuffer (#1274) 2020-06-13 19:31:06 -03:00
OffsetCalculator.cs Optimize texture format conversion, and MethodCopyBuffer (#1274) 2020-06-13 19:31:06 -03:00
Ryujinx.Graphics.Texture.csproj Upgrade projects to C#8 (#1193) 2020-05-04 12:14:48 +10:00
Size.cs Initial work 2020-01-09 02:13:00 +01:00
SizeCalculator.cs Fix texture level offset/size calculation when sparse tile width is > 1 (#1142) 2020-04-25 23:40:20 +10:00
SizeInfo.cs Implement texture buffers (#1152) 2020-04-25 23:02:18 +10:00