Don't attempt to use stencil on wrapped, stencil-less targets

We can't attach stencil to a wrapped render target. If we find
ourselves rendering to one that doesn't have stencil already, don't
issue any ops that use stencil.

Bug: chromium:1196353
Bug: skia:11943
Change-Id: I9db93f31a4f8556103be72eb708755e4eaf78136
Commit-Queue: Chris Dalton <>
Reviewed-by: Robert Phillips <>
14 files changed