New cvars: r_renderAPI , r_renderAPICompareWindow.

r_renderAPI specifies rendering API to use (0 - opengl, 1 - vulkan).
r_renderAPICompareWindow shows additional window which does the same rendering as the main windows but uses different graphics API.
The idea is to use r_renderAPICompareWindow for debugging to be sure that both APIs render identical/similar pictures.
This commit is contained in:
Artem Kharytoniuk
2017-03-30 17:39:48 +03:00
parent dd372cad1b
commit e9b972d562
10 changed files with 355 additions and 245 deletions

View File

@@ -1,7 +1,7 @@
Removed cvars:
* r_allowExtensions
* r_allowExtensions (always use extensions if available)
* r_allowSoftwareGL
* r_colorbits (use desktop color depth by default)
* r_ext_multitexture (mandatory feature)
* r_colorbits (use desktop color depth)
* r_ext_multitexture (required)
* r_maskMinidriver
* r_primitives (always use qglDrawElements)