Closed
Bug 1592933
Opened 5 years ago
Closed 5 years ago
[Wayland] Manage scale factor at nsWindow level only
Categories
(Core :: Widget: Gtk, task)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Let's factor our scale factor management from mozcontainer to nsWindow and use GdkScaleFactor() for it. Also potentially cache the scale factor.
Assignee | ||
Comment 1•5 years ago
|
||
Remove moz_container_get_scale() and use only nsWindow::GdkScaleFactor() to get scale factor for wl_surface and wl_egl_window.
Always set the scale factor when wl_surface / wl_egl_window is queued for rendering.
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D51252
Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e5e0943edd0 [Wayland] Get scale factor from nsWindow::GdkScaleFactor() and set it when wl_surface/egl_window is used for rendering, r=jhorak https://hg.mozilla.org/integration/autoland/rev/f389488df7cc [Wayland] Cache scale factor for toplevel windows, r=jhorak
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8e5e0943edd0
https://hg.mozilla.org/mozilla-central/rev/f389488df7cc
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in
before you can comment on or make changes to this bug.
Description
•