aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/colormatrix.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-03-23 18:52:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-23 18:52:57 -0700
commit374a4c3b744e8c77455efa73b139950136f7b374 (patch)
treef015e15a2305bed415e2e2f87aee18d287256b4e /gm/colormatrix.cpp
parent7971def11be91ed08eae7107b372322d24e67544 (diff)
Revert of impl colormatrix w/ floats (patchset #7 id:120001 of https://codereview.chromium.org/967943002/)
Reason for revert: Arm64 seems to be having glitches :( See gm:colormatrix on Arm64/TegraK1/Nexus9 last square should be all white, but it has stripes Original issue's description: > impl colormatrix w/ floats > > this needs to land first https://codereview.chromium.org/1031713003 > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/7971def11be91ed08eae7107b372322d24e67544 TBR=mtklein@google.com,caryclark@google.com,reed@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1030743003
Diffstat (limited to 'gm/colormatrix.cpp')
-rw-r--r--gm/colormatrix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp
index 36cf8c59d2..841f36a139 100644
--- a/gm/colormatrix.cpp
+++ b/gm/colormatrix.cpp
@@ -103,6 +103,7 @@ protected:
const SkBitmap bmps[] = { fSolidBitmap, fTransparentBitmap };
for (size_t i = 0; i < SK_ARRAY_COUNT(bmps); ++i) {
+
matrix.setIdentity();
setColorMatrix(&paint, matrix);
canvas->drawBitmap(bmps[i], 0, 0, &paint);