aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Texture/BlockLinearLayout.cs
AgeCommit message (Collapse)Author
2022-02-18Use BitOperations methods and delete now unused BitUtils methods (#3134)Berkan Diler
Replaces BitUtils.CountTrailingZeros/CountLeadingZeros/IsPowerOfTwo with BitOperations methods
2020-07-04Fix buffer to 3D texture copy (#1354)gdkchan
2020-06-13Optimize texture format conversion, and MethodCopyBuffer (#1274)riperiperi
* 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-01-09Copy 16 bytes at a time for layout conversion, if possiblegdkchan
2020-01-09Initial workgdk