am 5878444f
: SurfaceFlinger: Listen to HWC invalidate
* commit '5878444fb8da043021f30d3de739531f15390df5': SurfaceFlinger: Listen to HWC invalidate
This commit is contained in:
commit
db5827d314
@ -835,9 +835,11 @@ void SurfaceFlinger::onMessageReceived(int32_t what) {
|
|||||||
case MessageQueue::INVALIDATE: {
|
case MessageQueue::INVALIDATE: {
|
||||||
bool refreshNeeded = handleMessageTransaction();
|
bool refreshNeeded = handleMessageTransaction();
|
||||||
refreshNeeded |= handleMessageInvalidate();
|
refreshNeeded |= handleMessageInvalidate();
|
||||||
|
refreshNeeded |= mRepaintEverything;
|
||||||
if (refreshNeeded) {
|
if (refreshNeeded) {
|
||||||
// Signal a refresh if a transaction modified the window state or if
|
// Signal a refresh if a transaction modified the window state,
|
||||||
// a new buffer was latched
|
// a new buffer was latched, or if HWC has requested a full
|
||||||
|
// repaint
|
||||||
signalRefresh();
|
signalRefresh();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user