aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-11-20 16:30:59 +0000
committerGitHub <noreply@github.com>2020-11-20 13:30:59 -0300
commitcf7044e37bc628f25525941d25b830594b833428 (patch)
tree3da120676707d1ee7f4c2fcc2273ce036d6fd821 /Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs
parent9852cb9c9ea3793eaef405ebb671052bb4b6643a (diff)
Perform Compressed<->Uncompressed copies using Pixel Buffer Objects (#1732)
* PBO single layer copy, part 1 Still needs ability to take and set width/height slices. (using pack paramaters) * PBO Copies pt 2 * Some fixes and cleanup. * Misc Cleanup * Move handle into the TextureInfo interface. This interface is shared between texture storages and views. * Move unscaled copy to the TextureCopy class. * Address feedback.
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs b/Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs
new file mode 100644
index 00000000..92bd597c
--- /dev/null
+++ b/Ryujinx.Graphics.OpenGL/Image/ITextureInfo.cs
@@ -0,0 +1,10 @@
+using Ryujinx.Graphics.GAL;
+
+namespace Ryujinx.Graphics.OpenGL.Image
+{
+ interface ITextureInfo
+ {
+ int Handle { get; }
+ TextureCreateInfo Info { get; }
+ }
+}