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

Issue 16094020: Fixed a bug with linear gradient PDF matrices and added test cases (Closed)

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

Description

Fixed a bug with linear gradient PDF matrices and added test cases Committed: http://code.google.com/p/skia/source/detail?r=9553

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressing code review comments #

Total comments: 12

Patch Set 3 : More fixes addressing code review comments #

Total comments: 26

Patch Set 4 : More fixes from code review comments #

Patch Set 5 : Another minor style change #

Patch Set 6 : More style nits. #

Total comments: 2

Patch Set 7 : Dynamically generate shader matrix from rectangle #

Patch Set 8 : Attempt at fixing Mac build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -2 lines) Patch
A gm/gradient_matrix.cpp View 1 2 3 4 5 6 7 1 chunk +111 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
ducky
7 years, 6 months ago (2013-06-05 19:14:06 UTC) #1
vandebo (ex-Chrome)
Not bad for your first code review. I'm happy to answer questions or discuss any ...
7 years, 6 months ago (2013-06-11 05:15:10 UTC) #2
ducky
Addresses issues in code review comments. Based on code from https://codereview.chromium.org/16467002/ minus radial gradient specific ...
7 years, 6 months ago (2013-06-11 21:35:32 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/16094020/diff/5001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/5001/gm/gradient_matrix.cpp#newcode39 gm/gradient_matrix.cpp:39: SkScalar* ptsArray, int numImages) { nit: indent https://codereview.chromium.org/16094020/diff/5001/gm/gradient_matrix.cpp#newcode49 gm/gradient_matrix.cpp:49: ...
7 years, 6 months ago (2013-06-11 22:11:05 UTC) #4
ducky
More fixes! https://codereview.chromium.org/16094020/diff/5001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/5001/gm/gradient_matrix.cpp#newcode39 gm/gradient_matrix.cpp:39: SkScalar* ptsArray, int numImages) { On 2013/06/11 ...
7 years, 6 months ago (2013-06-11 23:18:17 UTC) #5
reed1
getting much cleaner, thanks. https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp#newcode6 gm/gradient_matrix.cpp:6: */ nit: LF after */ ...
7 years, 6 months ago (2013-06-12 13:34:33 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp#newcode8 gm/gradient_matrix.cpp:8: Include what you use... SkColor, SkPoint, SkScalar, SkMatrix, SkRect, ...
7 years, 6 months ago (2013-06-12 16:25:33 UTC) #7
reed1
https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp#newcode8 gm/gradient_matrix.cpp:8: On 2013/06/12 16:25:33, vandebo wrote: > Include what you ...
7 years, 6 months ago (2013-06-12 17:11:26 UTC) #8
ducky
Fixed code review comments. https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/10001/gm/gradient_matrix.cpp#newcode6 gm/gradient_matrix.cpp:6: */ On 2013/06/12 13:34:33, reed1 ...
7 years, 6 months ago (2013-06-12 18:24:01 UTC) #9
reed1
https://codereview.chromium.org/16094020/diff/23001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/23001/gm/gradient_matrix.cpp#newcode55 gm/gradient_matrix.cpp:55: // Make matrix consistent with the rectangle, and have ...
7 years, 6 months ago (2013-06-12 18:32:28 UTC) #10
ducky
https://codereview.chromium.org/16094020/diff/23001/gm/gradient_matrix.cpp File gm/gradient_matrix.cpp (right): https://codereview.chromium.org/16094020/diff/23001/gm/gradient_matrix.cpp#newcode55 gm/gradient_matrix.cpp:55: // Make matrix consistent with the rectangle, and have ...
7 years, 6 months ago (2013-06-12 18:41:06 UTC) #11
reed1
How about matrix.setScale(138, 106); matrix.postTranslate(rect.fLeft, rect.fTop); ?
7 years, 6 months ago (2013-06-12 18:47:03 UTC) #12
ducky
Generates shader matrix from rectangle.
7 years, 6 months ago (2013-06-12 19:02:16 UTC) #13
reed1
lgtm
7 years, 6 months ago (2013-06-12 19:27:27 UTC) #14
vandebo (ex-Chrome)
LGTM too
7 years, 6 months ago (2013-06-12 20:01:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/16094020/31001
7 years, 6 months ago (2013-06-12 20:53:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/16094020/26002
7 years, 6 months ago (2013-06-12 21:25:16 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-06-12 21:33:05 UTC) #18
Message was sent while issue was closed.
Change committed as 9553

Powered by Google App Engine
This is Rietveld 408576698