commit | c429baf7a28205a19975cfbb60db1b7bfc9c61fa | [log] [tgz] |
---|---|---|
author | ericrk <ericrk@chromium.org> | Thu Mar 24 15:35:45 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 24 15:35:45 2016 -0700 |
tree | 298452d5fbbffe9d0c023e0f7f7d6d5f187f97b6 | |
parent | 2b6f13c76c99194d4145e171d95c4987585182d2 [diff] |
Add getDeferredTextureImageData early out Currently, when dealing with deferred texture image data, we will decode the image even if it will later fail to upload to the GPU due to size constraints. This change adds an early out to our initial decode / sizing logic. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1831873002 Review URL: https://codereview.chromium.org/1831873002