diff options
author | ericrk <ericrk@chromium.org> | 2016-03-24 15:35:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 15:35:45 -0700 |
commit | c429baf7a28205a19975cfbb60db1b7bfc9c61fa (patch) | |
tree | 298452d5fbbffe9d0c023e0f7f7d6d5f187f97b6 /src/gpu/GrStencilAttachment.cpp | |
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
Diffstat (limited to 'src/gpu/GrStencilAttachment.cpp')
0 files changed, 0 insertions, 0 deletions