mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 966679 - Mark the layer as invalid when we get an async texture update. r=nical
This commit is contained in:
parent
26747ba645
commit
8b97bc5e71
@ -230,6 +230,11 @@ CompositableParentManager::ReceiveCompositableUpdate(const CompositableOperation
|
||||
|
||||
if (IsAsync()) {
|
||||
ScheduleComposition(op);
|
||||
// Async layer updates don't trigger invalidation, manually tell the layer
|
||||
// that its content have changed.
|
||||
if (compositable->GetLayer()) {
|
||||
compositable->GetLayer()->SetInvalidRectToVisibleRegion();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user