summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-20 17:51:38 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-20 17:51:38 +0200
commita3e1e5e8baaa805a84aa6274904cdc48aafe2374 (patch)
tree7ae47bfca337fb6e3d27754e2e41d5a9c397cd75 /src/render/OpenGL.cpp
parenta921c5b89ea0a8073d5fba3bb77cff7ff27e08f3 (diff)
tracy: add more opengl zones
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r--src/render/OpenGL.cpp4
1 files changed, 4 insertions, 0 deletions
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