Loading libs/surfaceflinger_client/SharedBufferStack.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -261,8 +261,7 @@ bool SharedBufferClient::LockCondition::operator()() const { // NOTE: if stack.head is messed up, we could crash the client // NOTE: if stack.head is messed up, we could crash the client // or cause some drawing artifacts. This is okay, as long as it is // or cause some drawing artifacts. This is okay, as long as it is // limited to the client. // limited to the client. return (buf != stack.index[stack.head] || return (buf != stack.index[stack.head]); (stack.queued > 0 && stack.inUse != buf)); } } SharedBufferServer::BuffersAvailableCondition::BuffersAvailableCondition( SharedBufferServer::BuffersAvailableCondition::BuffersAvailableCondition( Loading Loading
libs/surfaceflinger_client/SharedBufferStack.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -261,8 +261,7 @@ bool SharedBufferClient::LockCondition::operator()() const { // NOTE: if stack.head is messed up, we could crash the client // NOTE: if stack.head is messed up, we could crash the client // or cause some drawing artifacts. This is okay, as long as it is // or cause some drawing artifacts. This is okay, as long as it is // limited to the client. // limited to the client. return (buf != stack.index[stack.head] || return (buf != stack.index[stack.head]); (stack.queued > 0 && stack.inUse != buf)); } } SharedBufferServer::BuffersAvailableCondition::BuffersAvailableCondition( SharedBufferServer::BuffersAvailableCondition::BuffersAvailableCondition( Loading