aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Video/IDecoder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Video/IDecoder.cs')
-rw-r--r--Ryujinx.Graphics.Video/IDecoder.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Video/IDecoder.cs b/Ryujinx.Graphics.Video/IDecoder.cs
new file mode 100644
index 00000000..5957af08
--- /dev/null
+++ b/Ryujinx.Graphics.Video/IDecoder.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace Ryujinx.Graphics.Video
+{
+ public interface IDecoder : IDisposable
+ {
+ bool IsHardwareAccelerated { get; }
+
+ ISurface CreateSurface(int width, int height);
+ }
+}