aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorGravatar ericrk <ericrk@chromium.org>2016-05-03 17:14:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-03 17:14:07 -0700
commit0736f3386820f19c0fe90b5dda2094e253780071 (patch)
tree38da986740f999680d45950078c6817c2eb59459 /bin
parent00d44e014c805d06a59a74cd744e24482c218e9b (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
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions