Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Underlay with punch-through hole on the primary plane #14

Open
emersion opened this issue Sep 8, 2019 · 0 comments
Open

Underlay with punch-through hole on the primary plane #14

emersion opened this issue Sep 8, 2019 · 0 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@emersion
Copy link
Owner

emersion commented Sep 8, 2019

Another use-case for underlays (see #7) would be mapping a layer to the underlay while the layer is supposed to be over the primary plane. To do so, a punch-through hole must be created on the primary plane:

This allows placing overlay planes behind the primary plane (as underlays) while still pretending the views put on the underlays are on top of some views on the primary plane. The punch-through hole can only be used for completely opaque content though. If blending with the primary plane would be necessary, then the hw planes must be in the equivalent z-order.

Some more research is needed to figure out whether it's really worth it and how the API could look like.

@emersion emersion added enhancement New feature or request question Further information is requested labels Sep 8, 2019
@emersion emersion added this to the Long-term milestone Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant