зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1653355 - Also use the output time for picking video frames in non-WebRender. r=nical
Depends on D83830 Differential Revision: https://phabricator.services.mozilla.com/D84112
This commit is contained in:
Родитель
62c9e985a3
Коммит
3325824c2d
|
@ -1010,6 +1010,7 @@ void CompositorBridgeParent::CompositeToTarget(VsyncId aId, DrawTarget* aTarget,
|
|||
mTestTime.valueOr(mCompositorScheduler->GetLastComposeTime());
|
||||
bool requestNextFrame =
|
||||
mCompositionManager->TransformShadowTree(time, mVsyncRate);
|
||||
TimeStamp outputTime = mCompositorScheduler->GetLastVsyncOutputTime();
|
||||
|
||||
if (requestNextFrame) {
|
||||
ScheduleComposition();
|
||||
|
@ -1030,7 +1031,7 @@ void CompositorBridgeParent::CompositeToTarget(VsyncId aId, DrawTarget* aTarget,
|
|||
mLayerManager->Dump(/* aSorted = */ true);
|
||||
}
|
||||
mLayerManager->SetDebugOverlayWantsNextFrame(false);
|
||||
mLayerManager->EndTransaction(time);
|
||||
mLayerManager->EndTransaction(outputTime);
|
||||
|
||||
if (!aTarget) {
|
||||
TimeStamp end = TimeStamp::Now();
|
||||
|
|
Загрузка…
Ссылка в новой задаче