From a3e1e5e8baaa805a84aa6274904cdc48aafe2374 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 20 Jul 2023 17:51:38 +0200 Subject: [PATCH] tracy: add more opengl zones --- src/render/OpenGL.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 1ecbc297..6b72e820 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -726,6 +726,8 @@ void CHyprOpenGLImpl::renderTextureInternalWithDamage(const CTexture& tex, wlr_b // Dual (or more) kawase blur CFramebuffer* CHyprOpenGLImpl::blurMainFramebufferWithDamage(float a, wlr_box* pBox, CRegion* originalDamage) { + TRACY_GPU_ZONE("RenderBlurMainFramebufferWithDamage"); + const auto BLENDBEFORE = m_bBlend; blend(false); glDisable(GL_STENCIL_TEST); @@ -915,6 +917,8 @@ void CHyprOpenGLImpl::preRender(CMonitor* pMonitor) { void CHyprOpenGLImpl::preBlurForCurrentMonitor() { + TRACY_GPU_ZONE("RenderPreBlurForCurrentMonitor"); + const auto SAVEDRENDERMODIF = m_RenderData.renderModif; m_RenderData.renderModif = {}; // fix shit