DescriptionDetermine mask UVs based on texture size
Currently, mask SINGLE_TEXTURE_MASK UVs are determined solely by the size
of the masked layer. This means that if the mask texture size does not match the
expected texture size, we will end up squishing the mask when it's applied.
This CL adds a new out param, |resource_uv_size| to GetContentsResourceId. This
param represents the UV coordinate size of the mask contents within its texture.
This factor is used to adjust the existing calculation, allowing for non-exact mask
texture sizes.
R=sunxd@chromium.org, enne@chromium.org
BUG=713872
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2828353003
Cr-Commit-Position: refs/heads/master@{#469464}
Committed: https://chromium.googlesource.com/chromium/src/+/664405a74320db4031a18694358f7d4fef327662
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add tolerance to filter_effects.html #Patch Set 3 : Fix scaling issues #Patch Set 4 : comment tweaks #Patch Set 5 : fix build #Patch Set 6 : small fix #
Total comments: 8
Patch Set 7 : Feedback #
Total comments: 3
Patch Set 8 : nit #
Dependent Patchsets: Messages
Total messages: 46 (31 generated)
|