PerformanceOverlayOption enum Null safety
The options that control whether the performance overlay displays certain aspects of the compositor.
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.
PerformanceOverlayOption()
- 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.
PerformanceOverlayOption()
- 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.
PerformanceOverlayOption()
- 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.
PerformanceOverlayOption()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.
[displayRasterizerStatistics, visualizeRasterizerStatistics, displayEngineStatistics, visualizeEngineStatistics]