aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/IGalTexture.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-09-18 01:30:35 -0300
committerGitHub <noreply@github.com>2018-09-18 01:30:35 -0300
commitd4187aaa9d7194aa26d04aee838edbc3a38f1862 (patch)
tree06fe725c1067b4aeca21749799b835d85e7d2787 /Ryujinx.Graphics/Gal/IGalTexture.cs
parentbec95cacc1061f91373a1e3a1411981af7fe2e4e (diff)
Allow "reinterpretation" of framebuffer/zeta formats (#418)
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
Diffstat (limited to 'Ryujinx.Graphics/Gal/IGalTexture.cs')
-rw-r--r--Ryujinx.Graphics/Gal/IGalTexture.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx.Graphics/Gal/IGalTexture.cs b/Ryujinx.Graphics/Gal/IGalTexture.cs
index 292f59ef..aeecdf1a 100644
--- a/Ryujinx.Graphics/Gal/IGalTexture.cs
+++ b/Ryujinx.Graphics/Gal/IGalTexture.cs
@@ -5,13 +5,13 @@ namespace Ryujinx.Graphics.Gal
void LockCache();
void UnlockCache();
- void Create(long Key, byte[] Data, GalImage Image);
+ void Create(long Key, int Size, GalImage Image);
- void CreateFb(long Key, long Size, GalImage Image);
+ void Create(long Key, byte[] Data, GalImage Image);
- bool TryGetCachedTexture(long Key, long DataSize, out GalImage Image);
+ bool TryGetImage(long Key, out GalImage Image);
- void Bind(long Key, int Index);
+ void Bind(long Key, int Index, GalImage Image);
void SetSampler(GalTextureSampler Sampler);
}