ryujinx-mirror/Ryujinx.Graphics.Gpu/Engine/Dma
Logan Stromberg 6eb85e846f
Reduce some unnecessary allocations in DMA handler (#2886)
* experimental changes to try and reduce allocations in kernel threading and DMA handler

* Simplify the changes in this branch to just 1. Don't make unnecessary copies of data just for texture-texture transfers and 2. Add a fast path for 1bpp linear byte copies

* forgot to check src + dst linearity in 1bpp DMA fast path. Fixes the UE4 regression.

* removing dev log I left in

* Generalizing the DMA linear fast path to cases other than 1bpp copies

* revert kernel changes

* revert whitespace

* remove unneeded references

* PR feedback

Co-authored-by: Logan Stromberg <lostromb@microsoft.com>
Co-authored-by: gdk <gab.dark.100@gmail.com>
2022-07-14 15:45:56 -03:00
..
DmaClass.cs Reduce some unnecessary allocations in DMA handler (#2886) 2022-07-14 15:45:56 -03:00
DmaClassState.cs Separate GPU engines and make state follow official docs (part 1/2) (#2422) 2021-07-07 20:56:06 -03:00
DmaTexture.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00