зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0cb3076241
Коммит
3620611338
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче