mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
glMapBuffer was slow, go back to glBufferSubData, single combined ps/vs ubo now
This commit is contained in:
parent
d9117ab6a1
commit
d70726b035
3 changed files with 5 additions and 40 deletions
|
@ -96,10 +96,7 @@ class ProgramShaderCache
|
|||
static std::pair<u64, u64> CurrentShaderProgram;
|
||||
|
||||
static GLuint s_ps_vs_ubo;
|
||||
static float* s_ps_vs_mapped_data;
|
||||
static GLintptr s_vs_data_offset;
|
||||
|
||||
static void MapBuffer();
|
||||
|
||||
public:
|
||||
static PROGRAMSHADER GetShaderProgram(void);
|
||||
|
@ -109,8 +106,6 @@ public:
|
|||
|
||||
static void SetMultiPSConstant4fv(unsigned int offset, const float *f, unsigned int count);
|
||||
static void SetMultiVSConstant4fv(unsigned int offset, const float *f, unsigned int count);
|
||||
|
||||
static void FlushConstants();
|
||||
|
||||
static void Init(void);
|
||||
static void Shutdown(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue