Commit 13de6cf8 authored by yiyix's avatar yiyix Committed by Commit Bot

fix bug "Portrait videos display body background-color during playback"

The video recording in Android has violet the assumption of
SharedQuadState which states that the union of DrawQuads in a given
SharedQuadState is defined in |ShareQuadState::quad_layer_rect|.
This bug reveals that the VideoDrawQuad is not contained in its
SharedQuadState.

Bug: 869704

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I158275fbb321de84f7808e82b770d2f0b3cec8bc
Reviewed-on: https://chromium-review.googlesource.com/1184503Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585214}
parent fa7f8f79
...@@ -154,7 +154,7 @@ void VideoLayerImpl::AppendQuads(viz::RenderPass* render_pass, ...@@ -154,7 +154,7 @@ void VideoLayerImpl::AppendQuads(viz::RenderPass* render_pass,
return; return;
updater_->AppendQuads(render_pass, frame_, transform, rotated_size, updater_->AppendQuads(render_pass, frame_, transform, rotated_size,
visible_layer_rect(), clip_rect(), is_clipped(), visible_quad_rect, clip_rect(), is_clipped(),
contents_opaque(), draw_opacity(), contents_opaque(), draw_opacity(),
GetSortingContextId(), visible_quad_rect); GetSortingContextId(), visible_quad_rect);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment