aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/GalTexture.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-06-08 21:15:56 -0300
committerGitHub <noreply@github.com>2018-06-08 21:15:56 -0300
commit231fae1a4c97d7588655e9775f37c1dc9bd55fb0 (patch)
tree1c0e7b298ec33d5bf5b6a5693dd69a8c7e0bd23b /Ryujinx.Graphics/Gal/GalTexture.cs
parent6fe51f970501fe732276c17ed0dacb564b92a73d (diff)
Texture/Vertex/Index data cache (#132)
* Initial implementation of the texture cache * Cache vertex and index data aswell, some cleanup * Improve handling of the cache by storing cached ranges on a list for each page * Delete old data from the caches automatically, ensure that the cache is cleaned when the mapping/size changes, and some general cleanup
Diffstat (limited to 'Ryujinx.Graphics/Gal/GalTexture.cs')
-rw-r--r--Ryujinx.Graphics/Gal/GalTexture.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Ryujinx.Graphics/Gal/GalTexture.cs b/Ryujinx.Graphics/Gal/GalTexture.cs
index 75aef307..2c1be65b 100644
--- a/Ryujinx.Graphics/Gal/GalTexture.cs
+++ b/Ryujinx.Graphics/Gal/GalTexture.cs
@@ -2,8 +2,6 @@ namespace Ryujinx.Graphics.Gal
{
public struct GalTexture
{
- public byte[] Data;
-
public int Width;
public int Height;
@@ -15,7 +13,6 @@ namespace Ryujinx.Graphics.Gal
public GalTextureSource WSource;
public GalTexture(
- byte[] Data,
int Width,
int Height,
GalTextureFormat Format,
@@ -24,7 +21,6 @@ namespace Ryujinx.Graphics.Gal
GalTextureSource ZSource,
GalTextureSource WSource)
{
- this.Data = Data;
this.Width = Width;
this.Height = Height;
this.Format = Format;