Open jdarpinian opened 4 months ago
The VAO cache is slow on practically everything except Nvidia's driver. (The handling could use being reworked.)
if (!r_vaoCache->integer)
)Commit message suggestion:
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.
The VAO surface cache uses bufferSubData and triggers a very slow path in some GLES implementations. Specifically I have observed 10x frame times with ANGLE/Metal on macOS and with Mali on Android.
Of course disabling the cache is not ideal. But at least this fixes wildly inconsistent frame times for now.