2018-06-23 20:39:25 -04:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
2018-09-08 13:51:50 -04:00
|
|
|
public interface IGalRenderTarget
|
2018-06-23 20:39:25 -04:00
|
|
|
{
|
2018-09-25 18:55:30 -04:00
|
|
|
void Bind();
|
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void BindColor(long key, int attachment);
|
2018-06-23 20:39:25 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void UnbindColor(int attachment);
|
2018-08-19 21:25:26 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void BindZeta(long key);
|
2018-08-19 21:25:26 -04:00
|
|
|
|
|
|
|
void UnbindZeta();
|
2018-06-23 20:39:25 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void Present(long key);
|
2018-06-23 20:39:25 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void SetMap(int[] map);
|
2018-08-23 01:07:23 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void SetTransform(bool flipX, bool flipY, int top, int left, int right, int bottom);
|
2018-06-23 20:39:25 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void SetWindowSize(int width, int height);
|
2018-06-23 20:39:25 -04:00
|
|
|
|
2019-03-03 20:45:25 -05:00
|
|
|
void SetViewport(int attachment, int x, int y, int width, int height);
|
2018-06-23 20:39:25 -04:00
|
|
|
|
|
|
|
void Render();
|
|
|
|
|
2018-07-19 01:30:21 -04:00
|
|
|
void Copy(
|
2019-03-03 20:45:25 -05:00
|
|
|
GalImage srcImage,
|
|
|
|
GalImage dstImage,
|
|
|
|
long srcKey,
|
|
|
|
long dstKey,
|
|
|
|
int srcLayer,
|
|
|
|
int dstLayer,
|
|
|
|
int srcX0,
|
|
|
|
int srcY0,
|
|
|
|
int srcX1,
|
|
|
|
int srcY1,
|
|
|
|
int dstX0,
|
|
|
|
int dstY0,
|
|
|
|
int dstX1,
|
|
|
|
int dstY1);
|
|
|
|
|
|
|
|
void Reinterpret(long key, GalImage newImage);
|
2018-06-23 20:39:25 -04:00
|
|
|
}
|
|
|
|
}
|