aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/egl.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-07 13:51:01 +0200
committerKenny Levinsen <kl@kl.wtf>2022-10-07 19:21:20 +0000
commit3be6658ee7b6446e438e8d8c6c7bca3c0c0d4bc8 (patch)
treecbbf662f9caf22c4699e4fe953d60636d46a1bec /include/wlr/render/egl.h
parente92b272616ecd6618d2568c4e8d07228447ff72a (diff)
output: allocate swapchain on first commit
On first commit, require a new buffer if the compositor called a mode-setting function, even if the mode won't change. This makes it so the swapchain is created now. Stop trying to check whether the backend supports buffer-less modesets because that makes everything more complicated. For instance, the DRM backend doesn't need a new buffer if the previous DRM master left the output enabled. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3499 Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3502
Diffstat (limited to 'include/wlr/render/egl.h')
0 files changed, 0 insertions, 0 deletions