summaryrefslogtreecommitdiffstats
path: root/README.ja.md
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2019-09-26 12:10:49 +0300
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-09-26 10:36:18 -0400
commit00c4c7e8cc437c6f905c6fbe94cf8eaf508f8644 (patch)
tree224a10fe66802900ca02dfc8db345fed92cb3124 /README.ja.md
parentinput: Add support for tablet protocol. (diff)
downloadsway-00c4c7e8cc437c6f905c6fbe94cf8eaf508f8644.tar.gz
sway-00c4c7e8cc437c6f905c6fbe94cf8eaf508f8644.tar.zst
sway-00c4c7e8cc437c6f905c6fbe94cf8eaf508f8644.zip
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 'README.ja.md')
0 files changed, 0 insertions, 0 deletions