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

Issue 2659023003: [cc] Add SkBlendMode::kDstIn support to cc::Layer (Closed)

Created:
3 years, 10 months ago by trchen
Modified:
3 years, 10 months ago
Reviewers:
chrishtr, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] Add SkBlendMode::kDstIn support to cc::Layer This CL adds SkBlendMode::kDstIn support to cc::Layer. kDstIn is useful for applying an alpha mask to a group. There is an ongoing plan to use kDstIn to replace mask-layer-based CSS mask implementation. The SPv2 implementation of CSS mask uses this alternative approach: https://codereview.chromium.org/2641173008/ CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2659023003 Cr-Commit-Position: refs/heads/master@{#447153} Committed: https://chromium.googlesource.com/chromium/src/+/7bc8fc1007007ece8eaa4137967c3162bad4db08

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -32 lines) Patch
M cc/layers/layer.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 chunk +6 lines, -0 lines 2 comments Download
M cc/output/gl_renderer.cc View 3 chunks +25 lines, -18 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M cc/output/shader.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/shader.cc View 1 chunk +11 lines, -3 lines 0 comments Download
M cc/test/data/blending_and_filter.png View Binary file 0 comments Download
M cc/test/data/blending_render_pass.png View Binary file 0 comments Download
M cc/test/data/blending_render_pass_mask.png View Binary file 0 comments Download
M cc/test/data/blending_transparent.png View Binary file 0 comments Download
M cc/test/data/blending_with_root.png View Binary file 0 comments Download
M cc/trees/layer_tree_host_pixeltest_blending.cc View 5 chunks +17 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
trchen
3 years, 10 months ago (2017-01-28 02:44:14 UTC) #3
enne (OOO)
https://codereview.chromium.org/2659023003/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/2659023003/diff/1/cc/layers/render_surface_impl.cc#newcode406 cc/layers/render_surface_impl.cc:406: // The software renderer applies mask layer and blending ...
3 years, 10 months ago (2017-01-30 18:56:54 UTC) #8
trchen
https://codereview.chromium.org/2659023003/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/2659023003/diff/1/cc/layers/render_surface_impl.cc#newcode406 cc/layers/render_surface_impl.cc:406: // The software renderer applies mask layer and blending ...
3 years, 10 months ago (2017-01-30 23:07:06 UTC) #9
enne (OOO)
Ok, thanks! I never knew that the order of operations there were different. Am I ...
3 years, 10 months ago (2017-01-30 23:51:21 UTC) #10
trchen
On 2017/01/30 23:51:21, enne wrote: > Ok, thanks! I never knew that the order of ...
3 years, 10 months ago (2017-01-30 23:55:45 UTC) #11
enne (OOO)
lgtm
3 years, 10 months ago (2017-01-30 23:56:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2659023003/1
3 years, 10 months ago (2017-01-31 00:10:31 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 01:26:47 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7bc8fc1007007ece8eaa4137967c...

Powered by Google App Engine
This is Rietveld 408576698