Loading services/surfaceflinger/Layer.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -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 Loading
services/surfaceflinger/Layer.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -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