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

Transparency broken on Wayland. (Smearing) #2894

Closed
codecnotsupported opened this issue Jun 21, 2023 · 2 comments · Fixed by #2895
Closed

Transparency broken on Wayland. (Smearing) #2894

codecnotsupported opened this issue Jun 21, 2023 · 2 comments · Fixed by #2895
Labels
B - bug Dang, that shouldn't have happened DS - wayland

Comments

@codecnotsupported
Copy link

codecnotsupported commented Jun 21, 2023

Using Vulkan, attempting to render white squares I noticed smearing.
image

I tested this with KDE/Gnome/GLFW/winit git master with the same result.
Although if you pass a small(er) window resolution to GLFW and make a large(r) swapchain the window will be transparent for the part that isn't the window resolution.
Example:
image

Note that it will render just fine outside of the window resolution meaning transparency is supported, just broken-ish?

@madsmtm madsmtm added B - bug Dang, that shouldn't have happened DS - wayland labels Jun 21, 2023
@codecnotsupported
Copy link
Author

Closing for now as I cannot determine it be a winit specific issue. Will re-open if it is the case.

@codecnotsupported
Copy link
Author

codecnotsupported commented Jun 21, 2023

Confirmed a Winit issue.
Removing:

region.add(0, 0, i32::MAX, i32::MAX);

Causes the window to be always transparent.

@codecnotsupported codecnotsupported changed the title Transparency broken? (Smearing) Transparency broken on Wayland. (Smearing) Jun 21, 2023
kchibisov added a commit to kchibisov/winit that referenced this issue Jun 21, 2023
kchibisov added a commit that referenced this issue Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - wayland
Development

Successfully merging a pull request may close this issue.

2 participants