commit | 8f741bb8daa612144e7cf50639129750fbb1cb3a | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue Jan 31 17:25:29 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Feb 01 12:56:35 2017 +0000 |
tree | 430b1dcab796ed94c09b6f3debd90585d0f2ca47 | |
parent | a54ccb22111e57b57a5fbb6b7f0eebc72e4f02d4 [diff] |
Add more pre-checks to surfaceProxy creation Chrome is seeing crashes in GrProcessor::TextureSampler::reset when the textures are being instantiated. This CL moves more potential failures cases up-stack. BUG=687174 Change-Id: I014acff9730ffd1e8ac178611372ed4dedbd82f3 Reviewed-on: https://skia-review.googlesource.com/7828 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>