Bug 1733747. Remove critical display port rendertrace logging. r=botond

See previous patch for why critical display port is no longer used.

Depends on D127349

Differential Revision: https://phabricator.services.mozilla.com/D127350
This commit is contained in:
Timothy Nikkel 2022-01-16 11:46:41 +00:00
Родитель 0cb3076241
Коммит 3620611338
3 изменённых файлов: 4 добавлений и 9 удалений

Просмотреть файл

@ -4888,12 +4888,6 @@ void AsyncPanZoomController::NotifyLayersUpdated(
mCheckerboardEvent->UpdateRendertraceProperty(
CheckerboardEvent::PaintedDisplayPort, GetPaintedRect(aLayerMetrics),
str);
if (!aLayerMetrics.GetCriticalDisplayPort().IsEmpty()) {
mCheckerboardEvent->UpdateRendertraceProperty(
CheckerboardEvent::PaintedCriticalDisplayPort,
aLayerMetrics.GetCriticalDisplayPort() +
aLayerMetrics.GetLayoutScrollOffset());
}
}
}

Просмотреть файл

@ -21,14 +21,16 @@ namespace layers {
const char* CheckerboardEvent::sDescriptions[] = {
"page",
"painted critical displayport",
"painted displayport",
"requested displayport",
"viewport",
};
const char* CheckerboardEvent::sColors[] = {
"brown", "darkgreen", "lightgreen", "yellow", "red",
"brown",
"lightgreen",
"yellow",
"red",
};
CheckerboardEvent::CheckerboardEvent(bool aRecordTrace)

Просмотреть файл

@ -31,7 +31,6 @@ class CheckerboardEvent final {
MOZ_DEFINE_ENUM_AT_CLASS_SCOPE(
RendertraceProperty, (
Page,
PaintedCriticalDisplayPort,
PaintedDisplayPort,
RequestedDisplayPort,
UserVisible