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

Unified Diff: include/effects/SkColorMatrix.h

Issue 968993004: add virtuals to optimize composing colorfilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix param warning Created 5 years, 10 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 | « include/core/SkColorFilter.h ('k') | include/effects/SkColorMatrixFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkColorMatrix.h
diff --git a/include/effects/SkColorMatrix.h b/include/effects/SkColorMatrix.h
index c598a1210e5a33de9b8e942b477107937cdcc3dc..7ac457900b6ebf55f6fa39e0e57b1806157831a2 100644
--- a/include/effects/SkColorMatrix.h
+++ b/include/effects/SkColorMatrix.h
@@ -59,6 +59,9 @@ public:
}
bool operator!=(const SkColorMatrix& other) const { return !((*this) == other); }
+
+ static bool NeedsClamping(const SkScalar[20]);
+ static void SetConcat(SkScalar result[20], const SkScalar outer[20], const SkScalar inner[20]);
};
#endif
« no previous file with comments | « include/core/SkColorFilter.h ('k') | include/effects/SkColorMatrixFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698