commit | af1e21e7ebb155d2505da0eb974c672953dfefef | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Wed Mar 16 10:25:58 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Mar 16 10:25:58 2016 -0700 |
tree | 6e1fa6b73fd0f559cdb19b05163c3d86c2c49533 | |
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