| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 35a19e4e243546338dd1725f6aaaceb4691877f6..3978fde849ac301f4adb73d750a98d31601d4bb1 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "GrDrawTarget.h"
|
|
|
| +#include "GrAARectRenderer.h"
|
| #include "GrBatch.h"
|
| #include "GrContext.h"
|
| #include "GrDrawTargetCaps.h"
|
| @@ -292,7 +293,7 @@ void GrDrawTarget::drawPaths(GrPipelineBuilder* pipelineBuilder,
|
| transformType, count, stencilSettings, pipelineInfo);
|
| }
|
|
|
| -void GrDrawTarget::drawRect(GrPipelineBuilder* pipelineBuilder,
|
| +void GrDrawTarget::drawBWRect(GrPipelineBuilder* pipelineBuilder,
|
| GrColor color,
|
| const SkMatrix& viewMatrix,
|
| const SkRect& rect,
|
| @@ -303,6 +304,14 @@ void GrDrawTarget::drawRect(GrPipelineBuilder* pipelineBuilder,
|
| this->drawBatch(pipelineBuilder, batch);
|
| }
|
|
|
| +void GrDrawTarget::drawAARect(GrPipelineBuilder* pipelineBuilder,
|
| + GrColor color,
|
| + const SkMatrix& viewMatrix,
|
| + const SkRect& rect,
|
| + const SkRect& devRect) {
|
| + GrAARectRenderer::FillAARect(this, pipelineBuilder, color, viewMatrix, rect, devRect);
|
| +}
|
| +
|
| void GrDrawTarget::clear(const SkIRect* rect,
|
| GrColor color,
|
| bool canIgnoreRect,
|
|
|