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

Issue 16467002: Added tests for radial gradients with shader matrices (Closed)

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

Description

Added tests for radial gradients with shader matrices Fixed a bug with linear gradient PDF matrices and added test cases Committed: http://code.google.com/p/skia/source/detail?r=9554

Patch Set 1 #

Patch Set 2 : radial gradients test #

Total comments: 16

Patch Set 3 : addressed review comments, significant refactoring of test image generation #

Patch Set 4 : Rebased to gradient matrices fix #

Patch Set 5 : Attempt #2 at a rebase #

Patch Set 6 : Fixed array reference #

Total comments: 2

Patch Set 7 : Addressing more code review comments #

Patch Set 8 : More style nits #

Patch Set 9 : Merge from gradient matrix fix, shader matrix now generated from rectangle #

Patch Set 10 : Fixed the Mac build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M gm/gradient_matrix.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
ducky
7 years, 6 months ago (2013-06-05 19:13:31 UTC) #1
vandebo (ex-Chrome)
https://codereview.chromium.org/16467002/diff/2001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16467002/diff/2001/gm/gradient_matrix.cpp#newcode17 gm/gradient_matrix.cpp:17: static SkShader* SimpleLinearGradient(const SkPoint pts[2]) { MakeLinearGradient https://codereview.chromium.org/16467002/diff/2001/gm/gradient_matrix.cpp#newcode22 gm/gradient_matrix.cpp:22: ...
7 years, 6 months ago (2013-06-11 05:15:25 UTC) #2
reed1
https://codereview.chromium.org/16467002/diff/2001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16467002/diff/2001/gm/gradient_matrix.cpp#newcode28 gm/gradient_matrix.cpp:28: return SkGradientShader::CreateRadial(center, radius, gColors, Another common way to pass ...
7 years, 6 months ago (2013-06-11 13:54:16 UTC) #3
ducky
Also addresses comments in https://codereview.chromium.org/16094020/ How do I update the previous issue above? Is there ...
7 years, 6 months ago (2013-06-11 19:51:01 UTC) #4
vandebo (ex-Chrome)
Rebase this CL so it only shows the radial gradient changes.
7 years, 6 months ago (2013-06-11 22:12:00 UTC) #5
ducky
Rebased to track only changes after gradient matrix fix.
7 years, 6 months ago (2013-06-11 23:21:20 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/16467002/diff/19001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (left): https://codereview.chromium.org/16467002/diff/19001/gm/gradient_matrix.cpp#oldcode49 gm/gradient_matrix.cpp:49: canvas->save(); These can stay here.
7 years, 6 months ago (2013-06-12 16:28:02 UTC) #7
ducky
Fixed code review comments. https://codereview.chromium.org/16467002/diff/19001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (left): https://codereview.chromium.org/16467002/diff/19001/gm/gradient_matrix.cpp#oldcode49 gm/gradient_matrix.cpp:49: canvas->save(); On 2013/06/12 16:28:03, vandebo ...
7 years, 6 months ago (2013-06-12 18:24:06 UTC) #8
ducky
Generates shader matrix from rectangle.
7 years, 6 months ago (2013-06-12 19:02:32 UTC) #9
vandebo (ex-Chrome)
LGTM
7 years, 6 months ago (2013-06-12 20:02:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/16467002/33001
7 years, 6 months ago (2013-06-12 21:37:37 UTC) #11
commit-bot: I haz the power
Change committed as 9554
7 years, 6 months ago (2013-06-12 21:47:41 UTC) #12
ducky
7 years, 6 months ago (2013-06-12 22:32:05 UTC) #13
Message was sent while issue was closed.
Attempt to fix Mac10.6 builds by doing explicit SkIntToScalar and
SkFloatToScalar

Powered by Google App Engine
This is Rietveld 408576698