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

Issue 1980613003: cc: correctly fix edge-AA for filtered render surfaces. (Closed)

Created:
4 years, 7 months ago by Stephen White
Modified:
4 years, 7 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: correctly fix edge-AA for filtered render surfaces. Moving the destination bounds computation above the edge-AA computations allows us to give correct positions for the edge-AA edges on filtered quads. This is a change which will be necessary for an upcoming optimization. This required adding a matrix param to FilterOperation[s].MapRect(). Since this function is called with device-space rects, so it should also be passed a matrix to transform the filter parameters into device space. BUG=611823 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/60471d41ca8bf96b3a487c086ceefe2aca7d126a Cr-Commit-Position: refs/heads/master@{#393657}

Patch Set 1 #

Patch Set 2 : Fix unit test, pixel test expectations #

Patch Set 3 : Fix typo #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -48 lines) Patch
M cc/output/filter_operation.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/filter_operation.cc View 1 2 2 chunks +11 lines, -12 lines 2 comments Download
M cc/output/filter_operations.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/filter_operations.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M cc/output/filter_operations_unittest.cc View 1 4 chunks +10 lines, -7 lines 0 comments Download
M cc/output/gl_renderer.cc View 4 chunks +12 lines, -24 lines 0 comments Download
M cc/test/data/rotated_drop_shadow_filter_gl.png View 1 Binary file 0 comments Download

Messages

Total messages: 17 (7 generated)
Stephen White
enne: PTAL. My previous fix for this (https://codereview.chromium.org/1942863002) proved incompatible with the upcoming Skia change. ...
4 years, 7 months ago (2016-05-13 19:08:32 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980613003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980613003/20001
4 years, 7 months ago (2016-05-13 19:09:11 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980613003/40001
4 years, 7 months ago (2016-05-13 19:14:57 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-13 20:39:51 UTC) #9
enne (OOO)
Looks good in general but https://codereview.chromium.org/1980613003/diff/40001/cc/output/filter_operation.cc File cc/output/filter_operation.cc (right): https://codereview.chromium.org/1980613003/diff/40001/cc/output/filter_operation.cc#newcode318 cc/output/filter_operation.cc:318: static SkVector MapStdDeviation(float std_deviation, ...
4 years, 7 months ago (2016-05-13 21:31:13 UTC) #10
Stephen White
https://codereview.chromium.org/1980613003/diff/40001/cc/output/filter_operation.cc File cc/output/filter_operation.cc (right): https://codereview.chromium.org/1980613003/diff/40001/cc/output/filter_operation.cc#newcode318 cc/output/filter_operation.cc:318: static SkVector MapStdDeviation(float std_deviation, const SkMatrix& matrix) { On ...
4 years, 7 months ago (2016-05-13 21:51:07 UTC) #11
enne (OOO)
lgtm
4 years, 7 months ago (2016-05-13 21:57:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980613003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980613003/40001
4 years, 7 months ago (2016-05-13 21:59:18 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-13 22:04:44 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 22:06:44 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/60471d41ca8bf96b3a487c086ceefe2aca7d126a
Cr-Commit-Position: refs/heads/master@{#393657}

Powered by Google App Engine
This is Rietveld 408576698