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