commit | aad0dbdc2713a39a9987276acf3b009ba6c8623d | [log] [tgz] |
---|---|---|
author | Christopher Braga <quic_cbraga@quicinc.com> | Thu Sep 22 15:15:04 2022 -0400 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Oct 08 09:50:17 2022 -0700 |
tree | 894a7465c30cecbe560aac085585422e9a611797 | |
parent | b55f35878a4765db3af02930a9f7290729173d84 [diff] |
sdm: Clear old content metadata when gralloc buffer metadata is dropped HWC layer metadata extraction currently relies on gralloc flags indicating what metadata fields have been set. Update content and timestamp metadata extraction to handle the case where a new buffer has a different metadata state. When a metadata field is dropped from the buffer, the corressponding cached metadata in the layer is dropped as well. Change-Id: If4bc4fae5208de5eba9c3825a5f1a6230ccf65dc