Disable sharing of stencil buffers across differently sized rendertargets
authorrobertphillips <robertphillips@google.com>
Fri, 20 Mar 2015 13:43:11 +0000 (06:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Mar 2015 13:43:11 +0000 (06:43 -0700)
commitca75ea871e40cc4ebd19bfa26a096bec19fd464e
treeef12815aeac206b50981a0456424ef30a67b5637
parent8c874eee943bdea0fab5b4d2707083c863e37c55
Disable sharing of stencil buffers across differently sized rendertargets

Due to revertapalooza, stencil buffers shared across differently sized rendertargets aren't getting cleared correctly. This CL disables the sharing until the clearing issues can be remedied. Note that stencil buffers should still be shared between identically sized render targets and should still be lazily allocated.

Review URL: https://codereview.chromium.org/1020203002
src/gpu/GrGpu.cpp