Low level graphics API prerequisites (#319)
* 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
This commit is contained in:
parent
652238f526
commit
25dd5f4238
20 changed files with 854 additions and 702 deletions
16
Ryujinx.Graphics/Gal/IGalConstBuffer.cs
Normal file
16
Ryujinx.Graphics/Gal/IGalConstBuffer.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.Gal
|
||||
{
|
||||
public interface IGalConstBuffer
|
||||
{
|
||||
void LockCache();
|
||||
void UnlockCache();
|
||||
|
||||
void Create(long Key, long Size);
|
||||
|
||||
bool IsCached(long Key, long Size);
|
||||
|
||||
void SetData(long Key, long Size, IntPtr HostAddress);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue