intel / IA-Hardware-Composer

35 stars 81 forks source link

Fix a logic error that some overlay plane is used twice in one frame … #618

Closed Shao-Feng closed 5 years ago

Shao-Feng commented 5 years ago

…composition

After a commit_planes pop out, it shouldn't directly jump over the current plane. Otherwise, it could waste an overlay plane. So add "j--", then in the next layer mapping, it could still try to use that plane.

After the SquashPlanesAsNeeded done, it should "break" and check the next plane. Otherwise, the current plane could be used twice.

Change-Id: Id7a883844b6384002c5ee31708225ff2f0172c44 Tracked-On: https://jira.devtools.intel.com/browse/OAM-83890 Signed-off-by: Yi Yao yi.yao@intel.com