Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-3_40] 3D views: use the correct resolution on high DPI displays! #60308

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

qgis-bot
Copy link
Collaborator

Backport #60247
Authored by: @wonder-sk

Nowadays Qt gives us size in device independent pixels, and we were
using those values for the textures as well - but that means on high DPI
screens where device pixel ratio is 2, we were rendering in low resolution
and then upscaling the textures. This should fix that, and intermediate
textures use the correct size - the rendered output is much crispier, yay!
@github-actions github-actions bot added this to the 3.40.4 milestone Jan 28, 2025
@m-kuhn
Copy link
Member

m-kuhn commented Jan 28, 2025

Let's wait for a cycle with this? It's desirable but not critical

Copy link

github-actions bot commented Jan 28, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit bdba526)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit bdba526)

@nyalldawson nyalldawson merged commit c64be84 into release-3_40 Jan 28, 2025
34 checks passed
@nyalldawson nyalldawson deleted the backport-60247-to-release-3_40 branch January 28, 2025 07:44
@m-kuhn
Copy link
Member

m-kuhn commented Jan 28, 2025

😏 super fast backport here ignoring my comment above

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.

4 participants