gecko-dev/gfx/layers
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
..
apz Bug 1758670. Correctly record checkerboard telemetry in base telemetry, not extended. r=botond 2022-03-15 06:51:29 +00:00
client Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
composite Bug 1754037 - Part 3c: Automatically update all ParamTraits implementations, r=ipc-reviewers,media-playback-reviewers,bryce,mccr8 2022-03-04 15:39:41 +00:00
d3d11 Bug 1745492 Part 2: Update MacIOSurface handling to deal with 10-bit formats. r=media-playback-reviewers,gfx-reviewers,lsalzman,alwu 2022-03-05 17:31:18 +00:00
ipc Bug 1759234 - Merge VsyncSource::Display into VsyncSource. r=smaug 2022-03-15 18:13:56 +00:00
layerviewer
opengl Bug 1745492 Part 3: Expand WR YUV formats to include P010 as a MSB packing. r=lsalzman 2022-03-05 17:31:19 +00:00
wr Bug 1749190 - Try harder to avoid cyclic scroll metadata annotations when building WRScrollData. r=tnikkel 2022-03-15 00:56:00 +00:00
AndroidHardwareBuffer.cpp
AndroidHardwareBuffer.h
AnimationHelper.cpp
AnimationHelper.h
AnimationInfo.cpp
AnimationInfo.h
AnimationStorageData.h
AtomicRefCountedWithFinalize.h
AxisPhysicsModel.cpp
AxisPhysicsModel.h
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.h
BSPTree.cpp
BSPTree.h
BufferTexture.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
BufferTexture.h Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
BuildConstants.h
CanvasDrawEventRecorder.cpp Bug 1741767: Use shared memory surfaces in Canvas 2D recording. r=lsalzman 2022-01-15 05:17:21 +00:00
CanvasDrawEventRecorder.h Bug 1741767: Use shared memory surfaces in Canvas 2D recording. r=lsalzman 2022-01-15 05:17:21 +00:00
CanvasRenderer.cpp Bug 1754130 - Support presenting a WebGLFramebuffer to its own swap chain without opaque FB. r=aosmond,jgilbert 2022-02-11 19:49:56 +00:00
CanvasRenderer.h Bug 1754130 - Support presenting a WebGLFramebuffer to its own swap chain without opaque FB. r=aosmond,jgilbert 2022-02-11 19:49:56 +00:00
CompositionRecorder.cpp
CompositionRecorder.h
Compositor.cpp
Compositor.h
CompositorAnimationStorage.cpp Bug 1759144 - Avoid crashing when adding the ClearAnimation profiler marker if the animation is not found, r=mstange 2022-03-11 16:00:50 +00:00
CompositorAnimationStorage.h Bug 1757587 - Remove non-webrender CompositorAnimationStorage code that seems unused, r=mstange. 2022-03-01 23:08:15 +00:00
CompositorTypes.cpp
CompositorTypes.h Bug 1754978 - Part 2. Switch WebGPU to use async image pipelines for display. r=kvark 2022-02-18 15:59:13 +00:00
D3D9SurfaceImage.cpp Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel 2022-03-03 02:30:28 +00:00
D3D9SurfaceImage.h
D3D11ShareHandleImage.cpp
D3D11ShareHandleImage.h
D3D11TextureIMFSampleImage.cpp Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel 2022-03-03 02:30:28 +00:00
D3D11TextureIMFSampleImage.h Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel 2022-03-03 02:30:28 +00:00
D3D11YCbCrImage.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
D3D11YCbCrImage.h Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
DirectionUtils.h
DMABUFSurfaceImage.cpp Bug 1743638 [Linux] Make VideoFramePool thread safe r=alwu,media-playback-reviewers 2022-01-24 11:59:42 +00:00
DMABUFSurfaceImage.h
Effects.cpp
Effects.h
FrameMetrics.cpp Bug 1733747. Remove remaining critical display port code. r=botond 2022-01-17 10:29:44 +00:00
FrameMetrics.h Bug 1571758 - Introduce scroll generation in APZC and SampledAPZCState and inform it to the scrollable frame on the main-thread via RepaintRequest. r=botond 2022-01-31 09:40:33 +00:00
GLImages.cpp Bug 1736793 - Add SurfaceTexture support to GLBlitHelper::BlitSdToFramebuffer() r=jgilbert,gfx-reviewers 2022-01-19 02:13:48 +00:00
GLImages.h Bug 1736793 - Add SurfaceTexture support to GLBlitHelper::BlitSdToFramebuffer() r=jgilbert,gfx-reviewers 2022-01-19 02:13:48 +00:00
GPUVideoImage.h
ImageContainer.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
ImageContainer.h Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
ImageDataSerializer.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
ImageDataSerializer.h Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
ImageTypes.h Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel 2022-03-03 02:30:28 +00:00
IMFYCbCrImage.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
IMFYCbCrImage.h
IPDLActor.h
LayerAttributes.h
Layers.cpp
Layers.h
LayersTypes.cpp
LayersTypes.h Bug 1754978 - Part 1. Refactor CompositableHandle infrastructure to allow in-process driven handles. r=sotaro 2022-02-18 15:59:12 +00:00
LayerUserData.h
MacIOSurfaceHelpers.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1757067 - Explicitly specify chroma subsampling scheme for YCbCr data. r=jgilbert,jrmuizel 2022-03-10 09:24:15 +00:00
MacIOSurfaceImage.h
MemoryPressureObserver.cpp
MemoryPressureObserver.h
moz.build Bug 1757698 - Add D3D11TextureIMFSampleImage and array index handling to D3D11TextureData r=jgilbert,gfx-reviewers,jrmuizel 2022-03-03 02:30:28 +00:00
NativeLayer.h Bug 1752469 - Remove Gnome specific workaround using PauseCompositor(), r=gfx-reviewers,lsalzman 2022-01-28 04:24:16 +00:00
NativeLayerCA.h Bug 1745492 Part 4: Make NativeLayerCA create specialized video layers for HDR video. r=mstange 2022-03-05 17:31:20 +00:00
NativeLayerCA.mm Bug 1745492 Part 5: Make NativeLayerCA::LogSurface print buffer attachments. r=mstange 2022-03-05 17:31:20 +00:00
NativeLayerWayland.cpp Bug 1752469 - Remove Gnome specific workaround using PauseCompositor(), r=gfx-reviewers,lsalzman 2022-01-28 04:24:16 +00:00
NativeLayerWayland.h Bug 1752469 - Remove Gnome specific workaround using PauseCompositor(), r=gfx-reviewers,lsalzman 2022-01-28 04:24:16 +00:00
OOPCanvasRenderer.h
PersistentBufferProvider.cpp Bug 1755780 - Optimize DrawTargetWebgl for BGRA WebGL framebuffer. r=aosmond 2022-02-21 17:33:09 +00:00
PersistentBufferProvider.h Bug 1755780 - Optimize DrawTargetWebgl for BGRA WebGL framebuffer. r=aosmond 2022-02-21 17:33:09 +00:00
ProfilerScreenshots.cpp
ProfilerScreenshots.h
RecordedCanvasEventImpl.h
RepaintRequest.cpp Bug 1571758 - Introduce scroll generation in APZC and SampledAPZCState and inform it to the scrollable frame on the main-thread via RepaintRequest. r=botond 2022-01-31 09:40:33 +00:00
RepaintRequest.h Bug 1571758 - Introduce scroll generation in APZC and SampledAPZCState and inform it to the scrollable frame on the main-thread via RepaintRequest. r=botond 2022-01-31 09:40:33 +00:00
SampleTime.cpp
SampleTime.h
ScreenshotGrabber.cpp
ScreenshotGrabber.h
ScrollableLayerGuid.cpp
ScrollableLayerGuid.h
ShareableCanvasRenderer.cpp Bug 1754130 - Support presenting a WebGLFramebuffer to its own swap chain without opaque FB. r=aosmond,jgilbert 2022-02-11 19:49:56 +00:00
ShareableCanvasRenderer.h
SourceSurfaceSharedData.cpp
SourceSurfaceSharedData.h
SurfacePool.h
SurfacePoolCA.h
SurfacePoolCA.mm
SurfacePoolWayland.cpp
SurfacePoolWayland.h
SyncObject.cpp
SyncObject.h
TextureSourceProvider.cpp
TextureSourceProvider.h
TextureWrapperImage.cpp
TextureWrapperImage.h
TransactionIdAllocator.h
TreeTraversal.h
UpdateImageHelper.h
ZoomConstraints.cpp
ZoomConstraints.h