Bug 1677929 - Add a way to specify an ID for a generated frame, and propagate the ID to the APZSampler. r=gw,kats

This ID allows the compositor to track per-frame information from frame
generation, through APZ sampling, to the NotifyDidRender notification.

Differential Revision: https://phabricator.services.mozilla.com/D97535
This commit is contained in:
Markus Stange
2020-12-09 03:35:50 +00:00
parent a867907ff8
commit 46ea354af1
24 changed files with 113 additions and 55 deletions

View File

@@ -2091,7 +2091,7 @@ void WebRenderBridgeParent::MaybeGenerateFrame(VsyncId aId,
#endif
MOZ_ASSERT(generateFrame);
fastTxn.GenerateFrame();
fastTxn.GenerateFrame(aId);
mApi->SendTransaction(fastTxn);
#if defined(MOZ_WIDGET_ANDROID)