5 Commits
Author SHA1 Message Date
RickiNano b1100518a1 Modern Brightness: each input rises with the slider up to ±150 (#14348)
Past +110 the curve mixed the slider's own roll-off with the fixed +150
fit. The power roll-offs come closer to white than that fit past about
input 220, so the mix fell there as the slider neared +150: input 200
gave 253.55 at +134 and 253.32 at +150.

The ease now starts at +109.5, the last Hermite roll-off, which stays at
or below the +150 fit everywhere, and mixes from the roll-off held at or
below the fit. Both parts of the mix then rise with the slider, and the
curve reaches the +150 fit itself at +150, so the measured ramps are
unchanged.

The new test steps the slider one unit at a time from ±100 to ±150 and
checks every 8-bit input; it fails on the previous curve.
2026-11-25 07:06:51 +01:00
RickiNano 3da8da9955 Modern Brightness at +150 and -150 matches the reference ramps (#14348)
Past +110 the raised Brightness curve now eases into a curve fit to the
reference application's 8-bit +150 ramp: a line of slope 2.585, a cubic
Hermite bridge, and an exponential approach to white that is still
rising at white. The power roll-off it replaces reached white too early
(254.5 at input 200 where the reference has 253), so the lowered curve,
its inverse, stopped at 254 -> 191 instead of 214.

The measured -150 table is the inverse of the +150 one once the rounding
plateaus are read at their middle, so lowering stays the inverse of
raising. Both ramps now match within a level, and settings up to +/-110
are unchanged.

Fixes #14348
2026-11-21 16:34:02 +01:00
FredApps 236bc84a5e Give scratch tests a deterministic volume capacity 2026-11-19 08:01:25 +01:00
aiongg 877e23f543 Tests: one shared lock per process-wide global in each merged test binary
The scratch pool and spill configuration, simulated free memory and the global caches are locked from tests/it/main.rs instead of a mutex per file.
2026-11-18 19:19:35 +00:00
aiongg 0081fd10e1 Tests: merge single-file integration test binaries into one binary per crate
Each crate's top-level tests/*.rs files become modules of tests/it/main.rs, and a new xtask check (test-binaries) refuses a new single-file test binary.
2026-11-18 19:11:27 +00:00