mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1757202 - Include the inner window id in the existing Composite markers, r=mstange.
Differential Revision: https://phabricator.services.mozilla.com/D139731
This commit is contained in:
parent
253d6198c8
commit
9c9aca9d89
@ -500,9 +500,6 @@ void RenderThread::UpdateAndRender(
|
||||
const Maybe<gfx::IntSize>& aReadbackSize,
|
||||
const Maybe<wr::ImageFormat>& aReadbackFormat,
|
||||
const Maybe<Range<uint8_t>>& aReadbackBuffer, bool* aNeedsYFlip) {
|
||||
std::string markerName = "Composite #" + std::to_string(AsUint64(aWindowId));
|
||||
|
||||
AUTO_PROFILER_TRACING_MARKER("Paint", markerName.c_str(), GRAPHICS);
|
||||
AUTO_PROFILER_LABEL("RenderThread::UpdateAndRender", GRAPHICS);
|
||||
MOZ_ASSERT(IsInRenderThread());
|
||||
MOZ_ASSERT(aRender || aReadbackBuffer.isNothing());
|
||||
@ -517,6 +514,11 @@ void RenderThread::UpdateAndRender(
|
||||
|
||||
auto& renderer = it->second;
|
||||
|
||||
std::string markerName = "Composite #" + std::to_string(AsUint64(aWindowId));
|
||||
AutoProfilerTracing tracingCompositeMarker(
|
||||
"Paint", markerName.c_str(), geckoprofiler::category::GRAPHICS,
|
||||
Some(renderer->GetCompositorBridge()->GetInnerWindowId()));
|
||||
|
||||
if (renderer->IsPaused()) {
|
||||
aRender = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user