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

Issue 959283004: Background filters are affected by masks (Closed)

Created:
5 years, 9 months ago by Lof
Modified:
5 years, 9 months ago
Reviewers:
danakj, 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

Background filters are affected by masks At first, mask didn't affect on background, if filter was applied on it. This bug occurred because of loss of information about original background texture. So I added necessary information to shader and fixed this bug. R=danakj@chromium.org, enne@chromium.org TEST=LayerTreeHostMasksForBackgroundFiltersPixelTest.MaskOfLayerWithBackgroundFilter Committed: https://crrev.com/c285abaea4ed9dbe8c9dcc285d6d4acc8676cd2f Cr-Commit-Position: refs/heads/master@{#319323}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Total comments: 5

Patch Set 3 : fixes and more tests #

Total comments: 4

Patch Set 4 : fixes and gpu raster enabled #

Patch Set 5 : more robust fuzzy comparator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -81 lines) Patch
M cc/output/gl_renderer.h View 1 2 4 chunks +24 lines, -15 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 14 chunks +57 lines, -28 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 5 chunks +29 lines, -17 lines 0 comments Download
M cc/output/program_binding.h View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M cc/output/shader.h View 1 2 4 chunks +14 lines, -0 lines 0 comments Download
M cc/output/shader.cc View 1 2 3 14 chunks +59 lines, -20 lines 0 comments Download
A cc/test/data/mask_of_background_filter.png View 1 2 3 Binary file 0 comments Download
A cc/test/data/mask_of_layer_with_blend.png View 1 2 3 Binary file 0 comments Download
M cc/trees/layer_tree_host_pixeltest_masks.cc View 1 2 3 4 1 chunk +182 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
Lof
5 years, 9 months ago (2015-03-02 22:16:42 UTC) #1
enne (OOO)
https://codereview.chromium.org/959283004/diff/1/cc/output/shader.h File cc/output/shader.h (right): https://codereview.chromium.org/959283004/diff/1/cc/output/shader.h#newcode62 cc/output/shader.h:62: struct ShaderLocations { This seems like a good refactoring. ...
5 years, 9 months ago (2015-03-02 23:34:41 UTC) #2
Lof
rebase
5 years, 9 months ago (2015-03-03 22:39:24 UTC) #3
enne (OOO)
https://codereview.chromium.org/959283004/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/959283004/diff/20001/cc/output/gl_renderer.cc#newcode941 cc/output/gl_renderer.cc:941: // Reset original background texture if there is no ...
5 years, 9 months ago (2015-03-03 23:27:47 UTC) #4
Lof
I fixed remarks. Also I wrote test for your test case. It works as expected. ...
5 years, 9 months ago (2015-03-04 18:04:23 UTC) #5
enne (OOO)
Thanks so much for the test and all the changes! This is great! I have ...
5 years, 9 months ago (2015-03-04 19:58:44 UTC) #6
Lof
Thank you for comments! I fixed all.
5 years, 9 months ago (2015-03-04 22:45:46 UTC) #7
enne (OOO)
lgtm
5 years, 9 months ago (2015-03-04 22:47:57 UTC) #9
enne (OOO)
Thanks for this!
5 years, 9 months ago (2015-03-04 22:48:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959283004/60001
5 years, 9 months ago (2015-03-04 22:48:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/41195)
5 years, 9 months ago (2015-03-05 03:34:47 UTC) #13
Lof
More robust fuzzy comparator
5 years, 9 months ago (2015-03-05 17:28:27 UTC) #14
enne (OOO)
lgtm
5 years, 9 months ago (2015-03-05 20:08:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959283004/80001
5 years, 9 months ago (2015-03-05 20:09:21 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-05 20:57:59 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 20:58:30 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c285abaea4ed9dbe8c9dcc285d6d4acc8676cd2f
Cr-Commit-Position: refs/heads/master@{#319323}

Powered by Google App Engine
This is Rietveld 408576698