Expand description
The LayerTree domain.
Types, command parameters and event payloads for the LayerTree
domain. The method-name constants for the same domain are in
crate::methods.
This domain is experimental and may change without notice.
Structs§
- Compositing
Reasons Params - Provides the reasons why the given layer was composited.
- Compositing
Reasons Returns - What
LayerTree.compositingReasonsanswers with. - Disable
Params - Disables compositing tree inspection.
- Enable
Params - Enables compositing tree inspection.
- Layer
- Information about a compositing layer.
- Layer
Painted Event - Payload of the
LayerTree.layerPaintedevent. - Layer
Tree DidChange Event - Payload of the
LayerTree.layerTreeDidChangeevent. - Load
Snapshot Params - Returns the snapshot identifier.
- Load
Snapshot Returns - What
LayerTree.loadSnapshotanswers with. - Make
Snapshot Params - Returns the layer snapshot identifier.
- Make
Snapshot Returns - What
LayerTree.makeSnapshotanswers with. - Picture
Tile - Serialized fragment of layer picture along with its offset within the layer.
- Profile
Snapshot Params - Parameters of
LayerTree.profileSnapshot. - Profile
Snapshot Returns - What
LayerTree.profileSnapshotanswers with. - Release
Snapshot Params - Releases layer snapshot captured by the back-end.
- Replay
Snapshot Params - Replays the layer snapshot and returns the resulting bitmap.
- Replay
Snapshot Returns - What
LayerTree.replaySnapshotanswers with. - Scroll
Rect - Rectangle where scrolling happens on the main thread.
- Snapshot
Command LogParams - Replays the layer snapshot and returns canvas log.
- Snapshot
Command LogReturns - What
LayerTree.snapshotCommandLoganswers with. - Sticky
Position Constraint - Sticky position constraints.
Enums§
- Scroll
Rect Type - The values
typeaccepts onScrollRect.
Type Aliases§
- LayerId
- Unique Layer identifier.
- Paint
Profile - Array of timings, one per paint step.
- Snapshot
Id - Unique snapshot identifier.