commit | 3a0f27916712bb3226874aeaa268e30f565880de | [log] [tgz] |
---|---|---|
author | tomhudson <tomhudson@chromium.org> | Wed Aug 20 05:29:41 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Aug 20 05:29:41 2014 -0700 |
tree | ebfd03a22ebe5a22a709ee5cc09ff4c8a74d3e07 | |
parent | 5dfe779c2e684e3e1aacfa24aa7be9c9da1598f9 [diff] |
Move the code over using the same template type approach previously used for willPlayBackBitmaps in http://skbug.com/2702. Also unifies that flag and this one into a struct so they and others can be computed together. The struct is stored const to enforce lifetime expectations. Adds a few new cases to the unit test. BUG=skia:2700 R=mtklein@google.com, reed@google.com, robertphillips@google.com, tomhudson@google.com Committed: https://skia.googlesource.com/skia/+/60c2a79cfa8ceebcbafc243407564dc71f5e3b4f Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/364823009