PerformanceOverlayOption enum

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

Constants

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.

const PerformanceOverlayOption(2)
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.

const PerformanceOverlayOption(0)
values → const List<PerformanceOverlayOption>

A constant List of the values in this enum, in order of their declaration.

const List<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.

const PerformanceOverlayOption(3)
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.

const PerformanceOverlayOption(1)

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited