Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OpenFlipper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • OpenFlipper-FreeOpenFlipper-Free
  • OpenFlipper
  • Merge requests
  • !219

Fix of HighDPI rendering

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Zain Selman requested to merge zs/highdpi_fix_maybe into master Nov 26, 2021
  • Overview 22
  • Commits 27
  • Pipelines 0
  • Changes 12

In response to issue https://gitlab.vci.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper/-/issues/28 I propose following fix:

  • make glViewer aware of device pixel ratio and incorporate dpr into viewport size/offset calculation

Below is a recording of the fix running on my machine. DPR scaling set to 2 and 1 to demonstrate no breaking changes for regular screens.

Todo: Requires verification on high-dpi screens

(double click for full resolution)

fix

Edited Dec 10, 2021 by Jan Möbius
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: zs/highdpi_fix_maybe