cl_renderer
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Which renderer library to use
At a glance
| Field | Value |
|---|---|
| Category | Graphics & rendering |
| Module | engine-client |
| Also registered in | engine-client |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | Yes — ingame_setup.menu:1642, ingame_setup.menu:1678, setup.menu:1430 |
| Default | DEFAULT_RENDER_LIBRARY |
| Value type | string |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE— saved to the user configurationCVAR_LATCH— latched until the relevant subsystem or map is restarted
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
714c868b42c6in OpenJK (content authored2013-04-16, integrated2013-04-16) - Upstream registration evidence: code/client/cl_main.cpp:1091
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits openjk.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| OpenJK | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Ultimate origin |
| EternalJK | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
| rend2 | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
| TaystJK | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
| jaPRO | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
| NewJK / NewMod | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
| Vulkan | 2013-04-16 |
— | 2013-04-16 |
714c868b42c6 |
Shared integration commit |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2013-04-20 |
OpenJK | 5a749fad2760Modular renderer system for SP complete. |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_main.cpp |
medium |
2013-04-27 |
OpenJK | 7c6d1d70a178Compiles under Final/Release now. |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_main.cpp |
medium |
2013-04-27 |
OpenJK | af2ba72c3838Added a #define for default renderer name, as per Xycaleth’s request |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_main.cpp |
medium |
2013-05-11 |
OpenJK | f203e799b14cMerge branch ‘master’ of https://github.com/Razish/OpenJK into modrender-port |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
high |
2013-05-12 |
OpenJK | 8a0da9518a63Merge pull request #242 from xycaleth/master |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_main.cpp |
medium |
2013-07-19 |
OpenJK | 0494d56559bbMoved default renderer name into a #define. |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_main.cpp |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/cl_main.cpp |
medium |
2016-03-24 |
EternalJK | c9c6ab99fdd2Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_main.cpp |
medium |
2017-08-31 |
OpenJK | 913e3cc57ec7Merge branch ‘master’ of https://github.com/JACoders/OpenJK.git |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_main.cpp |
medium |
2023-09-24 |
TaystJK | 239e59ac4807Remove vm protection from cl_renderer cvar |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/cl_main.cpp |
medium |
2023-10-14 |
rend2 | aa48e28a7d4f · PR #26Merge pull request #26 from taysta/rend2menu |
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c |
medium |
Evidence
- registration: codemp/client/cl_main.cpp:2744 (Cvar_Get)
- behavior: codemp/client/cl_main.cpp:2748
- behavior: codemp/client/cl_main.cpp:2746
- behavior: codemp/ui/ui_main.c:6241
- behavior: codemp/ui/ui_main.c:6369
- behavior: codemp/client/cl_main.cpp:2751