commit | 58d6ac581d1b72dbce5c65bfb55d35693b1dbb17 | [log] [tgz] |
---|---|---|
author | Jonathan Backer <backer@chromium.org> | Fri Jan 18 02:16:27 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 18 02:16:27 2019 |
tree | aed611096dc274dbfa73799cb239e5f568948448 | |
parent | 3de729c5d736007196ce58fe6e259b9edecd2f27 [diff] |
Cache SkPromiseImageTexture SkPromiseImageTexture is valid as long as the metadata does not change (e.g. side, pixel format, texture ID). This is true for the lifetime of a SharedImage. SharedImages are reused by renderers as part of their cc::ResourcePool. Caching saves some work for Skia during SkiaRenderer compositing. Change-Id: I67b6f6f138509096e2b3ec2a3cc1555e00bd23f6 Bug: 914521 Reviewed-on: https://chromium-review.googlesource.com/c/1418735 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#623960}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .