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

Unified Diff: src/core/SkMaskFilter.cpp

Issue 119343003: Fast blurred rectangles on GPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: handle null input color, and some comments from Brian Created 7 years 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
Index: src/core/SkMaskFilter.cpp
diff --git a/src/core/SkMaskFilter.cpp b/src/core/SkMaskFilter.cpp
index f062f135fdbebbd4f5016bfde05dc0a424e04ccb..9bfd57f010965a8b9bb31d3250d93bd9046b71e7 100644
--- a/src/core/SkMaskFilter.cpp
+++ b/src/core/SkMaskFilter.cpp
@@ -309,6 +309,13 @@ bool SkMaskFilter::canFilterMaskGPU(const SkRect& devBounds,
return false;
}
+bool SkMaskFilter::directFilterMaskGPU(GrContext *context,
reed1 2014/01/02 17:32:39 minor nit: skia places the * or & with the type, n
humper 2014/01/02 18:12:10 Done -- someday I will train my fingers to type th
+ GrPaint *grp,
+ const SkStrokeRec& strokeRec,
+ const SkPath *path) const {
+ return false;
+}
+
bool SkMaskFilter::filterMaskGPU(GrContext* context,
const SkBitmap& srcBM,
const SkRect& maskRect,
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/effects/SkBlurMask.h » ('j') | src/effects/SkBlurMask.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698