2018-02-04 18:08:20 -05:00
|
|
|
using System;
|
|
|
|
|
2018-02-20 15:09:23 -05:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-02-04 18:08:20 -05:00
|
|
|
{
|
|
|
|
public interface IGalRenderer
|
|
|
|
{
|
|
|
|
long FrameBufferPtr { get; set; }
|
|
|
|
|
|
|
|
void QueueAction(Action ActionMthd);
|
|
|
|
void RunActions();
|
|
|
|
|
|
|
|
void Render();
|
|
|
|
void SendVertexBuffer(int Index, byte[] Buffer, int Stride, GalVertexAttrib[] Attribs);
|
|
|
|
void SendR8G8B8A8Texture(int Index, byte[] Buffer, int Width, int Height);
|
|
|
|
void BindTexture(int Index);
|
|
|
|
}
|
|
|
|
}
|