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/gpu/SkGpuDevice.h | |
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/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index ed101f9bcf..8c2bf04881 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -89,10 +89,7 @@ public: int scalarsPerPos, const SkPoint& offset, const SkPaint&) override; void drawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint& paint, SkDrawFilter* drawFilter) override; - void drawVertices(SkCanvas::VertexMode, int vertexCount, const SkPoint verts[], - const SkPoint texs[], const SkColor colors[], SkBlendMode, - const uint16_t indices[], int indexCount, const SkPaint&) override; - void drawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override; + void drawVertices(const SkVertices*, SkBlendMode, const SkPaint&) override; void drawAtlas(const SkImage* atlas, const SkRSXform[], const SkRect[], const SkColor[], int count, SkBlendMode, const SkPaint&) override; void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override; @@ -231,6 +228,9 @@ private: bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); void drawStrokedLine(const SkPoint pts[2], const SkPaint&); + void wireframeVertices(SkCanvas::VertexMode, int vertexCount, const SkPoint verts[], + SkBlendMode, const uint16_t indices[], int indexCount, const SkPaint&); + static sk_sp<GrRenderTargetContext> MakeRenderTargetContext(GrContext*, SkBudgeted, const SkImageInfo&, |