gecko-dev/gfx/layers
Hiroyuki Ikezoe 4205879729 Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris
The machinery to report janked animations is;

1) Store the partial pre-rendered animation id and the Animation object in a
   hashtable in LayerManager
2) Store the animation id in the Animation object as well
3) When we detect jank, we send the animation id to the main-thread via an IPC
   call
4) Find the Animation object with the id in the hashtable and update the
   Animaiton
5) Whenever the partial pre-rendered Animation stop running on the compositor
   i.e. the Animation finished normally, the Animation's target element is
   changed, etc. etc., remove the Animation from the hashtable

Depends on D75731

Differential Revision: https://phabricator.services.mozilla.com/D75732
2020-07-05 11:45:01 +00:00
..
apz Bug 1324591 - Add APZSampler::GetCompositionBounds to get the composition bounds for a given pair of LayersId and scrollId. r=botond 2020-07-05 11:43:45 +00:00
basic Bug 1649684 - Use the current nsISerialEventTarget with the various process hosts. r=nika 2020-07-02 22:59:24 +00:00
client Bug 1650113 [Linux] Use DMABufTextures only when Wayland support is build, r=sotaro 2020-07-03 12:59:53 +00:00
composite Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel 2020-07-05 11:44:18 +00:00
d3d11 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ipc Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
layerviewer Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
mlgpu Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol 2020-06-15 18:25:55 +00:00
opengl Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol 2020-07-02 13:43:19 +00:00
protobuf Bug 1627444 p2 - Regenerate protobuf classes r=lina 2020-04-07 18:05:56 +00:00
wr Bug 1324591 - Store the corresponding LayersId for each animation on the compositor. r=kats 2020-07-05 11:42:55 +00:00
AndroidHardwareBuffer.cpp Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol 2020-07-02 13:43:19 +00:00
AndroidHardwareBuffer.h Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol 2020-07-02 13:43:19 +00:00
AnimationHelper.cpp Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel 2020-07-05 11:44:18 +00:00
AnimationHelper.h Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel 2020-07-05 11:44:18 +00:00
AnimationInfo.cpp Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
AnimationInfo.h Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
AnimationStorageData.h Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel 2020-07-05 11:44:18 +00:00
AtomicRefCountedWithFinalize.h
AxisPhysicsModel.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
AxisPhysicsModel.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
AxisPhysicsMSDModel.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
AxisPhysicsMSDModel.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BSPTree.cpp
BSPTree.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
BufferTexture.cpp Bug 1639874 - Fix YCbCrTextureClientAllocationHelper::IsCompatible() r=jrmuizel 2020-05-21 18:53:42 +00:00
BufferTexture.h Bug 1639874 - Fix YCbCrTextureClientAllocationHelper::IsCompatible() r=jrmuizel 2020-05-21 18:53:42 +00:00
BuildConstants.h Bug 1632249 - Determine webgl's layers::TextureType in Present. r=lsalzman 2020-06-15 18:26:14 +00:00
CanvasDrawEventRecorder.cpp Bug 1641722: Deactivate remote canvas 2D when device creation or stream read failure occurs. r=jrmuizel,chutten 2020-06-26 11:37:31 +00:00
CanvasDrawEventRecorder.h Bug 1641722: Deactivate remote canvas 2D when device creation or stream read failure occurs. r=jrmuizel,chutten 2020-06-26 11:37:31 +00:00
CanvasRenderer.cpp Bug 1646007 [Wayland] Check Wayland dmabuf backend and fallback to a default one, r=jgilbert 2020-06-25 05:57:40 +00:00
CanvasRenderer.h Bug 1647167 - Run pre/post transaction triggers in BasicCanvasLayer::Paint. r=mattwoodrow 2020-07-02 22:55:48 +00:00
CompositionRecorder.cpp Bug 1581240 - Return collected frames from the composition recorder as data URIs r=mstange 2019-11-07 22:34:37 +00:00
CompositionRecorder.h Bug 1581240 - Return collected frames from the composition recorder as data URIs r=mstange 2019-11-07 22:34:37 +00:00
Compositor.cpp Bug 1626659 - Fix non-unified build errors elsewhere in gfx/layers. r=tnikkel 2020-04-04 23:39:14 +00:00
Compositor.h Bug 1627716 - Remove now-unused SetRenderOffset code related to DynamicToolbarAnimator. r=jrmuizel 2020-04-22 11:50:40 +00:00
CompositorAnimationStorage.cpp Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
CompositorAnimationStorage.h Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel 2020-07-05 11:44:18 +00:00
CompositorTypes.h Bug 1628175 - WebGL is drawn into the picture cache and then onto the screen r=gw 2020-04-30 07:08:17 +00:00
D3D9SurfaceImage.cpp Bug 1618458 - Clean up TextureClientRecycleAllocator r=nical 2020-02-27 13:34:08 +00:00
D3D9SurfaceImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
D3D11ShareHandleImage.cpp Bug 1600595: Part 4 - Make D3D11ShareHandleImage use CreateBGRA8DataSourceSurfaceForD3D11Texture r=mattwoodrow 2020-01-04 19:37:01 +00:00
D3D11ShareHandleImage.h Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
D3D11YCbCrImage.cpp Bug 1543359 - P7. Plumb YUV Color Range info in Windows' Image types. r=mattwoodrow 2019-07-26 08:45:30 +00:00
D3D11YCbCrImage.h Bug 1618458 - Clean up TextureClientRecycleAllocator r=nical 2020-02-27 13:34:08 +00:00
DirectedGraph.h
DirectionUtils.h
DMABUFSurfaceImage.cpp Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at gxf, r=sotaro 2020-06-21 13:59:17 +00:00
DMABUFSurfaceImage.h Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at gxf, r=sotaro 2020-06-21 13:59:17 +00:00
Effects.cpp
Effects.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FrameMetrics.cpp Bug 1626659 - Fix non-unified build errors elsewhere in gfx/layers. r=tnikkel 2020-04-04 23:39:14 +00:00
FrameMetrics.h Bug 1621781 - Add an "IsRDMTouchSimulationActive" field to ScrollMetadata. r=botond 2020-05-30 03:15:22 +00:00
GLImages.cpp Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol 2020-06-15 18:25:55 +00:00
GLImages.h Bug 1648076 - Use AndroidSurfaceTexture related files only on Android r=jgilbert 2020-06-24 18:59:14 +00:00
GPUVideoImage.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
ImageContainer.cpp Bug 1645579 - Disable RecycleAllocator for RDD process when WebRender is disabled on Mac r=nical 2020-06-16 18:14:46 +00:00
ImageContainer.h Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
ImageDataSerializer.cpp Bug 1639874 - Fix YCbCrTextureClientAllocationHelper::IsCompatible() r=jrmuizel 2020-05-21 18:53:42 +00:00
ImageDataSerializer.h Bug 1639874 - Fix YCbCrTextureClientAllocationHelper::IsCompatible() r=jrmuizel 2020-05-21 18:53:42 +00:00
ImageLayers.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
ImageLayers.h Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow 2020-01-21 01:25:28 +00:00
ImageTypes.h Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at gxf, r=sotaro 2020-06-21 13:59:17 +00:00
IMFYCbCrImage.cpp Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
IMFYCbCrImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
IPDLActor.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayerAttributes.h Bug 1613009 - Make SimpleLayerAttributes explicitly serialized. r=botond 2020-03-13 19:59:04 +00:00
LayerMetricsWrapper.h Bug 1610731 - Remove GetIsStickyPosition and clean up some TODOs. r=botond 2020-04-04 06:16:57 +00:00
Layers.cpp Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
Layers.h Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris 2020-07-05 11:45:01 +00:00
LayerScope.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
LayerScope.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayersHelpers.cpp
LayersHelpers.h
LayersLogging.cpp Bug 1627012 - Add/improve logging around visual scroll offset. r=botond 2020-05-28 01:55:52 +00:00
LayersLogging.h Bug 1622360 - Remove SLGuidAndRenderRoot and convert remaining uses to ScrollableLayerGuid. r=botond 2020-03-27 17:44:21 +00:00
LayerSorter.cpp Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
LayerSorter.h
LayersTypes.cpp Bug 1647911 - Use text markers for payload presented markers. r=gerald 2020-06-29 22:41:20 +00:00
LayersTypes.h Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol 2020-07-02 13:43:19 +00:00
LayerTreeInvalidation.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
LayerTreeInvalidation.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
LayerUserData.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
MacIOSurfaceHelpers.cpp Bug 1543359 - P12. Fix colorspace rendering with IOSurface and basic compositor. r=mattwoodrow 2019-07-26 08:45:40 +00:00
MacIOSurfaceHelpers.h
MacIOSurfaceImage.cpp Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
MacIOSurfaceImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
MemoryPressureObserver.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MemoryPressureObserver.h
moz.build Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol 2020-07-02 13:43:19 +00:00
NativeLayer.h Bug 1646066 - Make partial valid rects work properly in NativeLayerCA. r=jrmuizel 2020-06-18 22:15:22 +00:00
NativeLayerCA.h Bug 1646066 - Make partial valid rects work properly in NativeLayerCA. r=jrmuizel 2020-06-18 22:15:22 +00:00
NativeLayerCA.mm Bug 1646066 - Make partial valid rects work properly in NativeLayerCA. r=jrmuizel 2020-06-18 22:15:22 +00:00
OOPCanvasRenderer.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
PaintThread.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
PaintThread.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
PersistentBufferProvider.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-11-26 14:35:02 +00:00
PersistentBufferProvider.h Bug 1592213: Allow up to 2 more textures in PersistentBufferProviderShared when webrender enabled. r=nical 2019-10-30 10:05:59 +00:00
ProfilerScreenshots.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ProfilerScreenshots.h Bug 1450059 - part 2 - move ProfilerScreenshots over to the background thread; r=gregtatum 2019-09-25 12:59:24 +00:00
ReadbackLayer.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
ReadbackProcessor.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
ReadbackProcessor.h
RecordedCanvasEventImpl.h Bug 1639626: Hold BackendType in CanvasTranslator to guard against the reference DrawTarget being null. r=mattwoodrow 2020-05-21 00:05:27 +00:00
RenderTrace.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RenderTrace.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RepaintRequest.h Bug 1617427 - Miscellaenous documentation fixes. r=botond 2020-03-13 19:56:56 +00:00
RotatedBuffer.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
RotatedBuffer.h
ScrollableLayerGuid.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
ShareableCanvasRenderer.cpp Bug 1632249 - Determine webgl's layers::TextureType in Present. r=lsalzman 2020-06-15 18:26:14 +00:00
ShareableCanvasRenderer.h Bug 1632249 - Support compositing out-of-process WebGL. r=handyman,lsalzman,nical,geckoview-reviewers,agi,imanol 2020-06-15 18:25:55 +00:00
SourceSurfaceSharedData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceSharedData.h Bug 1641594 - Remove the wrapper around recycled surfaces. r=tnikkel 2020-06-11 17:49:13 +00:00
SourceSurfaceVolatileData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceVolatileData.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SurfacePool.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
SurfacePoolCA.h Bug 1592038 - Share depth buffers across IOSurface framebuffers with the same size. r=jgilbert 2019-12-19 02:55:15 +00:00
SurfacePoolCA.mm Bug 1052940 - Make Maybe<T> only declare copy/move operations if T is copyable/movable. r=froydnj,jgilbert 2020-03-27 14:10:45 +00:00
SyncObject.cpp
SyncObject.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
TextureDIB.cpp Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
TextureDIB.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
TextureSourceProvider.cpp
TextureSourceProvider.h Bug 1557105 - Handle non-webrender widget case during enabling WebRender at ImageBridge r=nical 2019-06-10 12:36:14 +00:00
TextureSync.cpp Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow 2020-05-08 20:20:44 +00:00
TextureSync.h
TextureWrapperImage.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
TextureWrapperImage.h Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical 2019-06-07 12:27:05 +00:00
TiledLayerBuffer.h Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
TransactionIdAllocator.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
TreeTraversal.h Bug 1625138 - Part 39: Replace mozilla::IsSame with std::is_same in gfx/. r=froydnj 2020-03-28 13:57:21 +00:00
UpdateImageHelper.h Bug 1622360 - Drop render root arguments from ImageClient interface. r=jrmuizel 2020-05-14 23:55:53 +00:00
ZoomConstraints.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00