PerformanceOverlayOption enum

The options that control whether the performance overlay displays certain aspects of the compositor.

Inheritance

Constructors

PerformanceOverlayOption()
const

Values

displayRasterizerStatistics → const PerformanceOverlayOption

Display the frame time and FPS of the last frame rendered. This field is updated every frame.

This is the time spent by the rasterizer as it tries to convert the layer tree obtained from the widgets into OpenGL commands and tries to flush them onto the screen. When the total time taken by this step exceeds the frame slice, a frame is lost.

visualizeRasterizerStatistics → const PerformanceOverlayOption

Display the rasterizer frame times as they change over a set period of time in the form of a graph. The y axis of the graph denotes the total time spent by the rasterizer as a fraction of the total frame slice. When the bar turns red, a frame is lost.

displayEngineStatistics → const PerformanceOverlayOption

Display the frame time and FPS at which the interface can construct a layer tree for the rasterizer (whose behavior is described above) to consume.

This involves all layout, animations, etc. When the total time taken by this step exceeds the frame slice, a frame is lost.

visualizeEngineStatistics → const PerformanceOverlayOption

Display the engine frame times as they change over a set period of time in the form of a graph. The y axis of the graph denotes the total time spent by the engine as a fraction of the total frame slice. When the bar turns red, a frame is lost.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PerformanceOverlayOption>
A constant List of the values in this enum, in order of their declaration.