Commit ce621fd9 authored by Maggie Chen's avatar Maggie Chen Committed by Commit Bot

Fix the transform metrix when calling AddSurfaceDamageToDamageList

A wrong transform metrix is picked when calling
AddSurfaceDamageToDamageList().

Bug: 1117235
Change-Id: Icf6529448f6973395068ee0601ec975f5c5bdb20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500311Reviewed-by: default avatarweiliangc <weiliangc@chromium.org>
Commit-Queue: Maggie Chen <magchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821407}
parent a1c1507e
......@@ -442,8 +442,7 @@ void SurfaceAggregator::HandleSurfaceQuad(
target_transform,
surface_quad->shared_quad_state->quad_to_target_transform);
transform.ConcatTransform(dest_pass->transform_to_root_target);
AddSurfaceDamageToDamageList(surface_quad->rect, target_transform,
clip_rect);
AddSurfaceDamageToDamageList(surface_quad->rect, transform, clip_rect);
}
// If there's no fallback surface ID available, then simply emit a
......
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