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

Issue 974183002: simplify logic in SkPerliNoiseShader for GPU when constant color (Closed)

Created:
5 years, 9 months ago by bsalomon
Modified:
5 years, 9 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

simplify logic in SkPerliNoiseShader for GPU when constant color BUG=skia:3488 Committed: https://skia.googlesource.com/skia/+/ea8b55db889b19786008b7c613d238e7202485e5

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : revert GM change #

Patch Set 4 : use >> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -9 lines) Patch
M src/effects/SkPerlinNoiseShader.cpp View 1 2 3 1 chunk +5 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
bsalomon
Realized how simple this is after coding this: https://codereview.chromium.org/978713002/ :-/ Maybe there is still a ...
5 years, 9 months ago (2015-03-04 04:57:23 UTC) #2
bsalomon
removed GM change.
5 years, 9 months ago (2015-03-04 14:55:50 UTC) #3
egdaniel
lgtm. IMO the shift (aka mul by 128) is just as valid as the mul ...
5 years, 9 months ago (2015-03-04 14:58:00 UTC) #4
sugoi1
LGTM with the bit shift. https://codereview.chromium.org/974183002/diff/20001/src/effects/SkPerlinNoiseShader.cpp File src/effects/SkPerlinNoiseShader.cpp (right): https://codereview.chromium.org/974183002/diff/20001/src/effects/SkPerlinNoiseShader.cpp#newcode969 src/effects/SkPerlinNoiseShader.cpp:969: uint32_t rgb = alpha ...
5 years, 9 months ago (2015-03-04 15:53:53 UTC) #6
sugoi1
On 2015/03/04 15:53:53, sugoi1 wrote: > LGTM with the bit shift. > > https://codereview.chromium.org/974183002/diff/20001/src/effects/SkPerlinNoiseShader.cpp > ...
5 years, 9 months ago (2015-03-04 16:02:16 UTC) #7
reed1
this CL still has SkColorFilter::CreateModeFilter. Is this fixing a different aspect of the bug?
5 years, 9 months ago (2015-03-04 17:15:03 UTC) #8
sugoi1
On 2015/03/04 17:15:03, reed1 wrote: > this CL still has SkColorFilter::CreateModeFilter. Is this fixing a ...
5 years, 9 months ago (2015-03-04 17:43:59 UTC) #9
reed1
heheheh, oops, I completely misread the diff. doh!
5 years, 9 months ago (2015-03-04 18:20:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974183002/60001
5 years, 9 months ago (2015-03-04 18:58:06 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 19:03:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/ea8b55db889b19786008b7c613d238e7202485e5

Powered by Google App Engine
This is Rietveld 408576698