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

Increase logical size and resolution of Web pages (relanded) #1108

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

felipeerias
Copy link
Collaborator

Adjust the default DPI that we pass to the Web engine so that the texture for the default window will have twice the resolution.

Adjust the default density so that the default window has a logical size of 1024x576 CSS pixels.

Set the size of the maximum window so that its associated texture fits within 2560x2560, which is the maximum in some systems.

The window scaling will interpolate between the default and maximum values.

This commit needed to be reverted before because it clashed with recent changes related to motion event handling. See:
#1105
#1106
#1107

Adjust the default DPI that we pass to the Web engine so that the texture
for the default window will have twice the resolution.

Adjust the default density so that the default window has a logical size
of 1024x576 CSS pixels.

Set the size of the maximum window so that its associated texture fits
within 2560x2560, which is the maximum in some systems.

The window scaling will interpolate between the default and maximum values.

This commit needed to be reverted because it clashed with recent changes
related to motion event handling. See:
  #1105
  #1106
  #1107
@svillar svillar merged commit f9b69c1 into main Nov 21, 2023
@svillar svillar deleted the felipeerias/viewportMetricsRelanded branch November 21, 2023 11:06
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.

3 participants