Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1731)

Unified Diff: src/gpu/text/GrTextUtils.h

Issue 1985163002: Remove GrFontScaler class (Closed) Base URL: https://chromium.googlesource.com/skia.git@rmkey
Patch Set: remove comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/text/GrTextUtils.h
diff --git a/src/gpu/text/GrTextUtils.h b/src/gpu/text/GrTextUtils.h
index 7823473f771d09ee977e88a4e0605b246e46bf5a..c218ab7da19768288265e91fcc461a289244cfac 100644
--- a/src/gpu/text/GrTextUtils.h
+++ b/src/gpu/text/GrTextUtils.h
@@ -18,7 +18,6 @@ class GrBatchTextStrike;
class GrClip;
class GrContext;
class GrDrawContext;
-class GrFontScaler;
class GrShaderCaps;
class SkGlyph;
class SkMatrix;
@@ -85,7 +84,6 @@ public:
static bool ShouldDisableLCD(const SkPaint& paint);
- static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const SkPaint& paint);
private:
@@ -96,12 +94,12 @@ private:
static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrBatchFontCache*,
GrBatchTextStrike**, const SkGlyph&, int left, int top,
- GrColor color, GrFontScaler*);
+ GrColor color, SkGlyphCache*);
static bool DfAppendGlyph(GrAtlasTextBlob*, int runIndex, GrBatchFontCache*,
GrBatchTextStrike**, const SkGlyph&,
SkScalar sx, SkScalar sy, GrColor color,
- GrFontScaler* scaler,
+ SkGlyphCache* cache,
SkScalar textRatio, const SkMatrix& viewMatrix);
};

Powered by Google App Engine
This is Rietveld 408576698