Remove use of RunPaint from regenerateGlyphRunList
Change uses of RunPaint and Paint to uses of SkPaint and a GrColor.
Change-Id: I44d4c41a53e570f316e10dee26754c21d9593de0
Reviewed-on: https://skia-review.googlesource.com/145962
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/src/gpu/text/GrTextContext.h b/src/gpu/text/GrTextContext.h
index 109fc9c..ec7b8e7 100644
--- a/src/gpu/text/GrTextContext.h
+++ b/src/gpu/text/GrTextContext.h
@@ -87,7 +87,7 @@
void appendGlyph(const SkGlyph& glyph, SkGlyphID glyphID, SkPoint glyphPos);
void drawGlyphs(
GrTextBlob* blob, int runIndex, GrGlyphCache* cache,
- const SkSurfaceProps& props, const GrTextUtils::Paint& flags,
+ const SkSurfaceProps& props, const SkPaint& paint, GrColor filteredColor,
SkScalerContextFlags scalerContextFlags);
void initializeForDraw(SkPaint* paint, SkScalar* textRatio, SkMatrix* matrix) const;
@@ -118,6 +118,7 @@
GrGlyphCache*,
const GrShaderCaps&,
const GrTextUtils::Paint&,
+ GrColor filteredColor,
SkScalerContextFlags scalerContextFlags,
const SkMatrix& viewMatrix,
const SkSurfaceProps&,