-
Notifications
You must be signed in to change notification settings - Fork 18k
x/exp/shiny/example/basic: alpha channel is ignored on windows #14220
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
Comments
The Upload method shouldn't blend. Only those methods which take a draw.Op arg (Fill, Draw, Copy Scale) should blend. (Upload could possibly also take a draw.Op arg, and then blend, but I think that that is a separate issue). I think the top image is actually working as intended, although IIRC the windriver doesn't do textures yet. In particular, the top image matches what I see on x11driver and gldriver/linux. |
https://go.googlesource.com/exp/+/master/shiny/screen/screen.go#202 says that "The destination's contents are overwritten; the draw operator is implicitly draw.Src." |
CL https://golang.org/cl/19213 mentions this issue. |
Please post picture of your x/exp/shiny/example/basic window on linux, so I can see what else needs to be done for windows. Thank you. Alex |
The x/exp/shiny/example/basic looks like


but should look like
Alex
The text was updated successfully, but these errors were encountered: