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

Issue 211513003: Returning IntSize to store calculated kernel size values (Closed)

Created:
6 years, 9 months ago by Savago
Modified:
6 years, 9 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Returning IntSize to store calculated kernel size values allows to have less function paramenters. This patch also streamlines a bit the code in calculateUnscaledKernelSize. BUG=356329 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170195

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing reviewer's comments #

Patch Set 3 : FloatPoint parameter #

Total comments: 4

Patch Set 4 : Remove const float from Filter.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -39 lines) Patch
M Source/platform/graphics/filters/FEDropShadow.cpp View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M Source/platform/graphics/filters/FEGaussianBlur.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/filters/FEGaussianBlur.cpp View 1 2 3 chunks +23 lines, -27 lines 0 comments Download
M Source/platform/graphics/filters/FilterOperations.cpp View 1 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Savago
6 years, 9 months ago (2014-03-25 21:24:39 UTC) #1
pdr.
LGTM with nits https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp File Source/platform/graphics/filters/FEDropShadow.cpp (right): https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp#newcode65 Source/platform/graphics/filters/FEDropShadow.cpp:65: IntSize kernelSize(0, 0); Is this needed? ...
6 years, 9 months ago (2014-03-26 00:00:12 UTC) #2
Savago
https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp File Source/platform/graphics/filters/FEDropShadow.cpp (right): https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp#newcode65 Source/platform/graphics/filters/FEDropShadow.cpp:65: IntSize kernelSize(0, 0); Just checked IntSize() and it already ...
6 years, 9 months ago (2014-03-26 00:12:23 UTC) #3
pdr.
On 2014/03/26 00:12:23, Savago wrote: > https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp > File Source/platform/graphics/filters/FEDropShadow.cpp (right): > > https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEDropShadow.cpp#newcode65 > ...
6 years, 9 months ago (2014-03-26 00:17:19 UTC) #4
Stephen White
(Some of these are covered by pdr's comments; I forgot to send this earlier.) https://codereview.chromium.org/211513003/diff/1/Source/platform/graphics/filters/FEGaussianBlur.cpp ...
6 years, 9 months ago (2014-03-26 00:22:21 UTC) #5
Savago
Stephen Thanks for the review. I agree concerning the FloatPoint parameter, will upload a new ...
6 years, 9 months ago (2014-03-26 01:23:51 UTC) #6
Savago
On 2014/03/26 01:23:51, Savago wrote: > Stephen > > Thanks for the review. I agree ...
6 years, 9 months ago (2014-03-26 01:34:11 UTC) #7
f(malita)
LGTM On 2014/03/26 01:34:11, Savago wrote: > I have one question though: in FEGaussianRect::mapRect(), calculateKernelSize() ...
6 years, 9 months ago (2014-03-27 01:33:28 UTC) #8
Savago
The CQ bit was checked by a.cavalcanti@samsung.com
6 years, 9 months ago (2014-03-27 04:01:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.cavalcanti@samsung.com/211513003/180001
6 years, 9 months ago (2014-03-27 04:02:13 UTC) #10
Stephen White
Post-commit nits. https://codereview.chromium.org/211513003/diff/180001/Source/platform/graphics/filters/FEGaussianBlur.cpp File Source/platform/graphics/filters/FEGaussianBlur.cpp (right): https://codereview.chromium.org/211513003/diff/180001/Source/platform/graphics/filters/FEGaussianBlur.cpp#newcode253 Source/platform/graphics/filters/FEGaussianBlur.cpp:253: FloatPoint stdError(filter->applyHorizontalScale(std.x()), filter->applyVerticalScale(std.y())); I wonder if we ...
6 years, 9 months ago (2014-03-27 04:11:53 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 04:19:12 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-27 04:19:13 UTC) #13
Savago
https://codereview.chromium.org/211513003/diff/180001/Source/platform/graphics/filters/FEGaussianBlur.cpp File Source/platform/graphics/filters/FEGaussianBlur.cpp (right): https://codereview.chromium.org/211513003/diff/180001/Source/platform/graphics/filters/FEGaussianBlur.cpp#newcode253 Source/platform/graphics/filters/FEGaussianBlur.cpp:253: FloatPoint stdError(filter->applyHorizontalScale(std.x()), filter->applyVerticalScale(std.y())); I can look on that. https://codereview.chromium.org/211513003/diff/180001/Source/platform/graphics/filters/Filter.h ...
6 years, 9 months ago (2014-03-27 04:51:19 UTC) #14
Savago
The CQ bit was checked by a.cavalcanti@samsung.com
6 years, 9 months ago (2014-03-27 05:34:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.cavalcanti@samsung.com/211513003/210001
6 years, 9 months ago (2014-03-27 05:34:27 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 06:56:03 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-27 06:56:04 UTC) #18
Savago
The CQ bit was checked by a.cavalcanti@samsung.com
6 years, 9 months ago (2014-03-27 17:16:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.cavalcanti@samsung.com/211513003/210001
6 years, 9 months ago (2014-03-27 17:16:40 UTC) #20
Savago
Ok, I did some investigation on the 2 red bots: a) Linux has a failing ...
6 years, 9 months ago (2014-03-27 17:21:19 UTC) #21
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 18:51:13 UTC) #22
Message was sent while issue was closed.
Change committed as 170195

Powered by Google App Engine
This is Rietveld 408576698