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

Issue 15753005: Fixed gpu perlin noise on Windows (Closed)

Created:
7 years, 6 months ago by sugoi1
Modified:
7 years, 6 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fixed gpu perlin noise on Windows I just cleaned up and re-ordered some instructions to reduce the number of registers used under the register limit. Instead of looping over channels, the function now only loops over octaves and computes all 4 channels separately within each octave loop. I made a noise function to make it simpler to make the changes and I fixed the code's alignment so that it's more readable. R=bsalomon@google.com, senorblanco@chromium.org Committed: https://code.google.com/p/skia/source/detail?r=9486

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -96 lines) Patch
M src/effects/SkPerlinNoiseShader.cpp View 1 5 chunks +131 lines, -96 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
sugoi1
7 years, 6 months ago (2013-06-07 18:14:35 UTC) #1
Stephen White
This LGTM, but I'll leave for Brian to take a look. https://codereview.chromium.org/15753005/diff/1/src/effects/SkPerlinNoiseShader.cpp File src/effects/SkPerlinNoiseShader.cpp (right): ...
7 years, 6 months ago (2013-06-07 18:25:01 UTC) #2
sugoi1
I made the small changes requested. Note that trybots are running on the first uploaded ...
7 years, 6 months ago (2013-06-07 18:42:23 UTC) #3
bsalomon
lgtm with some style nits. Maybe you've already done this, but given how many limitations ...
7 years, 6 months ago (2013-06-10 13:39:25 UTC) #4
bsalomon
On 2013/06/10 13:39:25, bsalomon wrote: > lgtm with some style nits. > > Maybe you've ...
7 years, 6 months ago (2013-06-10 13:40:13 UTC) #5
sugoi1
7 years, 6 months ago (2013-06-10 13:59:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r9486 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698