summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
Diffstat (limited to 'CONTEXT.md')
-rw-r--r--CONTEXT.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
index 4df44bd..fc73214 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -239,11 +239,16 @@ vocabulary / decisions.
239 migrate to the stock value). 239 migrate to the stock value).
240- `viewmodel_fov` and `mat_monitorgamma` are client cvars; applied through 240- `viewmodel_fov` and `mat_monitorgamma` are client cvars; applied through
241 `ClientCmd` when their slider changes. Gamma is stored as x10 241 `ClientCmd` when their slider changes. Gamma is stored as x10
242 (`[view] gamma=22` = 2.2). The gamma value is read back through 242 (`[view] gamma=22` = 2.2) and the slider stops at 26 because the engine
243 `ICvar::FindVar` and logged (`view: gamma request ..., cvar reports ...`) 243 clamps `mat_monitorgamma` at 2.6. The value is read back through
244 to distinguish a rejected command from an OS gamma ramp the compositor 244 `ICvar::FindVar` on the next tick (ClientCmd is queued) and logged
245 ignores. Both live in the always-on `Camera / display` card 245 (`view: gamma request ..., cvar reports ...`) to distinguish a rejected
246 (`[view] fov/vmfov/gamma`). 246 command from an OS gamma ramp the compositor ignores. `SDL_SetWindowGammaRamp`
247 is also interposed (first 12 calls log `gamma: SDL_SetWindowGammaRamp
248 mid=...`) to see whether the engine ever pushes a ramp after the slider
249 moves; if it does and the screen does not change, the compositor is
250 discarding it. Both live in the always-on
251 `Camera / display` card (`[view] fov/vmfov/gamma`).
247 252
248## Map transitions 253## Map transitions
249 254