diff options
author | 2016-11-03 14:45:31 -0400 | |
---|---|---|
committer | 2016-11-03 19:54:08 +0000 | |
commit | faba3715b8ddfaa0ce4df79bc8006e9bc7694e5b (patch) | |
tree | 7d12df48b54ebdb69209e784872831f32abbe30f /include/core/SkDevice.h | |
parent | 8b1fb741f196b78479b9d5bb2b33875aaa9709bb (diff) |
remove unused code around SK_SUPPORT_LEGACY_XFERMODE_PARAM
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4384
Change-Id: I5121acd027d935ade169ff65941f29f654a47bd0
Reviewed-on: https://skia-review.googlesource.com/4384
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r-- | include/core/SkDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index d8fa2f20a7..d521fec5ca 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -206,7 +206,7 @@ protected: const SkPoint& offset, const SkPaint& paint) = 0; virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount, const SkPoint verts[], const SkPoint texs[], - const SkColor colors[], SK_XFERMODE_PARAM xmode, + const SkColor colors[], SkBlendMode, const uint16_t indices[], int indexCount, const SkPaint& paint) = 0; // default implementation unrolls the blob runs. @@ -214,11 +214,11 @@ protected: const SkPaint& paint, SkDrawFilter* drawFilter); // default implementation calls drawVertices virtual void drawPatch(const SkDraw&, const SkPoint cubics[12], const SkColor colors[4], - const SkPoint texCoords[4], SK_XFERMODE_PARAM, const SkPaint& paint); + const SkPoint texCoords[4], SkBlendMode, const SkPaint& paint); // default implementation calls drawPath virtual void drawAtlas(const SkDraw&, const SkImage* atlas, const SkRSXform[], const SkRect[], - const SkColor[], int count, SK_XFERMODE_MODE_PARAM, const SkPaint&); + const SkColor[], int count, SkBlendMode, const SkPaint&); virtual void drawAnnotation(const SkDraw&, const SkRect&, const char[], SkData*) {} |