SF: Allow present if sideband stream changed
Allows the sideband layer to be passed all the way to HWC instead of getting blocked by the updated PTS tracking code. Bug: 22291067 Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348
This commit is contained in:
parent
a29db50c44
commit
d87defaf48
@ -1101,6 +1101,10 @@ void Layer::useEmptyDamage() {
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
bool Layer::shouldPresentNow(const DispSync& dispSync) const {
|
bool Layer::shouldPresentNow(const DispSync& dispSync) const {
|
||||||
|
if (mSidebandStreamChanged) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Mutex::Autolock lock(mQueueItemLock);
|
Mutex::Autolock lock(mQueueItemLock);
|
||||||
if (mQueueItems.empty()) {
|
if (mQueueItems.empty()) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user