Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Conversation

@emersion
Copy link
Member

@emersion emersion commented Nov 10, 2018

This PR removes wlr_output_set_fullscreen_surface, adds a new wlr_output_render_software_cursors helper, and removes the 180 damage flip in wlr_output_swap_buffers (which is GL-specific).

This also fixes frame events for hardware cursors, which were sent too soon.

While this improves the situation, this doesn't completely fix #1363, because redesigning how cursor surfaces are handled and how output damage is managed requires more thought.

See #1363

@emersion emersion force-pushed the render-software-cursors branch from 806d87d to 63bafe1 Compare November 10, 2018 15:17
@ddevault
Copy link
Contributor

Can you make a PR for sway?

This wasn't using direct scan-out. Direct scan-out will probably
work differently with @ascent12's work anyway.
Rendering in wlr_output_swap_buffers has unfortunate side-effects.
@emersion emersion force-pushed the render-software-cursors branch from 63bafe1 to 1b9ebcf Compare November 13, 2018 15:55
@emersion
Copy link
Member Author

Rebased

@ddevault ddevault merged commit 040d62d into swaywm:master Nov 13, 2018
@ddevault
Copy link
Contributor

Thanks!

@emersion emersion deleted the render-software-cursors branch January 18, 2019 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants