pass: remove unusued timeline in texpass (#9734)

remove unused timeline and waitpoint in texpass and especially remove
the passing it to renderTextureInternalWithDamage that implicitly
converted it to bool. setting discardActive and allowCustomUV
This commit is contained in:
Tom Englund
2025-03-26 02:22:09 +01:00
committed by GitHub
parent 9a67354fa2
commit 3fc3521a97
4 changed files with 4 additions and 13 deletions

View File

@@ -621,14 +621,10 @@ void CPointerManager::renderSoftwareCursorsFor(PHLMONITOR pMonitor, timespec* no
box.y = std::round(box.y);
CTexPassElement::SRenderData data;
data.tex = texture;
data.box = box.round();
data.syncTimeline = currentCursorImage.waitTimeline;
data.syncPoint = currentCursorImage.waitPoint;
g_pHyprRenderer->m_sRenderPass.add(makeShared<CTexPassElement>(data));
data.tex = texture;
data.box = box.round();
currentCursorImage.waitTimeline.reset();
currentCursorImage.waitPoint = 0;
g_pHyprRenderer->m_sRenderPass.add(makeShared<CTexPassElement>(data));
if (currentCursorImage.surface)
currentCursorImage.surface->resource()->frame(now);