aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-03-16 09:06:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-16 20:08:50 +0000
commit5fa6645dbe4f56a51ce0f59c13c99afb12ff3f5c (patch)
treeadad3431f0f3075b3fd1f82d05035075ad5f3fa9 /include/core
parentc48af934608bbb65650641f66adb51f2102d4274 (diff)
remove unused VerticesFlags
Deferring removing the flags parameter from the virtuals until a later CL (as it collides with another related CL) BUG=skia:6366 Change-Id: I817fae3df03ecebe5ec3532f691ed06deab890e6 Reviewed-on: https://skia-review.googlesource.com/9739 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkCanvas.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 3ce4baeb59..81841ba2b4 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1178,12 +1178,7 @@ public:
this->drawVertices(vmode, vertexCount, vertices, texs, colors, SkBlendMode::kModulate,
indices, indexCount, paint);
}
- enum VerticesFlags {
- /** Ignore the vertices' colors and instead use the paint color. */
- kIgnoreColors_VerticesFlag = 0x1,
- /** Ignore the vertices' tex coords (and any shader on the paint). */
- kIgnoreTexCoords_VerticesFlag = 0x2
- };
+
/** Draw vertices from an immutable SkVertices object.
@param vertices The mesh to draw.
@@ -1193,8 +1188,7 @@ public:
@param paint Specifies the shader/texture if present.
@param flags Allows the caller to ignore colors or texs on vertices.
*/
- void drawVertices(sk_sp<SkVertices> vertices, SkBlendMode mode, const SkPaint& paint,
- uint32_t flags = 0);
+ void drawVertices(sk_sp<SkVertices> vertices, SkBlendMode mode, const SkPaint& paint);
/**
Draw a cubic coons patch