Skip to content

Improve adaptive render resolution for high-DPI displays.#22

Open
RZDESIGN wants to merge 1 commit intohytopiagg:mainfrom
RZDESIGN:perf/adaptive-retina-resolution
Open

Improve adaptive render resolution for high-DPI displays.#22
RZDESIGN wants to merge 1 commit intohytopiagg:mainfrom
RZDESIGN:perf/adaptive-retina-resolution

Conversation

@RZDESIGN
Copy link
Copy Markdown

@RZDESIGN RZDESIGN commented Mar 5, 2026

Cap effective internal pixel ratio by viewport budget and centralize resolution application across init, resize, and quality updates for smoother fullscreen performance.

Cap effective internal pixel ratio by viewport budget and centralize resolution application across init, resize, and quality updates for smoother fullscreen performance.

Made-with: Cursor
@RZDESIGN
Copy link
Copy Markdown
Author

RZDESIGN commented Mar 5, 2026

@RZDESIGN
Copy link
Copy Markdown
Author

RZDESIGN commented Mar 5, 2026

Reviewer checklist for this PR (adaptive Retina resolution):

  • Validate fullscreen behavior on high-DPI displays (Retina/4K): confirm reduced GPU load and smoother frame pacing versus main.
  • Validate quality impact: ensure expected softness only appears when hitting pixel budget cap; windowed mode should remain sharper when under budget.
  • Validate dynamic updates: change resolution multiplier in settings and confirm internal render resolution + post-processing resize update immediately.
  • Validate resize path: repeatedly toggle fullscreen/windowed and verify no stale render target sizes, stretching, or post-processing artifacts.
  • Regression check: confirm non-fullscreen / low-DPI behavior remains unchanged.

Known intentional trade-off:

  • This introduces adaptive capping, so effective pixel ratio may be lower than requested at very large fullscreen resolutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant