diff options
author | 2020-03-19 12:44:36 -0700 | |
---|---|---|
committer | 2020-03-19 12:54:11 -0700 | |
commit | ad66337afe89e3f66dff834d6f40d2071f5a1a7b (patch) | |
tree | db51e940d55888ead1f48de2dee08eb3c81cec77 /vulkan/libvulkan/api.cpp | |
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
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions