2018-02-05 00:08:20 +01:00
|
|
|
using System;
|
|
|
|
|
2018-02-20 21:09:23 +01:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
2018-02-23 22:48:27 +01:00
|
|
|
public unsafe interface IGalRenderer
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
|
|
|
void QueueAction(Action ActionMthd);
|
|
|
|
void RunActions();
|
|
|
|
|
2018-02-23 22:48:27 +01:00
|
|
|
void InitializeFrameBuffer();
|
2018-02-05 00:08:20 +01:00
|
|
|
void Render();
|
2018-02-23 22:48:27 +01:00
|
|
|
void SetWindowSize(int Width, int Height);
|
|
|
|
void SetFrameBuffer(byte* Fb, int Width, int Height, float SX, float SY, float R);
|
2018-02-05 00:08:20 +01:00
|
|
|
void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
|
|
|
|
void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
|
|
|
|
void BindTexture(int Index);
|
|
|
|
}
|
|
|
|
}
|