In our current code, we would use a staging texture as the working copy for buffer updates. This would trigger very large memcpy calls in some cases for large buffers with small updates. Instead, use a CPU memory buffer storage, and work with this storage when the user updates data. This plays much nicer with the VertexDataManager. BUG=angle:912 Change-Id: I8c32d3d9bb321a06534556ce05b4b99dc3d1e961 Reviewed-on: https://chromium-review.googlesource.com/249183Tested-by:Jamie Madill <jmadill@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| third_party/perf | Loading commit data... | |
| BufferSubData.cpp | Loading commit data... | |
| BufferSubData.h | Loading commit data... | |
| PointSprites.cpp | Loading commit data... | |
| PointSprites.h | Loading commit data... | |
| SimpleBenchmark.cpp | Loading commit data... | |
| SimpleBenchmark.h | Loading commit data... | |
| TexSubImage.cpp | Loading commit data... | |
| TexSubImage.h | Loading commit data... | |
| angle_perf_test_main.cpp | Loading commit data... | |
| buffersubdata.json | Loading commit data... | |
| pointsprites.json | Loading commit data... | |
| texsubimage.json | Loading commit data... |