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

Wayland translucent-window-click-thru #1

Open
1 task
frank-dspeed opened this issue Oct 8, 2022 · 0 comments
Open
1 task

Wayland translucent-window-click-thru #1

frank-dspeed opened this issue Oct 8, 2022 · 0 comments

Comments

@frank-dspeed
Copy link
Member

translucent-window-click-thru

  • Window alpha transparency support gfx-rs/wgpu#687 (comment) , wgpu doesn't expose surface / window level transparency yet.

  • vulkan option to configure alpha value of the pixel should be used for compositing. wgpu uses the OPAQUE_BIT as default no transparency. MOST drivers just ignore that option and allow compositing if alpha channel is present. that's why transparency works for others using x11 or windows. but wayland actually respects that option, which causes transparency to not work.

  • you can fork wgpu repo and patch it to pass vulkan PRE_MULTIPLIED or something instead. then, it will work on wayland too. or, just wait until someone submits a PR to wgpu to expose those surface transparency options via wgpu.

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