Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement extendable view transforms #21

Closed
ammen99 opened this issue Jun 18, 2018 · 1 comment
Closed

Implement extendable view transforms #21

ammen99 opened this issue Jun 18, 2018 · 1 comment

Comments

@ammen99
Copy link
Member

ammen99 commented Jun 18, 2018

For example, a 3D transform can be used in conjunction with a 2D one (so, switcher should be able to use the window rotation given by e.g wrot). Also, once #20 is done, wobbly might want to extend the 2D transform as well.

There are two ways to do this - render the view with the first transform to an FBO, then render the FBO to a second FBO with the second transform, and so on. This means we could compose any number of transforms, but might mean that they might not really integrate well. And, if we had window exploding (a type of closing animation) its dubious whether we actually want to enable yet another transform.

The other way: 2D(and possibly 3D) transforms are the "base", plugins can request that they are "kept" active (like ref counting), and the transforms can be dynamically converted into a "derived" custom transform (for example wobbly or explosion transform) and then back to a plain 2D or 3D.

@ammen99
Copy link
Member Author

ammen99 commented Jul 1, 2018

implemented in wlroots branch

@ammen99 ammen99 closed this as completed Jul 1, 2018
Kim-Dewelski pushed a commit to Kim-Dewelski/wayfire that referenced this issue Dec 15, 2023
@killown killown mentioned this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant