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:
Barret Rennie 2019-05-30 21:08:01 +00:00
parent 67fb95c52f
commit 5bbd89905f

View File

@ -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,