Between M108 and M120 in upstream was change about
coordinate space how damage rect is expressed.
Reference: https://crrev.com/c/
4520453
This change adapts Tizen forced overlay mechanism, so it
also follows new approach. Without it some videos could
be rendered at wrong position or with invalid size.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-587
Change-Id: I5436d22affc2ed18074116ec209a27c98a5f195b
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
return false;
}
- candidate.damage_rect = gfx::RectF(it->visible_rect);
+ candidate.damage_rect = *target_quad;
candidate.display_rect = *target_quad;
candidates_->push_back({it, candidate, nullptr});
render_pass->ReplaceExistingQuadWithSolidColor(it, SkColors::kTransparent,