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

Unified Diff: include/effects/SkDisplacementMapEffect.h

Issue 26531002: Add crop rect support for SkDisplacementMapEffect (raster and GPU paths). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Update to new CropRect API. Created 7 years, 2 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 | « gm/displacement.cpp ('k') | src/effects/SkDisplacementMapEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkDisplacementMapEffect.h
diff --git a/include/effects/SkDisplacementMapEffect.h b/include/effects/SkDisplacementMapEffect.h
index ed9d15b15a226fa59fe276c362b3cebcfaa680a5..d789ca24f21e3e5cbb92d31733fa3755b9b15e38 100644
--- a/include/effects/SkDisplacementMapEffect.h
+++ b/include/effects/SkDisplacementMapEffect.h
@@ -25,7 +25,8 @@ public:
SkDisplacementMapEffect(ChannelSelectorType xChannelSelector,
ChannelSelectorType yChannelSelector,
SkScalar scale, SkImageFilter* displacement,
- SkImageFilter* color = NULL);
+ SkImageFilter* color = NULL,
+ const CropRect* cropRect = NULL);
~SkDisplacementMapEffect();
« no previous file with comments | « gm/displacement.cpp ('k') | src/effects/SkDisplacementMapEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698