mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 16:58:07 +02:00
clear offload fb
This commit is contained in:
parent
cc584ff164
commit
9aa61767bb
2 changed files with 2 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ std::vector<SP<IValue>> Values::getConfigValues() {
|
|||
MS<Bool>("debug:fifo_pending_workaround", "Fifo workaround for empty pending list", false),
|
||||
MS<Bool>("debug:render_solitary_wo_damage", "Render solitary window with empty damage", false),
|
||||
MS<Bool>("debug:vfr", "controls the VFR status of Hyprland. Do not turn off unless debugging", true),
|
||||
MS<Int>("debug:invalidate_fp16", "allow fp16 buffer invalidation.", 2, {.min = 0, .max = 2, .map = OptionMap{{"disable", 0}, {"enable", 1}, {"auto", 2}}}),
|
||||
MS<Int>("debug:invalidate_fp16", "allow fp16 buffer invalidation.", 1, {.min = 0, .max = 2, .map = OptionMap{{"disable", 0}, {"enable", 1}, {"auto", 2}}}),
|
||||
|
||||
/*
|
||||
* layout:
|
||||
|
|
|
|||
|
|
@ -758,6 +758,7 @@ void CHyprOpenGLImpl::begin(PHLMONITOR pMonitor, const CRegion& damage_, SP<IFra
|
|||
|
||||
g_pHyprRenderer->bindFB(g_pHyprRenderer->m_renderData.pMonitor->resources()->getUnusedWorkBuffer());
|
||||
m_offloadedFramebuffer = true;
|
||||
GLFB(g_pHyprRenderer->m_renderData.currentFB)->clearAfterInvalidation();
|
||||
|
||||
g_pHyprRenderer->m_renderData.mainFB = g_pHyprRenderer->m_renderData.currentFB;
|
||||
g_pHyprRenderer->m_renderData.outFB = fb ? fb : dc<CHyprGLRenderer*>(g_pHyprRenderer.get())->m_currentRenderbuffer->getFB();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue