Chromium Code Reviews
Descriptioncc: Fix occlusion tracking for layers with non-default blend modes
When computing the occlusion from a layer, draw_blend_mode rather than
blend_mode needs to be considered, since draw_blend_mode is what's used
when drawing the layer. However, non-default blend modes currently always
trigger surface creation, and then the blend mode gets applied when
drawing the surface. This means that draw_blend_mode is always SrcOver.
This CL replaces the incorrect use of blend_mode in
OcclusionTracker::MarkOcclusionBehindLayer with a DCHECK that
draw_blend_mode is SrcOver.
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel
Committed: https://crrev.com/2d466aa59bdd093b023b47ad861fbb0ddabce21f
Cr-Commit-Position: refs/heads/master@{#407572}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 17 (12 generated)
|
||||||||||||||||||||||||||||