| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 7eef92290e4f12150d67501e55277213f45f1b97..5b29b9e8b5d28b58b21f62c74a00cf68facf1c0b 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -564,7 +564,7 @@ static const GrStencilSettings& even_odd_path_stencil_settings() {
|
| }
|
|
|
| void GrDrawTarget::getPathStencilSettingsForFilltype(GrPathRendering::FillType fill,
|
| - const GrStencilBuffer* sb,
|
| + const GrStencilAttachment* sb,
|
| GrStencilSettings* outStencilSettings) {
|
|
|
| switch (fill) {
|
| @@ -600,7 +600,7 @@ void GrDrawTarget::stencilPath(GrPipelineBuilder* pipelineBuilder,
|
| // set stencil settings for path
|
| GrStencilSettings stencilSettings;
|
| GrRenderTarget* rt = pipelineBuilder->getRenderTarget();
|
| - GrStencilBuffer* sb = rt->renderTargetPriv().attachStencilBuffer();
|
| + GrStencilAttachment* sb = rt->renderTargetPriv().attachStencilAttachment();
|
| this->getPathStencilSettingsForFilltype(fill, sb, &stencilSettings);
|
|
|
| this->onStencilPath(*pipelineBuilder, pathProc, path, scissorState, stencilSettings);
|
| @@ -629,7 +629,7 @@ void GrDrawTarget::drawPath(GrPipelineBuilder* pipelineBuilder,
|
| // set stencil settings for path
|
| GrStencilSettings stencilSettings;
|
| GrRenderTarget* rt = pipelineBuilder->getRenderTarget();
|
| - GrStencilBuffer* sb = rt->renderTargetPriv().attachStencilBuffer();
|
| + GrStencilAttachment* sb = rt->renderTargetPriv().attachStencilAttachment();
|
| this->getPathStencilSettingsForFilltype(fill, sb, &stencilSettings);
|
|
|
| GrDrawTarget::PipelineInfo pipelineInfo(pipelineBuilder, &scissorState, pathProc, &devBounds,
|
| @@ -669,7 +669,7 @@ void GrDrawTarget::drawPaths(GrPipelineBuilder* pipelineBuilder,
|
| // set stencil settings for path
|
| GrStencilSettings stencilSettings;
|
| GrRenderTarget* rt = pipelineBuilder->getRenderTarget();
|
| - GrStencilBuffer* sb = rt->renderTargetPriv().attachStencilBuffer();
|
| + GrStencilAttachment* sb = rt->renderTargetPriv().attachStencilAttachment();
|
| this->getPathStencilSettingsForFilltype(fill, sb, &stencilSettings);
|
|
|
| // Don't compute a bounding box for dst copy texture, we'll opt
|
|
|