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

Unified Diff: include/effects/SkColorMatrix.h

Issue 967943002: impl colormatrix w/ floats (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « gm/colormatrix.cpp ('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 7ac457900b6ebf55f6fa39e0e57b1806157831a2..a38585c12365f1be6db39afba380981a48772af9 100644
--- a/include/effects/SkColorMatrix.h
+++ b/include/effects/SkColorMatrix.h
@@ -12,7 +12,10 @@
class SK_API SkColorMatrix {
public:
- SkScalar fMat[20];
+ enum {
+ kCount = 20
+ };
+ SkScalar fMat[kCount];
enum Elem {
kR_Scale = 0,
« no previous file with comments | « gm/colormatrix.cpp ('k') | include/effects/SkColorMatrixFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698