remove unused SK_SUPPORT_LEGACY_TEXT_BLOB
Bug: skia: Change-Id: I07a6b04ceb0e5a69d0b80ecf43abed13e51fcd5e Reviewed-on: https://skia-review.googlesource.com/c/162747 Reviewed-by: Herb Derby <herb@google.com> Auto-Submit: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
parent
6a388006f5
commit
050be74e6d
@ -563,19 +563,7 @@ void SkBitmapDevice::drawSprite(const SkBitmap& bitmap, int x, int y, const SkPa
|
||||
}
|
||||
|
||||
void SkBitmapDevice::drawGlyphRunList(const SkGlyphRunList& glyphRunList) {
|
||||
#if defined(SK_SUPPORT_LEGACY_TEXT_BLOB)
|
||||
auto blob = glyphRunList.blob();
|
||||
|
||||
if (blob == nullptr) {
|
||||
glyphRunList.temporaryShuntToDrawPosText(this, SkPoint::Make(0, 0));
|
||||
} else {
|
||||
auto origin = glyphRunList.origin();
|
||||
auto paint = glyphRunList.paint();
|
||||
this->drawTextBlob(blob, origin.x(), origin.y(), paint);
|
||||
}
|
||||
#else
|
||||
LOOP_TILER( drawGlyphRunList(glyphRunList, &fGlyphPainter), nullptr )
|
||||
#endif
|
||||
}
|
||||
|
||||
void SkBitmapDevice::drawVertices(const SkVertices* vertices, const SkVertices::Bone bones[],
|
||||
|
Loading…
Reference in New Issue
Block a user