Skip to main content

Module layer_tree

Module layer_tree 

Source
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§

CompositingReasonsParams
Provides the reasons why the given layer was composited.
CompositingReasonsReturns
What LayerTree.compositingReasons answers with.
DisableParams
Disables compositing tree inspection.
EnableParams
Enables compositing tree inspection.
Layer
Information about a compositing layer.
LayerPaintedEvent
Payload of the LayerTree.layerPainted event.
LayerTreeDidChangeEvent
Payload of the LayerTree.layerTreeDidChange event.
LoadSnapshotParams
Returns the snapshot identifier.
LoadSnapshotReturns
What LayerTree.loadSnapshot answers with.
MakeSnapshotParams
Returns the layer snapshot identifier.
MakeSnapshotReturns
What LayerTree.makeSnapshot answers with.
PictureTile
Serialized fragment of layer picture along with its offset within the layer.
ProfileSnapshotParams
Parameters of LayerTree.profileSnapshot.
ProfileSnapshotReturns
What LayerTree.profileSnapshot answers with.
ReleaseSnapshotParams
Releases layer snapshot captured by the back-end.
ReplaySnapshotParams
Replays the layer snapshot and returns the resulting bitmap.
ReplaySnapshotReturns
What LayerTree.replaySnapshot answers with.
ScrollRect
Rectangle where scrolling happens on the main thread.
SnapshotCommandLogParams
Replays the layer snapshot and returns canvas log.
SnapshotCommandLogReturns
What LayerTree.snapshotCommandLog answers with.
StickyPositionConstraint
Sticky position constraints.

Enums§

ScrollRectType
The values type accepts on ScrollRect.

Type Aliases§

LayerId
Unique Layer identifier.
PaintProfile
Array of timings, one per paint step.
SnapshotId
Unique snapshot identifier.