diff options
author | Mike Reed <reed@google.com> | 2017-03-19 15:04:17 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-19 20:09:25 +0000 |
commit | 2f6b5a47a50cdd218bc3302273be3a4a71add8fb (patch) | |
tree | f4d09bf9c395b4e406cfdf2625525317b3607f4b /src/core/SkDevice.cpp | |
parent | 919cc4562cc615c7f4b4325def1f7454bc8dd724 (diff) |
remove legacy vertices virtual from SkDevice
BUG=skia:6366
Change-Id: I9fb49538f358343a7c2e4541d0044d961ac1b54d
Reviewed-on: https://skia-review.googlesource.com/9870
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index 11a6a87fde..21287a2260 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -131,7 +131,7 @@ void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height()); if (vertices) { - this->drawVerticesObject(vertices.get(), bmode, paint); + this->drawVertices(vertices.get(), bmode, paint); } } @@ -272,13 +272,6 @@ void SkBaseDevice::drawAtlas(const SkImage* atlas, const SkRSXform xform[], } } -void SkBaseDevice::drawVerticesObject(const SkVertices* vertices, SkBlendMode mode, - const SkPaint& paint) { - this->drawVertices(vertices->mode(), vertices->vertexCount(), vertices->positions(), - vertices->texCoords(), vertices->colors(), mode, vertices->indices(), - vertices->indexCount(), paint); -} - /////////////////////////////////////////////////////////////////////////////////////////////////// void SkBaseDevice::drawSpecial(SkSpecialImage*, int x, int y, const SkPaint&) {} |