Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 667cae9c44649611f14bd3497e9fc7efa6706bed..a8177b57702bf24e14bdccc412fcd335478e3926 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -170,9 +170,11 @@ GrPath* GrGpu::createPath(const SkPath& path, const SkStrokeRec& stroke) { |
return this->pathRendering()->createPath(path, stroke); |
} |
-GrPathRange* GrGpu::createPathRange(size_t size, const SkStrokeRec& stroke) { |
+GrPathRange* GrGpu::createGlyphs(const SkTypeface* typeface, |
+ const SkDescriptor* desc, |
+ const SkStrokeRec& stroke) { |
this->handleDirtyContext(); |
- return this->pathRendering()->createPathRange(size, stroke); |
+ return this->pathRendering()->createGlyphs(typeface, desc, stroke); |
} |
void GrGpu::clear(const SkIRect* rect, |
@@ -389,6 +391,7 @@ void GrGpu::onDrawPaths(const GrPathRange* pathRange, |
return; |
} |
+ pathRange->willDrawPaths(indices, count); |
this->pathRendering()->drawPaths(pathRange, indices, count, transforms, transformsType, fill); |
} |