gecko-dev/gfx/layers
Brad Werth 77aa170cdd Bug 1731136 Part 4: Make macOS native compositor and NativeLayerCA handle backdrop layers. r=mstange
This makes the macOS native compositor claim the ability to handle color
layers and makes NativeLayerCA actually do it. Color layers have a different
structure than other layers. Color layers apply the color to the
wrappingCALayer, and have no contentCALayer at all. That means that the
color layers are always sized to the layer's clip rect.

This also contains a drive-by fix to handle the case where an mOpaquenessTintLayer
exists when mMutatedSpecializeVideo is set to true. Before this change, in such a
case, the opaqueness layer will not be associated with the recreated wrapping layer.

Differential Revision: https://phabricator.services.mozilla.com/D128545
2022-05-26 15:24:13 +00:00
..
apz Bug 1743731 - Disable the 'two layers that scroll together' assertion for content being presented in a paginated way. r=tnikkel 2022-05-21 17:52:44 +00:00
client Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +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 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers 2022-05-20 04:37:53 +00:00
ipc Bug 1743731 - Disable the 'two layers that scroll together' assertion for content being presented in a paginated way. r=tnikkel 2022-05-21 17:52:44 +00:00
layerviewer Bug 1729817 - Remove unused layers.dump and related prefs. r=gfx-reviewers,mattwoodrow 2021-09-09 15:46:20 +00:00
opengl Bug 1703654 - Prototype display-p3 for WebGL canvas. r=lsalzman,emilio,webidl,smaug 2022-05-02 23:54:09 +00:00
wr Bug 1759627 - Dump the WebRenderScrollLayerData on the compositor side. r=botond 2022-05-20 22:38:57 +00:00
AndroidHardwareBuffer.cpp
AndroidHardwareBuffer.h Bug 1758702 - Allow ThreadSafeWeakPtr<IncompleteType> to work. r=glandium 2022-03-17 15:24:40 +00:00
AnimationHelper.cpp Bug 1737180 - Part 3: Sample scroll-linked animations based on the apz scroll offsets. r=hiro,botond 2022-04-05 18:48:17 +00:00
AnimationHelper.h Bug 1737180 - Part 3: Sample scroll-linked animations based on the apz scroll offsets. r=hiro,botond 2022-04-05 18:48:17 +00:00
AnimationInfo.cpp Bug 1737180 - Part 1: Populate scroll timeline information when adding animations for webrender r=hiro 2022-04-05 18:48:16 +00:00
AnimationInfo.h Bug 1727682 - Make WebRenderLayerManager not inherit LayerManager. r=jrmuizel 2021-09-05 22:36:45 +00:00
AnimationStorageData.h Bug 1737180 - Part 1: Populate scroll timeline information when adding animations for webrender r=hiro 2022-04-05 18:48:16 +00:00
AtomicRefCountedWithFinalize.h
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.h
AxisPhysicsModel.cpp
AxisPhysicsModel.h
BSPTree.cpp Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
BSPTree.h Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
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 Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie 2021-07-14 18:18:17 +00:00
CompositionRecorder.h
Compositor.cpp Bug 1742052 - Remove unused code around TextureHost r=gfx-reviewers,nical 2021-11-22 09:49:59 +00:00
Compositor.h Bug 1742052 - Remove unused code around TextureHost r=gfx-reviewers,nical 2021-11-22 09:49:59 +00:00
CompositorAnimationStorage.cpp Bug 1737180 - Part 3: Sample scroll-linked animations based on the apz scroll offsets. r=hiro,botond 2022-04-05 18:48:17 +00:00
CompositorAnimationStorage.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +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 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers 2022-05-20 04:37:53 +00:00
D3D9SurfaceImage.h
D3D11ShareHandleImage.cpp
D3D11ShareHandleImage.h Bug 1746111 - (Re)serialize WebRTC frame SurfaceDescriptorBuffers for convert-and-upload on WebGLParent. r=gfx-reviewers,nika,lsalzman 2021-12-15 01:54:21 +00:00
D3D11TextureIMFSampleImage.cpp Bug 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers 2022-05-20 04:37:53 +00:00
D3D11TextureIMFSampleImage.h Bug 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers 2022-05-20 04:37:53 +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
DMABUFSurfaceImage.cpp Bug 1756598 [Linux] Make GL context creation thread safe r=sotaro,jgilbert 2022-05-09 17:52:11 +00:00
DMABUFSurfaceImage.h Bug 1712588 Implement DMABufSurface::GetAsSourceSurface. r=sotaro,jgilbert 2021-07-15 16:19:51 +00:00
DirectionUtils.h
Effects.cpp Bug 1730055 Fix lint failure in Effects.cpp r=fix CLOSED TREE 2021-09-22 02:09:00 -04:00
Effects.h Bug 1730055 - Remove unused Effect types. r=gfx-reviewers,lsalzman 2021-09-22 05:27:20 +00:00
FrameMetrics.cpp Bug 1759627 - Dump the WebRenderScrollLayerData on the compositor side. r=botond 2022-05-20 22:38:57 +00:00
FrameMetrics.h Bug 1743731 - Disable the 'two layers that scroll together' assertion for content being presented in a paginated way. r=tnikkel 2022-05-21 17:52:44 +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
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
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 1764618 Part 2: Make macOS software decode respect transfer functions. r=media-playback-reviewers,gfx-reviewers,jgilbert 2022-04-22 22:10:18 +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
LayerAttributes.h Bug 1743955 - Remove SimpleLayerAttributes. r=gfx-reviewers,lsalzman 2021-12-02 14:37:20 +00:00
LayerUserData.h
Layers.cpp Bug 1744087 - Remove some unused remnants from Layers.h/cpp. r=gfx-reviewers,bradwerth 2021-12-02 20:30:18 +00:00
Layers.h Bug 1761536 - Part 2: Replace nsTArray::elem_type with value_type, r=mccr8 2022-04-01 17:00:25 +00:00
LayersTypes.cpp Bug 1740411 - Remove EventRegions. r=hiro 2021-11-22 05:34:14 +00:00
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
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 1764618 Part 2: Make macOS software decode respect transfer functions. r=media-playback-reviewers,gfx-reviewers,jgilbert 2022-04-22 22:10:18 +00:00
MacIOSurfaceImage.h Bug 1764618 Part 2: Make macOS software decode respect transfer functions. r=media-playback-reviewers,gfx-reviewers,jgilbert 2022-04-22 22:10:18 +00:00
MemoryPressureObserver.cpp
MemoryPressureObserver.h
NativeLayer.h Bug 1731136 Part 4: Make macOS native compositor and NativeLayerCA handle backdrop layers. r=mstange 2022-05-26 15:24:13 +00:00
NativeLayerCA.h Bug 1731136 Part 4: Make macOS native compositor and NativeLayerCA handle backdrop layers. r=mstange 2022-05-26 15:24:13 +00:00
NativeLayerCA.mm Bug 1731136 Part 4: Make macOS native compositor and NativeLayerCA handle backdrop layers. r=mstange 2022-05-26 15:24:13 +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 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
OOPCanvasRenderer.h
PersistentBufferProvider.cpp Bug 1760928 - Evict cached textures on memory pressure. r=aosmond 2022-05-11 17:22:22 +00:00
PersistentBufferProvider.h Bug 1760928 - Evict cached textures on memory pressure. r=aosmond 2022-05-11 17:22:22 +00:00
ProfilerScreenshots.cpp Bug 1742722 - Move CompositorScreenshot markers to the main thread, r=mstange. 2021-11-24 10:47:59 +00:00
ProfilerScreenshots.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
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 Bug 1641298 - record a CompositorScreenshotWindowDestroyed marker from ProfilerScreenshots to indicate to the profiler front-end that a window has been closed, r=mstange. 2021-07-28 17:21:09 +00:00
ScreenshotGrabber.h
ScrollableLayerGuid.cpp Bug 1729118 - Move GuidComparatorIgnoringPresShell to ScrollableLayerGuid.h. r=hiro 2021-09-21 06:53:37 +00:00
ScrollableLayerGuid.h Bug 1729118 - Move GuidComparatorIgnoringPresShell to ScrollableLayerGuid.h. r=hiro 2021-09-21 06:53:37 +00:00
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 Bug 1734739 - Part 1: Stop requiring otherpid for ShareTo, r=handyman 2021-11-24 17:56:00 +00:00
SourceSurfaceSharedData.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
SurfacePool.h
SurfacePoolCA.h
SurfacePoolCA.mm Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova 2021-11-08 23:59:35 +00:00
SurfacePoolWayland.cpp Bug 1720375 - Restructure surface pool into a buffer pool,r=stransky,gfx-reviewers,lsalzman 2021-08-04 12:43:21 +00:00
SurfacePoolWayland.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
SyncObject.cpp
SyncObject.h
TextureSourceProvider.cpp Bug 1734735 - Part 6: Remove dead TextureSync code, r=dthayer 2021-11-23 16:15:22 +00:00
TextureSourceProvider.h Bug 1742052 - Remove unused code around TextureHost r=gfx-reviewers,nical 2021-11-22 09:49:59 +00:00
TextureWrapperImage.cpp
TextureWrapperImage.h
TransactionIdAllocator.h
TreeTraversal.h
UpdateImageHelper.h
ZoomConstraints.cpp
ZoomConstraints.h Bug 1733278 - Remove MaybeZoomConstraints. r=hiro 2021-09-30 00:08:34 +00:00
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