diff options
author | senorblanco <senorblanco@chromium.org> | 2016-03-16 10:25:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-16 10:25:58 -0700 |
commit | af1e21e7ebb155d2505da0eb974c672953dfefef (patch) | |
tree | 6e1fa6b73fd0f559cdb19b05163c3d86c2c49533 /tests/ClearTest.cpp | |
parent | 3eac8d1b230090e96a408c38b853067860df5f20 (diff) |
GrTessellator: don't reuse the previous vertex buffer on a cache miss.
Just let the cache give us the correct entry for the given size.
This simplifies the code (no mysterious non-const ref member).
I don't see any performance effect from this change, but will watch
the bots closely.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1800623002
Review URL: https://codereview.chromium.org/1800623002
Diffstat (limited to 'tests/ClearTest.cpp')
0 files changed, 0 insertions, 0 deletions