commit | 8b24864f6fb735764abf5e7f2cfd5d269a881b3b | [log] [tgz] |
---|---|---|
author | sunxd <sunxd@chromium.org> | Thu Feb 22 17:57:33 2018 |
committer | Xianda Sun <sunxd@chromium.org> | Thu Feb 22 17:57:33 2018 |
tree | dcbf988689ebb83d766336cdd257b93b9f82360a | |
parent | 895af108da6a8eafd6fce547307588ca2a31f262 [diff] |
cc: Make solid color mask layer ignore occlusion Mask layer's occlusion is actually its render surface's occlusion in the contributed parent surface space. However, when tiling a solid color mask layer, we used to adopt the logic from normal picture layers: overwrite the occlusion's transform with the layer's draw transform. This is problematic because mask layer's draw transform is to the render surface that owns the mask. In this way, we can generate the wrong visible quad rect and result in blanks when rendering. Since solid color mask layer does not do anything but cannot be fully avoided in the current code base, we should never apply an occlusion to it. Any occlusion to the masked content can still take effect by applying itself to the owning render surface. Bug: 811143, 810820, 808372 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I821492c107c2abadb9b9e6986369c9f6262d0ad4 Reviewed-on: https://chromium-review.googlesource.com/916625 Commit-Queue: Xianda Sun <sunxd@chromium.org> Reviewed-by: enne <enne@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#537794}(cherry picked from commit cf699d7fef4e3f03743cc916209c7ebff5dc7b7a) Reviewed-on: https://chromium-review.googlesource.com/931903 Reviewed-by: Xianda Sun <sunxd@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#549} Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .