diff options
author | 2015-08-10 10:08:26 -0700 | |
---|---|---|
committer | 2015-08-10 10:08:26 -0700 | |
commit | ecd1a69fbf88dc704709416f37179c1177954b13 (patch) | |
tree | 22163da03a7bf1767dfa8875bbd17b74ba17b79f /src/gpu/GrDrawTarget.cpp | |
parent | 9d144ac15f26c0148dbcb82dd5aa1a348cb912ee (diff) |
Create GrRectBatchFactory
BUG=skia:
Review URL: https://codereview.chromium.org/1287433003
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 21a80deb31..c2a9eb0aa7 100644 --- a/src/gpu/GrDrawTarget.cpp +++ b/src/gpu/GrDrawTarget.cpp @@ -22,7 +22,7 @@ #include "GrVertexBuffer.h" #include "batches/GrBatch.h" -#include "batches/GrRectBatch.h" +#include "batches/GrRectBatchFactory.h" #include "SkStrokeRec.h" @@ -294,8 +294,8 @@ void GrDrawTarget::drawBWRect(const GrPipelineBuilder& pipelineBuilder, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) { - SkAutoTUnref<GrBatch> batch(GrRectBatch::Create(color, viewMatrix, rect, localRect, - localMatrix)); + SkAutoTUnref<GrBatch> batch(GrRectBatchFactory::Create(color, viewMatrix, rect, localRect, + localMatrix)); this->drawBatch(pipelineBuilder, batch); } |