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

Issue 18655012: Added a high-color (50 colors) gradient for each gradient type. (Closed)

Created:
7 years, 5 months ago by dierk
Modified:
7 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Added a high-color (50 colors) gradient for each gradient type. To do so I added an enumerated type called ColorType that can toggle between kColors_2 and kColors_50 to swap between 2 and 50 color gradients. Added hicolor bench for each gradient type. BUG= Committed: http://code.google.com/p/skia/source/detail?r=9960

Patch Set 1 #

Patch Set 2 : Fixed parameter type for method (from int -> enum) #

Total comments: 4

Patch Set 3 : Removed enum type, added name field to GradData struct instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -8 lines) Patch
M bench/GradientBench.cpp View 1 2 4 chunks +27 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dierk
7 years, 5 months ago (2013-07-09 21:09:28 UTC) #1
bsalomon
https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp File bench/GradientBench.cpp (right): https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp#newcode293 bench/GradientBench.cpp:293: DEF_BENCH( return new GradientBench(p, kSweep_GradType, kColors_50); ) Maybe just ...
7 years, 5 months ago (2013-07-09 21:29:45 UTC) #2
dierk
https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp File bench/GradientBench.cpp (right): https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp#newcode293 bench/GradientBench.cpp:293: DEF_BENCH( return new GradientBench(p, kSweep_GradType, kColors_50); ) I used ...
7 years, 5 months ago (2013-07-10 15:01:26 UTC) #3
bsalomon
https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp File bench/GradientBench.cpp (right): https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp#newcode293 bench/GradientBench.cpp:293: DEF_BENCH( return new GradientBench(p, kSweep_GradType, kColors_50); ) You could ...
7 years, 5 months ago (2013-07-10 15:21:21 UTC) #4
dierk
https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp File bench/GradientBench.cpp (right): https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp#newcode293 bench/GradientBench.cpp:293: DEF_BENCH( return new GradientBench(p, kSweep_GradType, kColors_50); ) On 2013/07/10 ...
7 years, 5 months ago (2013-07-10 15:41:12 UTC) #5
bsalomon
On 2013/07/10 15:41:12, dierk wrote: > https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp > File bench/GradientBench.cpp (right): > > https://codereview.chromium.org/18655012/diff/2001/bench/GradientBench.cpp#newcode293 > ...
7 years, 5 months ago (2013-07-10 15:43:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dierk@google.com/18655012/9001
7 years, 5 months ago (2013-07-10 15:47:25 UTC) #7
commit-bot: I haz the power
7 years, 5 months ago (2013-07-10 16:13:16 UTC) #8
Message was sent while issue was closed.
Change committed as 9960

Powered by Google App Engine
This is Rietveld 408576698