aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gn/android_framework_defines.gni1
-rw-r--r--include/core/SkCanvas.h8
-rw-r--r--public.bzl1
3 files changed, 0 insertions, 10 deletions
diff --git a/gn/android_framework_defines.gni b/gn/android_framework_defines.gni
index fdc76a9ef9..76c8339a9c 100644
--- a/gn/android_framework_defines.gni
+++ b/gn/android_framework_defines.gni
@@ -16,6 +16,5 @@ android_framework_defines = [
"SK_SUPPORT_LEGACY_SHADER_ISABITMAP",
"SK_SUPPORT_LEGACY_EMBOSSMASKFILTER",
"SK_SUPPORT_LEGACY_CANVAS_HELPERS",
- "SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL",
"SK_SUPPORT_LEGACY_IMG_SNAPSHOT",
]
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 27b28ff029..a1ba4c50e7 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1442,15 +1442,7 @@ protected:
const SkPaint&);
virtual void onDrawRRect(const SkRRect&, const SkPaint&);
virtual void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&);
-
-#ifdef SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL
- virtual void onDrawVertices(VertexMode, int, const SkPoint[],
- const SkPoint[], const SkColor[], SkBlendMode,
- const uint16_t[], int, const SkPaint&) {}
-#endif
-
virtual void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&);
-
virtual void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[],
int count, SkBlendMode, const SkRect* cull, const SkPaint*);
virtual void onDrawPath(const SkPath&, const SkPaint&);
diff --git a/public.bzl b/public.bzl
index 93d95a3707..89b80a43a4 100644
--- a/public.bzl
+++ b/public.bzl
@@ -657,7 +657,6 @@ DEFINES_ALL = [
# Temporarily Disable analytic AA for Google3
"SK_NO_ANALYTIC_AA",
"SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF",
- "SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL",
]
################################################################################