2018-06-24 01:39:25 +01:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
|
|
{
|
2018-09-08 18:51:50 +01:00
|
|
|
public interface IGalRenderTarget
|
2018-06-24 01:39:25 +01:00
|
|
|
{
|
2018-09-25 23:55:30 +01:00
|
|
|
void Bind();
|
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void BindColor(long key, int attachment);
|
2018-06-24 01:39:25 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void UnbindColor(int attachment);
|
2018-08-20 02:25:26 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void BindZeta(long key);
|
2018-08-20 02:25:26 +01:00
|
|
|
|
|
|
|
void UnbindZeta();
|
2018-06-24 01:39:25 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void Present(long key);
|
2018-06-24 01:39:25 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void SetMap(int[] map);
|
2018-08-23 06:07:23 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void SetTransform(bool flipX, bool flipY, int top, int left, int right, int bottom);
|
2018-06-24 01:39:25 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void SetWindowSize(int width, int height);
|
2018-06-24 01:39:25 +01:00
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
void SetViewport(int attachment, int x, int y, int width, int height);
|
2018-06-24 01:39:25 +01:00
|
|
|
|
|
|
|
void Render();
|
|
|
|
|
2018-07-19 06:30:21 +01:00
|
|
|
void Copy(
|
2019-03-04 01:45:25 +00: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-24 01:39:25 +01:00
|
|
|
}
|
|
|
|
}
|