A layer that indicates to the compositor that it should display certain performance statistics within it.
Constructors
- PerformanceOverlayLayer({@required Rect overlayRect, @required int optionsMask, @required int rasterizerThreshold, @required bool checkerboardRasterCacheImages })
-
Creates a layer that displays a performance overlay.
Properties
- checkerboardRasterCacheImages → bool
-
Whether the raster cache should checkerboard cached entries.
read-only - optionsMask → int
-
The mask is created by shifting 1 by the index of the specific PerformanceOverlayOption to enable.
read-only - overlayRect → Rect
-
The rectangle in this layer's coordinate system that the overlay should occupy.
read / write - rasterizerThreshold → int
-
The rasterizer threshold is an integer specifying the number of frame intervals that the rasterizer must miss before it decides that the frame is suitable for capturing an SkPicture trace for further analysis.
read-only - debugCreator → dynamic
-
The object responsible for creating this layer.
read / write, inherited - hashCode → int
-
Get a hash code for this object.
read-only, inherited - nextSibling → Layer
-
This layer's next sibling in the parent layer's child list
read-only, inherited - parent → ContainerLayer
-
This layer's parent in the layer tree
read-only, inherited - previousSibling → Layer
-
This layer's previous sibling in the parent layer's child list
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
addToScene(
SceneBuilder builder, Offset layerOffset) → void -
Override this method to upload this layer to the engine
-
debugDescribeChildren(
String prefix) → String -
Returns a description of this layer's children for use by toStringDeep.
inherited -
debugFillDescription(
List<String> description) → void -
Add additional information to the given description for use by toStringDeep.
inherited -
detach(
) → void -
Removes this layer from its parent layer's child list
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
replaceWith(
Layer newLayer) → void -
Replaces this layer with the given layer in the parent layer's child list
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited -
toStringDeep(
[String prefixLineOne = '', String prefixOtherLines = '' ]) → String -
Returns a string representation of this layer and its descendants.
inherited