From 5a31997b0eb5c2440956155124e372fd710c6dec Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Fri, 26 Apr 2019 10:38:49 -0400 Subject: [PATCH] Remove SkCanvas::filterBitmap declaration. It doesn't look like this even has an implementation anymore. Test: This just removes dead code. Change-Id: I126ad7f653e80973e0d79966a5885f486e2aa9f2 --- libs/hwui/SkiaCanvas.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/hwui/SkiaCanvas.h b/libs/hwui/SkiaCanvas.h index 3fe2bce06b412..bce1235a0f55f 100644 --- a/libs/hwui/SkiaCanvas.h +++ b/libs/hwui/SkiaCanvas.h @@ -221,16 +221,6 @@ private: void drawPoints(const float* points, int count, const SkPaint& paint, SkCanvas::PointMode mode); - /** Filters the paint for bitmap drawing. - * - * After filtering the paint for bitmap drawing, - * also calls filterPaint on the paint. - * - * @param paint the paint to filter. Will be initialized with the default - * SkPaint before filtering if filtering is required. - */ - PaintCoW&& filterBitmap(PaintCoW&& paint, sk_sp colorSpaceFilter) const; - class Clip; std::unique_ptr mCanvasOwned; // might own a canvas we allocated