| Index: src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| index eb6abb39a814ddded730fec3b59f1609dec0dc6c..b74728ece99d61f85d281e6acf6c604758643a52 100644
|
| --- a/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| +++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| @@ -82,7 +82,8 @@ void GrStencilAndCoverTextContext::drawText(GrContext* context, GrDrawContext* d
|
| } else if (this->canDraw(skPaint, viewMatrix)) {
|
| if (skPaint.getTextSize() > 0) {
|
| TextRun run(skPaint);
|
| - GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget());
|
| + GrPipelineBuilder pipelineBuilder(paint, dc->isUnifiedMultisampled());
|
| + pipelineBuilder.setRenderTarget(dc->accessRenderTarget());
|
| run.setText(text, byteLength, x, y);
|
| run.draw(context, dc, &pipelineBuilder, clip, paint.getColor(), viewMatrix, props, 0, 0,
|
| clipBounds, fFallbackTextContext, skPaint);
|
| @@ -117,7 +118,8 @@ void GrStencilAndCoverTextContext::drawPosText(GrContext* context, GrDrawContext
|
| } else if (this->canDraw(skPaint, viewMatrix)) {
|
| if (skPaint.getTextSize() > 0) {
|
| TextRun run(skPaint);
|
| - GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget());
|
| + GrPipelineBuilder pipelineBuilder(paint, dc->isUnifiedMultisampled());
|
| + pipelineBuilder.setRenderTarget(dc->accessRenderTarget());
|
| run.setPosText(text, byteLength, pos, scalarsPerPosition, offset);
|
| run.draw(context, dc, &pipelineBuilder, clip, paint.getColor(), viewMatrix, props, 0, 0,
|
| clipBounds, fFallbackTextContext, skPaint);
|
| @@ -225,7 +227,8 @@ void GrStencilAndCoverTextContext::drawTextBlob(GrContext* context, GrDrawContex
|
| }
|
|
|
| const TextBlob& blob = this->findOrCreateTextBlob(skBlob, skPaint);
|
| - GrPipelineBuilder pipelineBuilder(paint, dc->accessRenderTarget());
|
| + GrPipelineBuilder pipelineBuilder(paint, dc->isUnifiedMultisampled());
|
| + pipelineBuilder.setRenderTarget(dc->accessRenderTarget());
|
|
|
| TextBlob::Iter iter(blob);
|
| for (TextRun* run = iter.get(); run; run = iter.next()) {
|
|
|