aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-09-26 12:10:49 +0300
committerFurkan Sahin <furkan-dev@proton.me>2019-09-26 12:10:49 +0300
commita2ed48da057f0d210e4b21f3d20fff90844afa57 (patch)
tree224a10fe66802900ca02dfc8db345fed92cb3124 /meson.build
parent083044ddfb2d7fcff55a9d96e5db7bc21f4c239f (diff)
Fix direct scan-out flickering
Sometimes when using direct scan-out, some flickering between the fullscreen app and the regular desktop could be seen. This happened because we called wlr_output_attach_render and then wlr_output_attach_buffer for direct scan-out. wlr_output_attach_render makes the OpenGL context current but also attaches the OpenGL buffer to the primary plane apparently (all of this happens inside eglMakeCurrent). This patch moves the scan-out logic outside of output_render, before wlr_output_attach_render. This lines it up with rootston's implementation. This also makes more sense since no rendering is involved when using direct scan-out. Sorry about that, I should've tested this with more clients. The new code has been tested with mpv and a GLFW demo.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions