Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: include/core/SkDevice.h

Issue 1831603002: Revert of Switch SkBlurImageFilter over to new onFilterImage interface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/effects/SkBlurImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 126f1d2548fa86dac88fc7024767a3a1ed3498ce..cd13d5482e97d1e32f848d9993771601c7b8d674 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -378,12 +378,6 @@
return NULL;
}
- /**
- * Calls through to drawSprite, processing the imagefilter.
- */
- virtual void drawBitmapAsSpriteWithImageFilter(const SkDraw&, const SkBitmap&,
- int x, int y, const SkPaint&);
-
private:
friend class SkCanvas;
friend struct DeviceCM; //for setMatrixClip
@@ -394,6 +388,11 @@
friend class SkNoPixelsBitmapDevice;
friend class SkSurface_Raster;
+ /**
+ * Calls through to drawSprite, processing imagefilter as needed.
+ */
+ void drawBitmapAsSprite(const SkDraw&, const SkBitmap&, int x, int y, const SkPaint&);
+
// used to change the backend's pixels (and possibly config/rowbytes)
// but cannot change the width/height, so there should be no change to
// any clip information.
« no previous file with comments | « no previous file | include/effects/SkBlurImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698