Skip to content

Separate window from application scale factor hints#3392

Merged
hecrj merged 2 commits into
masterfrom
renderer-scale-hints
Jul 19, 2026
Merged

Separate window from application scale factor hints#3392
hecrj merged 2 commits into
masterfrom
renderer-scale-hints

Conversation

@hecrj

@hecrj hecrj commented Jul 19, 2026

Copy link
Copy Markdown
Member

This PR changes a couple of rendering APIs:

  • A new renderer::Scale struct has been introduced which exposes scaling information for the window and the application separately.
  • The hinting feature flag has been replaced with the new metrics_hinting field in Settings. It can therefore be toggled at runtime now.
  • Renderer::scale_factor has been renamed to hint_factor and will only ever return Some if metrics_hinting is enabled.

@hecrj hecrj added this to the 0.15 milestone Jul 19, 2026
@hecrj hecrj added improvement An internal improvement feature New feature or request rendering labels Jul 19, 2026
@hecrj
hecrj enabled auto-merge July 19, 2026 06:45
@hecrj
hecrj merged commit 9854bd3 into master Jul 19, 2026
30 checks passed
@hecrj
hecrj deleted the renderer-scale-hints branch July 19, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request improvement An internal improvement rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant