mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-02 00:02:25 -07:00
Send data to OpenGL host without client-side copies (#285)
* Directly send host address to buffer data * Cleanup OGLShader * Directly copy vertex and index data too * Revert shader bind "cache" * Address feedback
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ryujinx.Graphics.Gal
|
||||
@@ -10,7 +11,7 @@ namespace Ryujinx.Graphics.Gal
|
||||
|
||||
IEnumerable<ShaderDeclInfo> GetTextureUsage(long Key);
|
||||
|
||||
void SetConstBuffer(long Key, int Cbuf, byte[] Data);
|
||||
void SetConstBuffer(long Key, int Cbuf, int DataSize, IntPtr HostAddress);
|
||||
|
||||
void EnsureTextureBinding(string UniformName, int Value);
|
||||
|
||||
|
Reference in New Issue
Block a user