diff options
author | joshualitt <joshualitt@chromium.org> | 2015-08-12 06:36:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-12 06:36:57 -0700 |
commit | 37eb184e26a96f5c3593b7c2cf29f1a197eb5ac9 (patch) | |
tree | 157ed848d53ba059f55d4e65f6d0895934bf4de8 /src/gpu/batches/GrRectBatchFactory.cpp | |
parent | 9cdcabefa33d49febfdb45e388e762b4dee8dd6f (diff) |
Move AAFillRect into CPP for templatization
BUG=skia:
Review URL: https://codereview.chromium.org/1278043003
Diffstat (limited to 'src/gpu/batches/GrRectBatchFactory.cpp')
-rw-r--r-- | src/gpu/batches/GrRectBatchFactory.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gpu/batches/GrRectBatchFactory.cpp b/src/gpu/batches/GrRectBatchFactory.cpp index 33b51878a5..a66d0904a2 100644 --- a/src/gpu/batches/GrRectBatchFactory.cpp +++ b/src/gpu/batches/GrRectBatchFactory.cpp @@ -59,19 +59,6 @@ GrBatch* CreateFillBW(GrColor color, return GrRectBatch::Create(geometry); } -GrBatch* CreateFillAA(GrColor color, - const SkMatrix& viewMatrix, - const SkRect& rect, - const SkRect& devRect) { - GrAAFillRectBatch::Geometry geometry; - geometry.fRect = rect; - geometry.fViewMatrix = viewMatrix; - geometry.fDevRect = devRect; - geometry.fColor = color; - - return GrAAFillRectBatch::Create(geometry); -} - GrBatch* CreateStrokeBW(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, |