From 1651b7d1d7deef853fffca60da3a1537ff3201ca Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Thu, 5 Jan 2023 12:51:26 +0000 Subject: [PATCH] Include layer postPaint in render loop timings We need render timings in the journal to be as close as possible to the entirity of the composite function up until the backend presenting. --- src/composite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composite.cpp b/src/composite.cpp index 7ed869afff..672e7fb9a4 100644 --- a/src/composite.cpp +++ b/src/composite.cpp @@ -689,9 +689,9 @@ void Compositor::composite(RenderLoop *renderLoop) primaryLayer->endFrame(bufferDamage, surfaceDamage); } } - renderLoop->endFrame(); postPaintPass(superLayer); + renderLoop->endFrame(); m_backend->present(output);