mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1555379 - Record content paint times for WebRender r=kats
The WebRenderBridgeChild now records whether or not it was painting content while sending display lists to the WebRenderBridgeParent, allowing for composition times to be recorded for WebRender. Differential Revision: https://phabricator.services.mozilla.com/D32229 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
67fb95c52f
commit
5bbd89905f
@ -1076,6 +1076,11 @@ mozilla::ipc::IPCResult WebRenderBridgeParent::RecvSetDisplayList(
|
||||
mChildLayersObserverEpoch, true);
|
||||
}
|
||||
|
||||
if (!IsRootWebRenderBridgeParent()) {
|
||||
aPayloads.AppendElement(
|
||||
CompositionPayload{CompositionPayloadType::eContentPaint, aFwdTime});
|
||||
}
|
||||
|
||||
HoldPendingTransactionId(wrEpoch, aTransactionId, aContainsSVGGroup, aVsyncId,
|
||||
aVsyncStartTime, aRefreshStartTime, aTxnStartTime,
|
||||
aTxnURL, aFwdTime, mIsFirstPaint,
|
||||
|
Loading…
Reference in New Issue
Block a user