commit | c4025189d31efcb0d54bf14b7712b38725f86c13 | [log] [tgz] |
---|---|---|
author | ericrk <ericrk@chromium.org> | Wed May 04 12:01:58 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 04 12:01:58 2016 -0700 |
tree | 45a3c7a2fa0ab990a6bb2d5abef26f44545625dc | |
parent | 427c2819d9237d7d7729c59238036cfc73c072ea [diff] |
Allow stencils to be attached to render targets created via SkSurface::MakeFromBackendTextureAsRenderTarget This is a regression from "Refactor to separate backend object lifecycle and GpuResource budget decision". GrGLRenderer::canAttemptStencilAttachment was incorrectly returning false for all wrapped render targets. This function should return false only if the FBO is wrapped (unowned). If the FBO is owned by Skia, we can attach stencils. BUG=608238 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1924183003 Review-Url: https://codereview.chromium.org/1941353003