5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_GPU_TRACER_GLES_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_GPU_TRACER_GLES_H_
50 std::deque<uint32_t> pending_traces_;
51 std::optional<uint32_t> active_frame_ = std::nullopt;
52 std::thread::id raster_thread_;
54 bool enabled_ =
false;
Trace GPU execution times using GL_EXT_disjoint_timer_query on GLES.
void MarkFrameEnd(const ProcTableGLES &gl)
Record the end of a frame workload.
void MarkFrameStart(const ProcTableGLES &gl)
Record the start of a frame workload, if one hasn't already been started.
void RecordRasterThread()
Record the thread id of the raster thread.
void Reset()
Reset query tracking. Must be called when reusing reusing GLES context in a new window (e....