Files
Brian Degenhardt dfef534426 UI: the Android internal-resolution set in the Qt and Big Picture pickers
Both desktop resolution pickers ran Native, 2x, 3x ... in whole steps. That is
the wrong shape for a handheld at both ends: below native is unreachable even
though rendering there is a large win and the GS accepts it -- only the top end
is clamped, in GSClampUpscaleMultiplier -- and above native the jump from 1x to
2x is four times the pixels with nothing in between.

Both pickers now carry the set the Android UI has offered since issue #207:

  0.25x  0.5x  0.75x  Native  1.25x  1.5x  1.75x
  2x  2.25x  2.5x  2.75x  3x  3.5x  4x  5x  6x  7x  8x

Everything above 8x moves behind Extended Upscaling Multipliers, which used to
unlock 13x and up. That checkbox was dead on ordinary hardware: the GPU cap is
max texture size / 1280, so a 16K-texture part reports exactly 12x and the
"supports extended" test wanted more than 12x. It now unlocks anything past 8x,
which is the first time it does something on a normal GPU, and 9x-25x still
appear only as far as the GPU can actually go.

Big Picture indexed two parallel arrays as "slot i means multiplier i+1", which
a non-uniform list breaks. Replaced with one table carrying the label, the INI
string and the multiplier, filtered against the cap. The quarter steps are all
exact in binary, so matching a saved multiplier by equality is safe.

Two things fixed in passing, both of which the new list would otherwise have
broken. The Qt global tab keyed "nothing found" off index 0 being Native, and
index 0 is now 0.25x. And Big Picture passed "1.000000" as its default while
the INI is written by StringUtil::ToChars, which produces "1" -- so with no
key set the picker read back a value matching no entry and displayed Unknown.
2026-08-19 19:35:22 -07:00
..
2026-06-07 17:21:03 +02:00
2026-06-07 17:21:03 +02:00
2026-07-29 21:35:02 +02:00
2026-06-07 17:00:10 +02:00
2026-07-14 08:54:13 +02:00