diff options
author | riperiperi <rhy3756547@hotmail.com> | 2022-02-22 14:21:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 11:21:29 -0300 |
commit | c9c65af59edea05e7206a076cb818128c004384e (patch) | |
tree | 11441b1b91be53ecc6e5d642123a3111c05ec282 /Ryujinx.Graphics.Gpu/GraphicsConfig.cs | |
parent | dc063eac8330da0b18f0f76c7c9c0e484fa10c56 (diff) |
Perform unscaled 2d engine copy on CPU if source texture isn't in cache. (#3112)1.1.51
* Initial implementation of fast 2d copy
TODO: Partial copy for mismatching region/size.
* WIP
* Cleanup
* Update Ryujinx.Graphics.Gpu/Engine/Twod/TwodClass.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Diffstat (limited to 'Ryujinx.Graphics.Gpu/GraphicsConfig.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/GraphicsConfig.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/GraphicsConfig.cs b/Ryujinx.Graphics.Gpu/GraphicsConfig.cs index d58b8da7..493dbd7b 100644 --- a/Ryujinx.Graphics.Gpu/GraphicsConfig.cs +++ b/Ryujinx.Graphics.Gpu/GraphicsConfig.cs @@ -29,6 +29,14 @@ namespace Ryujinx.Graphics.Gpu public static bool FastGpuTime = true; /// <summary> + /// Enables or disables fast 2d engine texture copies entirely on CPU when possible. + /// Reduces stuttering and # of textures in games that copy textures around for streaming, + /// as textures will not need to be created for the copy, and the data does not need to be + /// flushed from GPU. + /// </summary> + public static bool Fast2DCopy = true; + + /// <summary> /// Enables or disables the Just-in-Time compiler for GPU Macro code. /// </summary> public static bool EnableMacroJit = true; |