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

Constants

displayEngineStatistics 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 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 List<PerformanceOverlayOption>

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

const List<PerformanceOverlayOption>
visualizeEngineStatistics 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 eninge as a fraction of the total frame slice. When the bar turns red, a frame is lost.

const PerformanceOverlayOption(3)
visualizeRasterizerStatistics 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
read-only
hashCode int

Get a hash code for this object.

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

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited