mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The original change was reverted as it broke the GPU tracer reset logic. The previous logic assumed that the first started command buffer would also be the first submitted command buffer. With the direct encoding, this is no longer the case - so we shift the logic so that we reset query pools once at startup and then after the queries are finished being recorded. This might actually be better in general since we should be doing less work in the frame workload.