gecko-dev/gfx/layers
Brad Werth 22c350103d Bug 1738926 Part 2: Stop enqueueing video when the layer gets overwhelmed. r=gfx-reviewers,mstange
There's no point in preparing a video sample when the layer can't accept it.
Limiting the enqueing in this case seems to prevent the macOS WindowServer
from maxxing out the CPU. Instead, the frame will get displayed using the
non-video method of directly setting the layer contents. The user will not
experience an interruption, but the layer will *never* hit detached mode
again. That's an acceptable outcome given that they layer was already
failing to handle the incoming frames and so detached mode was not
being achieved anyway.

Differential Revision: https://phabricator.services.mozilla.com/D135536
2022-01-13 19:42:37 +00:00
..
apz Bug 1749100. Use the widget directly in DisplayportSetListener::OnPostRefresh/SendLayersDependentApzcTargetConfirmation. r=emilio 2022-01-13 11:42:53 +00:00
client Bug 1744868 - Remove KeepAlive r=gfx-reviewers,lsalzman 2021-12-08 03:37:35 +00:00
composite Bug 1743325 - Remove data update handling of TextureHost r=gfx-reviewers,bradwerth 2021-11-30 01:49:28 +00:00
d3d11 Bug 1745109 - Remove DiagnosticsD3D11 r=gfx-reviewers,lsalzman 2021-12-09 04:14:58 +00:00
ipc Backed out 2 changesets (bug 1741767) for causing assertion failures in DrawTargetD2D1.cpp CLOSED TREE 2022-01-11 01:49:43 +02: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 1742739 - Remove HasIntermediateBuffer r=gfx-reviewers,jnicol 2021-11-28 11:40:16 +00:00
wr Bug 1749526 - Process partial WebRender transactions instead of discarding them partway. r=gfx-reviewers,bradwerth 2022-01-13 18:38:00 +00:00
AndroidHardwareBuffer.cpp
AndroidHardwareBuffer.h
AnimationHelper.cpp
AnimationHelper.h
AnimationInfo.cpp Bug 1741783 - Rename PuppetWidget::HasLayerManager() to HasWindowRenderer() r=gfx-reviewers,nical 2021-11-18 14:16:00 +00:00
AnimationInfo.h Bug 1727682 - Make WebRenderLayerManager not inherit LayerManager. r=jrmuizel 2021-09-05 22:36:45 +00:00
AnimationStorageData.h
AtomicRefCountedWithFinalize.h
AxisPhysicsModel.cpp
AxisPhysicsModel.h
AxisPhysicsMSDModel.cpp
AxisPhysicsMSDModel.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 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
BufferTexture.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
BuildConstants.h
CanvasDrawEventRecorder.cpp Backed out 2 changesets (bug 1741767) for causing assertion failures in DrawTargetD2D1.cpp CLOSED TREE 2022-01-11 01:49:43 +02:00
CanvasDrawEventRecorder.h Backed out 2 changesets (bug 1741767) for causing assertion failures in DrawTargetD2D1.cpp CLOSED TREE 2022-01-11 01:49:43 +02:00
CanvasRenderer.cpp Bug 1741775 - Remove LayersBackend::LAYERS_OPENGL r=gfx-reviewers,nical 2021-11-20 22:52:14 +00:00
CanvasRenderer.h Bug 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert 2021-12-10 02:57:53 +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 1729117 - Remove LayerMetricsWrapper. r=hiro 2021-09-09 05:25:43 +00:00
CompositorAnimationStorage.h Bug 1727672 - Remove LayerManagerComposite. r=jrmuizel 2021-08-26 04:59:57 +00:00
CompositorTypes.cpp
CompositorTypes.h Bug 1743325 - Remove data update handling of TextureHost r=gfx-reviewers,bradwerth 2021-11-30 01:49:28 +00:00
D3D9SurfaceImage.cpp Bug 1742739 - Remove HasIntermediateBuffer r=gfx-reviewers,jnicol 2021-11-28 11:40:16 +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
D3D11YCbCrImage.cpp
D3D11YCbCrImage.h
DirectionUtils.h
DMABUFSurfaceImage.cpp Bug 1712588 Implement DMABufSurface::GetAsSourceSurface. r=sotaro,jgilbert 2021-07-15 16:19:51 +00:00
DMABUFSurfaceImage.h Bug 1712588 Implement DMABufSurface::GetAsSourceSurface. r=sotaro,jgilbert 2021-07-15 16:19:51 +00:00
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 1733363. Make FrameMetrics::mCumulativeResolution a 1d scale. r=botond 2021-10-09 12:49:40 +00:00
FrameMetrics.h Bug 1733363. Make FrameMetrics::mCumulativeResolution a 1d scale. r=botond 2021-10-09 12:49:40 +00:00
GLImages.cpp
GLImages.h
GPUVideoImage.h
ImageContainer.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2022-01-11 15:49:03 +00:00
ImageContainer.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
ImageDataSerializer.cpp
ImageDataSerializer.h
ImageTypes.h
IMFYCbCrImage.cpp
IMFYCbCrImage.h
IPDLActor.h
LayerAttributes.h Bug 1743955 - Remove SimpleLayerAttributes. r=gfx-reviewers,lsalzman 2021-12-02 14:37:20 +00:00
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 1744087 - Remove some unused remnants from Layers.h/cpp. r=gfx-reviewers,bradwerth 2021-12-02 20:30:18 +00:00
LayersTypes.cpp Bug 1740411 - Remove EventRegions. r=hiro 2021-11-22 05:34:14 +00:00
LayersTypes.h Bug 1740411 - Remove EventRegions. r=hiro 2021-11-22 05:34:14 +00:00
LayerUserData.h
MacIOSurfaceHelpers.cpp
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1735893 - Add pref to use NV12 when uploading software-decoded video to an IOSurface. r=bradwerth 2021-10-14 20:17:02 +00:00
MacIOSurfaceImage.h
MemoryPressureObserver.cpp
MemoryPressureObserver.h
moz.build Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi 2021-12-23 20:29:07 +00:00
NativeLayer.h Bug 1720375 - Restructure surface pool into a buffer pool,r=stransky,gfx-reviewers,lsalzman 2021-08-04 12:43:21 +00:00
NativeLayerCA.h Backed out changeset a7c322ebcfea (bug 1737682) for causing high frequency bc failures in browser_panelUINotifications_multiWindow. CLOSED TREE 2021-12-18 01:09:45 +02:00
NativeLayerCA.mm Bug 1738926 Part 2: Stop enqueueing video when the layer gets overwhelmed. r=gfx-reviewers,mstange 2022-01-13 19:42:37 +00:00
NativeLayerWayland.cpp Bug 1742990 - Disconnect after-paint listener, r=gfx-reviewers,lsalzman 2021-12-29 20:43:08 +00:00
NativeLayerWayland.h Bug 1720375 - Restructure surface pool into a buffer pool,r=stransky,gfx-reviewers,lsalzman 2021-08-04 12:43:21 +00:00
OOPCanvasRenderer.h
PersistentBufferProvider.cpp Bug 1739908 p2: Only use PersistentBufferProviderShared::mPermanentBackBuffer when first needed. r=lsalzman 2021-12-07 09:36:18 +00:00
PersistentBufferProvider.h Bug 1739908 p1: Remove PersistentBufferProviderShared::mTextureLockIsUnreliable. r=lsalzman 2021-12-07 09:36:18 +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 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
RecordedCanvasEventImpl.h
RepaintRequest.cpp
RepaintRequest.h Bug 1739541 - Introduce APZScrollAnimationType and use it in RepaintRequest and ScrollFrameHelopr instead of a boolean representing whether there's an animation or not. r=botond 2021-11-09 09:19:26 +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 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert 2021-12-10 02:57:53 +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 1734739 - Part 1: Stop requiring otherpid for ShareTo, r=handyman 2021-11-24 17:56:00 +00:00
SurfacePool.h Bug 1699985 - Implement basic native Wayland compositor backend, r=stransky,mstange,aosmond 2021-05-11 13:38:59 +00:00
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 1728014 - [Wayland] fix FreeBSD/libc++ build by adding forgotten include to SurfacePoolWayland.h r=rmader 2021-08-29 19:34:54 +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