Jonah Williams c9bb068cfa [Impeller] flush all GLES cmd buffers together. (flutter/engine#56724)
Locally this gives much better performance, about doubling frame time on the Pixel 4. This avoids multiple glbuffersubdata calls that seems to perform particularly bad on mobile devices.

Thinking about it more, I'm not sure that having a separate EncodeCommands API is useful for RenderPass/BlitPass. instead they should probably just use submit. but that is a refactor for another day.

https://github.com/flutter/flutter/issues/159177
2024-11-20 17:41:14 +00:00
..