mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-27 15:42:04 +00:00
25dd5f4238
* Add GalPipelineState and IGalPipeline * Separate UploadVertex call * Add ConstBuffer cache * Move Vertex Assembly into GalPipelineState * Move Uniform binds to GalPipelineState * Move framebuffer flip into a buffer * Rebase * Fix regression * Move clear values from VertexEndGl to ClearBuffers * Rename obscure names O->Old S->New
30 lines
No EOL
810 B
C#
30 lines
No EOL
810 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public interface IGalRasterizer
|
|
{
|
|
void LockCaches();
|
|
void UnlockCaches();
|
|
|
|
void ClearBuffers(
|
|
GalClearBufferFlags Flags,
|
|
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 PrimCount, GalPrimitiveType PrimType);
|
|
|
|
void DrawElements(long IboKey, int First, int VertexBase, GalPrimitiveType PrimType);
|
|
}
|
|
} |