Bug 1251612 - Support the GetFrameUniformity API in content processes. r=botond,froydnj

This moves the IPC mechanism from PCompositorBridge to PLayerTransaction/
PWebRenderBridge, so that it can be used by content processes like the other
test APIs. It still only produces actual data for the layers backend; for
WR it will just return empty datasets.

Differential Revision: https://phabricator.services.mozilla.com/D86016
This commit is contained in:
Kartikaya Gupta
2020-08-05 21:42:06 +00:00
parent 8a34e79d65
commit 54d9054dd1
15 changed files with 57 additions and 32 deletions

View File

@@ -721,5 +721,9 @@ void WebRenderLayerManager::WrReleasedImages(
mStateManager.WrReleasedImages(aPairs);
}
void WebRenderLayerManager::GetFrameUniformity(FrameUniformityData* aOutData) {
WrBridge()->SendGetFrameUniformity(aOutData);
}
} // namespace layers
} // namespace mozilla