gecko-dev/gfx
Markus Stange 47c6beb1ee Bug 1759234 - Merge VsyncSource::Display into VsyncSource. r=smaug
Every `VsyncSource` currently only has a single `Display` associated with it.
This means that we're not making use of the `Display` abstraction at all.
This patch gets rid of `Display` by merging it into `VsyncSource`.

Originally, the intention of the `Display` abstraction was to use it for
per-monitor vsync. There would be one software `VsyncSource` and one hardware
`VsyncSource`, and the hardware `VsyncSource` would have one `Display` per
screen. But in reality, things have played out differently: The only platform
with per-monitor vsync is currently Linux Wayland, which has per-**widget**
vsync. And it has chosen to have one `VsyncSource` per widget, with a single
`Display` each.

For the macOS implementation of per-monitor vsync, I think it also makes
sense to have one `VsyncSource` per screen.

We already need to handle switching between VsyncSources, for switching
between software and hardware vsync, if the pref `layout.frame_rate` is
changed. So we might as well reuse that same switching capability for
switching between screens, when a window moves between screens or when a
tab moves between windows on different screens.

Differential Revision: https://phabricator.services.mozilla.com/D140891
2022-03-15 18:13:56 +00:00
..
2d Bug 1758968 - Clip drawing in DrawTargetD2D1::DrawSurfaceWithShadow. r=gfx-reviewers,nical 2022-03-11 10:02:07 +00:00
angle Bug 1737313: Document what is needed to generate a preloaded depot_tools zip r=firefox-build-system-reviewers,glandium 2022-01-05 19:52:45 +00:00
cairo Bug 1322756 - Remove PostScript printing code. r=emilio 2021-12-30 11:41:28 +00:00
config Bug 1758865 - Add Feature::VIDEO_OVERLAY r=gfx-reviewers,lsalzman 2022-03-10 23:58:18 +00:00
docs Bug 1757011 - Unify some Moz2D documentation. r=gfx-reviewers,mstange 2022-02-26 18:54:49 +00:00
gl Bug 1756174 - gfxCriticalNote with details, instead of hard assert. r=gfx-reviewers,aosmond 2022-03-14 18:12:22 +00:00
graphite2
harfbuzz Bug 1756664 - Update HarfBuzz to 3.4.0. r=jfkthame 2022-03-01 17:37:04 +00:00
ipc Bug 1757202 - Make the inner window id of the browser window available in the compositor bridge, r=mstange. 2022-03-11 07:49:04 +00:00
layers Bug 1759234 - Merge VsyncSource::Display into VsyncSource. r=smaug 2022-03-15 18:13:56 +00:00
ots Bug 1748352 - Update OTS to 8.2.1. r=jfkthame 2022-01-03 23:11:47 +00:00
qcms Bug 1758021 - Get is_{arm,aarch64}_feature_detected from std::arch on rustc >= 1.60. r=gfx-reviewers,jrmuizel 2022-03-04 00:39:40 +00:00
skia Bug 1747272 - Apply current color when rasterizing glyphs from color fonts in Skia using Core Text. r=lsalzman 2022-02-01 21:41:17 +00:00
src Bug 1759494 - Remove some dead code introduced for PDFium. r=dholbert 2022-03-14 23:18:22 +00:00
tests Bug 1759234 - Merge VsyncSource::Display into VsyncSource. r=smaug 2022-03-15 18:13:56 +00:00
thebes Bug 1759234 - Merge VsyncSource::Display into VsyncSource. r=smaug 2022-03-15 18:13:56 +00:00
vr Bug 1758549, part 2 - Guard a few more entry points into VRManager. r=jgilbert 2022-03-12 15:30:37 +00:00
webrender_bindings Bug 1758555 - Share font keys across multiple namespaces within a Renderer. r=nical,gfx-reviewers 2022-03-11 10:15:02 +00:00
wgpu_bindings Bug 1758169 - Clean up WebGPU lifetime handling a bit. r=nical 2022-03-08 15:00:39 +00:00
wr Bug 1757588 - Add missing plumbing to force anti-aliasing of axis-aligned rectangles. r=gw 2022-03-15 10:54:47 +00:00
ycbcr Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
metrics.yaml Bug 1746941 - Add tags to all Firefox-on-Glean metrics r=janerik 2022-01-14 18:11:08 +00:00
moz.build