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

Unified Diff: src/gpu/batches/GrAtlasTextBatch.cpp

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/batches/GrAtlasTextBatch.cpp
diff --git a/src/gpu/batches/GrAtlasTextBatch.cpp b/src/gpu/batches/GrAtlasTextBatch.cpp
index bdf69861a4a8fa97e831a3513d043793906b734d..2da4938e79208b9970f97c89c0054da32811b1eb 100644
--- a/src/gpu/batches/GrAtlasTextBatch.cpp
+++ b/src/gpu/batches/GrAtlasTextBatch.cpp
@@ -136,7 +136,6 @@ void GrAtlasTextBatch::onPrepareDraws(Target* target) const {
// in a row
const SkDescriptor* desc = nullptr;
SkGlyphCache* cache = nullptr;
- GrFontScaler* scaler = nullptr;
SkTypeface* typeface = nullptr;
GrBlobRegenHelper helper(this, target, &flushInfo);
@@ -148,7 +147,7 @@ void GrAtlasTextBatch::onPrepareDraws(Target* target) const {
void* blobVertices;
int subRunGlyphCount;
blob->regenInBatch(target, fFontCache, &helper, args.fRun, args.fSubRun, &cache,
- &typeface, &scaler, &desc, vertexStride, args.fViewMatrix, args.fX,
+ &typeface, &desc, vertexStride, args.fViewMatrix, args.fX,
args.fY, args.fColor, &blobVertices, &byteCount, &subRunGlyphCount);
// now copy all vertices
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/text/GrAtlasTextBlob.h » ('j') | src/gpu/text/GrBatchFontCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698