diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-28 23:37:40 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-28 23:37:40 -0300 |
| commit | 5d8a615c21eff7888ff4e36c122123560bcb0886 (patch) | |
| tree | ab86f9cd27bf0c876763bf159f5959b8d7c931ae /Ryujinx.Graphics/Gal/IGalRenderer.cs | |
| parent | eacd432387677dc0513255f8c3661f5c3ef05d65 (diff) | |
Enable hardware frame buffer texture scaling
Diffstat (limited to 'Ryujinx.Graphics/Gal/IGalRenderer.cs')
| -rw-r--r-- | Ryujinx.Graphics/Gal/IGalRenderer.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/IGalRenderer.cs b/Ryujinx.Graphics/Gal/IGalRenderer.cs index 5854c54a..83d2c699 100644 --- a/Ryujinx.Graphics/Gal/IGalRenderer.cs +++ b/Ryujinx.Graphics/Gal/IGalRenderer.cs @@ -10,9 +10,20 @@ namespace Ryujinx.Graphics.Gal void InitializeFrameBuffer(); void Render(); void SetWindowSize(int Width, int Height); - void SetFrameBuffer(byte* Fb, int Width, int Height, float SX, float SY, float R); + void SetFrameBuffer( + byte* Fb, + int Width, + int Height, + float ScaleX, + float ScaleY, + float OffsX, + float OffsY, + float Rotate); + void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs); + void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height); + void BindTexture(int Index); } }
\ No newline at end of file |
