aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs')
-rw-r--r--src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs b/src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs
new file mode 100644
index 00000000..ea831c8d
--- /dev/null
+++ b/src/Ryujinx.Graphics.GAL/Multithreading/Commands/IGALCommand.cs
@@ -0,0 +1,12 @@
+namespace Ryujinx.Graphics.GAL.Multithreading.Commands
+{
+ interface IGALCommand
+ {
+ CommandType CommandType { get; }
+ }
+
+ interface IGALCommand<T> where T : IGALCommand
+ {
+ abstract static void Run(ref T command, ThreadedRenderer threaded, IRenderer renderer);
+ }
+}