commit | ad66337afe89e3f66dff834d6f40d2071f5a1a7b | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Mar 19 12:44:36 2020 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Mar 19 12:54:11 2020 -0700 |
tree | db51e940d55888ead1f48de2dee08eb3c81cec77 | |
parent | 2c728339cdbf856c34d93e9418d2a2f4a1cac8aa [diff] |
Use a VBO when drawing blurs Until now, we were uploading the vertex and uv data for every draw call, this is not great. This CL created a packed vertex buffer, uploads it to the graphics card and reuses it. Test: SurfaceFlinger_tests Test: manual Bug: 149792636 Change-Id: Iee72a9a815a8ea43880a21c1b4c61320dea20dff