Descriptioncc: Allow changing mask type when pushing properties.
With mask tiling, it is possible that a tiled mask gets a filter after
tiles are created. In order to make picture layer tilings throw away
tiles, we need to change the mask type from MULTI_TEXTURE_MASK to
SINGLE_TEXTURE_MASK, but mask type was set to be immutable as we do not
allow NOT_MASK to MASK conversion and vice versa.
This CL attempts to fix the demoting problem by making mask type a non-
const value and prevent NOT_MASK to MASK conversion by DCHECK.
BUG=567293
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2845143002
Cr-Commit-Position: refs/heads/master@{#468094}
Committed: https://chromium.googlesource.com/chromium/src/+/2118ed449481692d624823e64c345f2990cec478
Patch Set 1 #Patch Set 2 : Disable mask tiling. #
Total comments: 2
Patch Set 3 : Add comment to SetLayerMaskType #
Messages
Total messages: 21 (15 generated)
|