mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 05:53:01 +00:00
d4187aaa9d
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
31 lines
No EOL
834 B
C#
31 lines
No EOL
834 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public interface IGalRasterizer
|
|
{
|
|
void LockCaches();
|
|
void UnlockCaches();
|
|
|
|
void ClearBuffers(
|
|
GalClearBufferFlags Flags,
|
|
int Attachment,
|
|
float Red, float Green, float Blue, float Alpha,
|
|
float Depth,
|
|
int Stencil);
|
|
|
|
bool IsVboCached(long Key, long DataSize);
|
|
|
|
bool IsIboCached(long Key, long DataSize);
|
|
|
|
void CreateVbo(long Key, int DataSize, IntPtr HostAddress);
|
|
|
|
void CreateIbo(long Key, int DataSize, IntPtr HostAddress);
|
|
|
|
void SetIndexArray(int Size, GalIndexFormat Format);
|
|
|
|
void DrawArrays(int First, int Count, GalPrimitiveType PrimType);
|
|
|
|
void DrawElements(long IboKey, int First, int VertexBase, GalPrimitiveType PrimType);
|
|
}
|
|
} |