Files
RuneStone/tests/smoke
Knotty Wyvern af68d92969 Show browser frames at one frame pixel for each screen pixel
The built-in browser looked blurry at Windows display scaling above 100%.
The engine rendered sharp frames, but the host stretched each frame to the
surface. The stretch resampled every pixel and blended text and images.

- The engine crops the extra frame edge and sends the frame scale.
- The view shows each frame at its CSS size, at a device pixel edge, on its
  own compositor layer, with nearest-pixel sampling.
- Pointer input subtracts the frame offset.
- The view sends a new scale when the display scale changes.
- A new smoke test, browser/scale, measures stripe contrast at 100%, 125%,
  150%, and 200%, and after a scale change. It also tests click positions.

Measured contrast at 150%: 92 of 255 before, 255 after.

(cherry picked from commit e98a65de536111b5365d1c6f863a897a8e38e505)
2026-10-28 12:32:41 -07:00
..