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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user