DisjointQueryGpuProfiler class

GPU profiler using EXT_disjoint_timer_query on ANGLE / OpenGL ES. Pass the native GL binding object directly (the one with glGenQueries, glBeginQuery, …).

Implemented types

Properties

gl → dynamic
The native GLES FFI binding (e.g., the object that has glGenQueries, glGetQueryiv, etc.)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

beginFrame() → void
Starts timing a new frame.
override
dispose() → void
Releases resources.
override
endFrame(dynamic _) PerfStats
Completes frame timing and returns statistics.
override
markGpuBegin(dynamic _) → void
Marks the beginning of GPU work.
override
markGpuEnd(dynamic _) → void
Marks the end of GPU work.
override
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

Static Methods

tryCreate(dynamic gl) DisjointQueryGpuProfiler?
Create if supported; otherwise return null so the caller can fall back.