mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 16:45:59 +01:00
tracy: add more opengl zones
This commit is contained in:
parent
a921c5b89e
commit
a3e1e5e8ba
1 changed files with 4 additions and 0 deletions
|
@ -726,6 +726,8 @@ void CHyprOpenGLImpl::renderTextureInternalWithDamage(const CTexture& tex, wlr_b
|
||||||
// Dual (or more) kawase blur
|
// Dual (or more) kawase blur
|
||||||
CFramebuffer* CHyprOpenGLImpl::blurMainFramebufferWithDamage(float a, wlr_box* pBox, CRegion* originalDamage) {
|
CFramebuffer* CHyprOpenGLImpl::blurMainFramebufferWithDamage(float a, wlr_box* pBox, CRegion* originalDamage) {
|
||||||
|
|
||||||
|
TRACY_GPU_ZONE("RenderBlurMainFramebufferWithDamage");
|
||||||
|
|
||||||
const auto BLENDBEFORE = m_bBlend;
|
const auto BLENDBEFORE = m_bBlend;
|
||||||
blend(false);
|
blend(false);
|
||||||
glDisable(GL_STENCIL_TEST);
|
glDisable(GL_STENCIL_TEST);
|
||||||
|
@ -915,6 +917,8 @@ void CHyprOpenGLImpl::preRender(CMonitor* pMonitor) {
|
||||||
|
|
||||||
void CHyprOpenGLImpl::preBlurForCurrentMonitor() {
|
void CHyprOpenGLImpl::preBlurForCurrentMonitor() {
|
||||||
|
|
||||||
|
TRACY_GPU_ZONE("RenderPreBlurForCurrentMonitor");
|
||||||
|
|
||||||
const auto SAVEDRENDERMODIF = m_RenderData.renderModif;
|
const auto SAVEDRENDERMODIF = m_RenderData.renderModif;
|
||||||
m_RenderData.renderModif = {}; // fix shit
|
m_RenderData.renderModif = {}; // fix shit
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue