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

Issue 2688673003: cc: Distinguish single texture mask from normal masks (Closed)

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

Description

cc: Distinguish single texture mask from normal masks Tiling a mask with filters is very difficult and rare case. As a result, we would like to disable mask tiling in these situations, this CL adds a flag in PictureLayerImpl to show whether the mask layer has only a single texture. BUG=567293 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2688673003 Cr-Commit-Position: refs/heads/master@{#449718} Committed: https://chromium.googlesource.com/chromium/src/+/936c16d92cb3caf815cd31fa455576aac2bece75

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make mask type an enum. #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -63 lines) Patch
M cc/layers/layer.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M cc/layers/layer.cc View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M cc/layers/picture_image_layer.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 4 chunks +9 lines, -7 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 6 chunks +21 lines, -8 lines 0 comments Download
M cc/test/fake_picture_layer.cc View 1 2 1 chunk +12 lines, -3 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 5 chunks +32 lines, -13 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 2 chunks +8 lines, -7 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_blending.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_pixeltest_masks.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
sunxd
I broke the big mask tiling CL into several small parts, hoping to simplify both ...
3 years, 10 months ago (2017-02-09 16:47:11 UTC) #5
enne (OOO)
https://codereview.chromium.org/2688673003/diff/1/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2688673003/diff/1/cc/layers/layer.h#newcode315 cc/layers/layer.h:315: virtual void SetIsMask(bool is_mask) {} Sorry for the API ...
3 years, 10 months ago (2017-02-09 18:37:06 UTC) #8
sunxd
PTAL.
3 years, 10 months ago (2017-02-10 16:20:32 UTC) #10
enne (OOO)
Thanks, lgtm!
3 years, 10 months ago (2017-02-10 17:04:20 UTC) #11
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/2688673003/40001
3 years, 10 months ago (2017-02-10 20:15:02 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 20:21:06 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/936c16d92cb3caf815cd31fa4555...

Powered by Google App Engine
This is Rietveld 408576698