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

Issue 1770153002: Fix 4f gradient swizzle post http://crrev.com/1774523002 (Closed)

Created:
4 years, 9 months ago by f(malita)
Modified:
4 years, 9 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix 4f gradient swizzle post http://crrev.com/1774523002 * store interval colors in pm4f-natural/RGBA order * swizzle to dst order during interval advance Also remove an unused Interval ctor. R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1770153002 Committed: https://skia.googlesource.com/skia/+/d8a4f772115bbb9d50c0e73613bdd879833da690

Patch Set 1 #

Patch Set 2 : unintended FORCE_4F_CONTEXT #

Patch Set 3 : redundant include #

Total comments: 3

Patch Set 4 : float mult #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M src/effects/gradients/Sk4fGradientBase.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/effects/gradients/Sk4fGradientBase.cpp View 1 2 1 chunk +2 lines, -12 lines 0 comments Download
M src/effects/gradients/Sk4fLinearGradient.cpp View 1 2 3 3 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
f(malita)
depends on https://codereview.chromium.org/1774523002/
4 years, 9 months ago (2016-03-07 21:47:51 UTC) #4
reed1
lgtm better to land this separately, or roll it into the other CL? https://codereview.chromium.org/1770153002/diff/40001/src/effects/gradients/Sk4fLinearGradient.cpp File ...
4 years, 9 months ago (2016-03-08 14:47:23 UTC) #5
mtklein
https://codereview.chromium.org/1770153002/diff/40001/src/effects/gradients/Sk4fLinearGradient.cpp File src/effects/gradients/Sk4fLinearGradient.cpp (right): https://codereview.chromium.org/1770153002/diff/40001/src/effects/gradients/Sk4fLinearGradient.cpp#newcode320 src/effects/gradients/Sk4fLinearGradient.cpp:320: const float paintAlpha = rec.fPaint->getAlpha() / 255.0f; On 2016/03/08 ...
4 years, 9 months ago (2016-03-08 14:57:51 UTC) #6
f(malita)
On 2016/03/08 14:47:23, reed1 wrote: > lgtm > > better to land this separately, or ...
4 years, 9 months ago (2016-03-08 15:04:46 UTC) #7
f(malita)
On 2016/03/08 14:57:51, mtklein wrote: > x * (1/255.0f) ~~> multiply Done.
4 years, 9 months ago (2016-03-08 15:07:12 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1770153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770153002/60001
4 years, 9 months ago (2016-03-08 18:10:22 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 18:19:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1770153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770153002/60001
4 years, 9 months ago (2016-03-08 18:19:52 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 18:20:53 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/d8a4f772115bbb9d50c0e73613bdd879833da690

Powered by Google App Engine
This is Rietveld 408576698