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/SkColorMatrixFilter.h

Issue 1028403002: Revert "Revert of impl colormatrix w/ floats (patchset #7 id:120001 of https://codereview.chromium.… (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 | « include/effects/SkColorMatrix.h ('k') | src/effects/SkColorMatrixFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkColorMatrixFilter.h
diff --git a/include/effects/SkColorMatrixFilter.h b/include/effects/SkColorMatrixFilter.h
index 19033af3ec0de1ede8028df72bf78860be6540bb..4cb24bad5de4d67436bb93168b449c633aca0f47 100644
--- a/include/effects/SkColorMatrixFilter.h
+++ b/include/effects/SkColorMatrixFilter.h
@@ -44,7 +44,8 @@ protected:
void flatten(SkWriteBuffer&) const SK_OVERRIDE;
private:
- SkColorMatrix fMatrix;
+ SkColorMatrix fMatrix;
+ float fTranspose[SkColorMatrix::kCount]; // for Sk4f
typedef void (*Proc)(const State&, unsigned r, unsigned g, unsigned b,
unsigned a, int32_t result[4]);
« no previous file with comments | « include/effects/SkColorMatrix.h ('k') | src/effects/SkColorMatrixFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698