diff options
author | Herb Derby <herb@google.com> | 2018-07-09 15:53:57 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-10 16:57:25 +0000 |
commit | b77822b4442d57d69835355c6c9e9a1354d65fce (patch) | |
tree | 40cc30bb3c4c5efcd2f8fa8b0c938eddb86533af /src/core/SkDevice.cpp | |
parent | 1d784ceafa9e0f3e32ef341900bc349f90abb81d (diff) |
Remove the SkGlyphRunInfo code
The SkGlyphRunInfo code caused most of the complication.
Maintaining the various different indices became
unwieldy.
Change-Id: Ia0a1259338c8572c57bb11d2407f5709459e0c72
Reviewed-on: https://skia-review.googlesource.com/140001
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index c1359e7075..2b7fef62fb 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -165,7 +165,7 @@ void SkBaseDevice::drawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, SkGlyphRunBuilder builder; builder.prepareDrawText(runPaint, (const char*) it.glyphs(), textLen, origin); auto glyphRun = builder.useGlyphRun(); - glyphRun->temporaryShuntToDrawPosText(runPaint, this); + glyphRun->temporaryShuntToDrawPosText(this); } break; case SkTextBlob::kHorizontal_Positioning: @@ -255,7 +255,7 @@ void SkBaseDevice::drawGlyphRun(const SkPaint& paint, SkGlyphRun* glyphRun) { SkPaint glyphPaint(paint); glyphPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); - glyphRun->temporaryShuntToDrawPosText(glyphPaint, this); + glyphRun->temporaryShuntToDrawPosText(this); } void SkBaseDevice::drawBitmapLattice(const SkBitmap& bitmap, |