Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index f9b0c5a7ffca5f536c5207711ad58bd2c7491626..6101c9ba5be3b0e01888467838278dc87fe7b5b3 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -10,7 +10,6 @@ |
#include "GrBatch.h" |
#include "GrBatchTarget.h" |
#include "GrBatchTest.h" |
-#include "GrBufferAllocPool.h" |
#include "GrContext.h" |
#include "GrDefaultGeoProcFactory.h" |
#include "GrDrawTargetCaps.h" |
@@ -870,10 +869,8 @@ void AAHairlineBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipel |
size_t vertexStride = lineGP->getVertexStride(); |
int vertexCount = kLineSegNumVertices * lineCount; |
- void *vertices = batchTarget->vertexPool()->makeSpace(vertexStride, |
- vertexCount, |
- &vertexBuffer, |
- &firstVertex); |
+ void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, |
+ &vertexBuffer, &firstVertex); |
if (!vertices || !linesIndexBuffer) { |
SkDebugf("Could not allocate vertices\n"); |
@@ -908,10 +905,8 @@ void AAHairlineBatch::generateGeometry(GrBatchTarget* batchTarget, const GrPipel |
size_t vertexStride = sizeof(BezierVertex); |
int vertexCount = kQuadNumVertices * quadCount + kQuadNumVertices * conicCount; |
- void *vertices = batchTarget->vertexPool()->makeSpace(vertexStride, |
- vertexCount, |
- &vertexBuffer, |
- &firstVertex); |
+ void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, |
+ &vertexBuffer, &firstVertex); |
if (!vertices || !quadsIndexBuffer) { |
SkDebugf("Could not allocate vertices\n"); |