aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-10 10:08:26 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-10 10:08:26 -0700
commitecd1a69fbf88dc704709416f37179c1177954b13 (patch)
tree22163da03a7bf1767dfa8875bbd17b74ba17b79f /src/gpu/GrDrawTarget.cpp
parent9d144ac15f26c0148dbcb82dd5aa1a348cb912ee (diff)
Create GrRectBatchFactory
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r--src/gpu/GrDrawTarget.cpp6
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);
}