| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 644161f4d98e156287ceb1feddd4dfa9ffbdb30a..e4c082125cfd782e85dbb4bd29759ef3ce34a878 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 "GrCaps.h"
|
| #include "GrContext.h"
|
| @@ -293,7 +294,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,
|
| @@ -304,6 +305,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,
|
|
|