Bug 966679 - Mark the layer as invalid when we get an async texture update. r=nical

This commit is contained in:
Matt Woodrow 2014-02-10 15:24:28 +13:00
parent 26747ba645
commit 8b97bc5e71

View File

@ -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;
}