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

Add display-autoscale option to miral::display_configuration_options() #3065

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

AlanGriffiths
Copy link
Contributor

This adds an autoscaling option to miral's display configuration options.

So to scale to emulate, for example, 1080p use --display-autoscale=1080

The scaling is quantized to the nearest quarter pixel

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #3065 (242f8ee) into main (1c20be3) will decrease coverage by 0.03%.
The diff coverage is 12.50%.

@@            Coverage Diff             @@
##             main    #3065      +/-   ##
==========================================
- Coverage   77.69%   77.67%   -0.03%     
==========================================
  Files        1056     1056              
  Lines       73449    73473      +24     
==========================================
  Hits        57069    57069              
- Misses      16380    16404      +24     
Files Coverage Δ
src/miral/display_configuration_option.cpp 48.35% <12.50%> (-12.85%) ⬇️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@Saviq Saviq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works :)

@Saviq Saviq enabled auto-merge October 6, 2023 14:31
@Saviq Saviq added this pull request to the merge queue Oct 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 6, 2023
@Saviq Saviq added this pull request to the merge queue Oct 6, 2023
Merged via the queue into main with commit f14dde2 Oct 6, 2023
19 of 21 checks passed
@Saviq Saviq deleted the auto-scaling branch October 6, 2023 16:59
@AlanGriffiths AlanGriffiths self-assigned this Oct 6, 2023
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.

2 participants