DescriptionRemove GL query processing from DrawElements/DrawArrays.
Polling GL queries is taking ~7us each time on Android. Processing
queries from ::DrawElements & ::DrawArrays may not be a good idea as
50 to 100 draw calls per-frame with GPU rendering is common
i.e. 350~700us, and more so as we aim for handling higher draw call
counts in the future.
Pending queries are still polled in the following cases:
- After glFlush().
- After glFinish().
- After processing any GpuCommandBufferStub IPC message.
- As delayed work, at up to 1000Hz.
BUG=385937
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278533
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|