From 4204da25aa4c6e0b321314aa32fd9affb4865563 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 17 May 2017 08:53:36 -0400 Subject: move shadows to device virtual This CL keeps the impl for each device backend in the utils file for simplicity (shared helpers). Future CLs may move into their respective impl as they become more specialized. Bug: skia: Change-Id: I97ce6cdcc5106ebf4c84778f943cc32d0b7613c1 Reviewed-on: https://skia-review.googlesource.com/15893 Reviewed-by: Mike Klein Commit-Queue: Mike Reed --- include/utils/SkNWayCanvas.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/utils') diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h index ba0745e420..7701d50e26 100644 --- a/include/utils/SkNWayCanvas.h +++ b/include/utils/SkNWayCanvas.h @@ -71,6 +71,7 @@ protected: void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) override; void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override; + void onDrawShadowRec(const SkPath&, const SkDrawShadowRec&) override; void onClipRect(const SkRect&, SkClipOp, ClipEdgeStyle) override; void onClipRRect(const SkRRect&, SkClipOp, ClipEdgeStyle) override; -- cgit v1.2.3