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

Comments

[obsolete] Subsurface caching#3125

Closed
vyivel wants to merge 12 commits intoswaywm:masterfrom
vyivel:subsurface-caching
Closed

[obsolete] Subsurface caching#3125
vyivel wants to merge 12 commits intoswaywm:masterfrom
vyivel:subsurface-caching

Conversation

@vyivel
Copy link
Member

@vyivel vyivel commented Aug 19, 2021

Shares code with #3107

This PR implements proper* subsurface state handling and caching. The resulting behavior can be tested with subsurface-client clients.

*probably

See individual commits.

Breaking changes

  • wlr_subsurface.parent_link and wlr_subsurface.parent_pending_link are now wlr_subsurface.place.link and wlr_subsurface.pending_place.link respectively.

@vyivel vyivel force-pushed the subsurface-caching branch 3 times, most recently from 9f1f5a5 to 17342db Compare August 20, 2021 16:08
Kirill Primak added 6 commits August 20, 2021 19:08
This event is handled by surface extensions which wish to store their
double-buffered state in wlr_surface_state.
This event is handled by surface extensions, which then commit
the state stored on prepare_addons event.
@vyivel vyivel force-pushed the subsurface-caching branch from 17342db to 990ccd6 Compare August 20, 2021 16:19
@vyivel vyivel force-pushed the subsurface-caching branch from 990ccd6 to 2ece284 Compare August 20, 2021 16:28
From Wayland protocol spec: "The cached state is applied to the
sub-surface immediately after the parent surface's state is applied."
@vyivel vyivel marked this pull request as ready for review August 20, 2021 16:29
@vyivel vyivel marked this pull request as draft August 23, 2021 13:30
@vyivel vyivel changed the title Subsurface caching [obsolete] Subsurface caching Aug 29, 2021
@vyivel
Copy link
Member Author

vyivel commented Aug 31, 2021

Closed in favor of #3143.

@vyivel vyivel closed this Aug 31, 2021
@vyivel vyivel deleted the subsurface-caching branch October 2, 2021 10:45
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.

1 participant