| Index: src/gpu/batches/GrRectBatchFactory.h
|
| diff --git a/src/gpu/batches/GrRectBatchFactory.h b/src/gpu/batches/GrRectBatchFactory.h
|
| index 8a088834387d9c70dc2c8fd428e5453d5292e504..6ded22db7b2ecbc1008a652b5b95e2254d9151ea 100644
|
| --- a/src/gpu/batches/GrRectBatchFactory.h
|
| +++ b/src/gpu/batches/GrRectBatchFactory.h
|
| @@ -9,6 +9,7 @@
|
| #define GrRectBatchFactory_DEFINED
|
|
|
| #include "GrAAFillRectBatch.h"
|
| +#include "GrBWFillRectBatch.h"
|
| #include "GrColor.h"
|
|
|
| class GrBatch;
|
| @@ -21,16 +22,18 @@ class SkStrokeRec;
|
| */
|
| namespace GrRectBatchFactory {
|
|
|
| -GrBatch* CreateFillBW(GrColor color,
|
| - const SkMatrix& viewMatrix,
|
| - const SkRect& rect,
|
| - const SkRect* localRect,
|
| - const SkMatrix* localMatrix);
|
| +inline GrBatch* CreateFillBW(GrColor color,
|
| + const SkMatrix& viewMatrix,
|
| + const SkRect& rect,
|
| + const SkRect* localRect,
|
| + const SkMatrix* localMatrix) {
|
| + return GrBWFillRectBatch::Create(color, viewMatrix, rect, localRect, localMatrix);
|
| +}
|
|
|
| -static GrBatch* CreateFillAA(GrColor color,
|
| - const SkMatrix& viewMatrix,
|
| - const SkRect& rect,
|
| - const SkRect& devRect) {
|
| +inline GrBatch* CreateFillAA(GrColor color,
|
| + const SkMatrix& viewMatrix,
|
| + const SkRect& rect,
|
| + const SkRect& devRect) {
|
| return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect);
|
| }
|
|
|
|
|