OpenGL2: Disable the VAO cache by default
The VAO surface cache uses glBufferSubData and triggers a very slow path in some GLES implementations. Specifically I have observed 10x frame times under Emscripten with ANGLE/Metal on macOS and with Mali on Android. Co-authored-by: Zack Middleton <zack@cloemail.com> Co-authored-by: WofWca <wofwca@protonmail.com>
This commit is contained in:
1 parent
8d2c2b42a5
commit
dac3062dde
3 files changed
+9
No files matched your search
@@ -1848,6 +1848,8 @@ extern cvar_t *r_printShaders;
|
||||
|
||||
extern cvar_t *r_marksOnTriangleMeshes;
|
||||
|
||||
extern cvar_t *r_vaoCache;
|
||||
|
||||
//====================================================================
|
||||
|
||||
static ID_INLINE qboolean ShaderRequiresCPUDeforms(const shader_t * shader)
|
||||
|
||||
Reference in new issue
Block a user