commit | 0fc488920dd2915f5596dda347681e0571bb56dc | [log] [tgz] |
---|---|---|
author | ericrk <ericrk@chromium.org> | Mon May 08 17:03:51 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 08 17:03:51 2017 |
tree | 546cebf031515830c680ea2c48c0041c58a9053d | |
parent | 9ce0013f7cb1f236cffbbae7bf43a6b7a8d09ef0 [diff] |
cc::ResourcePool - Re-use larger resources for smaller requests Allows cc::ResourcePool to re-use larger resources to fulfill a smaller request. This avoids expensive allocations, and is especially useful in cases where layer sizes are changing due to animation. Also extends the timeout for resource expiration from 1s to 5s, which will also cut down on resource allocations. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2726263003 Cr-Original-Commit-Position: refs/heads/master@{#456202} Committed: https://chromium.googlesource.com/chromium/src/+/830cb220146684c38b9aa4da3f39e96c37a59f33 Review-Url: https://codereview.chromium.org/2726263003 Cr-Commit-Position: refs/heads/master@{#470023}