-
Notifications
You must be signed in to change notification settings - Fork 59
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
Improve rounded border corners #25
Comments
still need to do this, but for now I've cleaned up the existing border shader from 54 to 36 lines |
Oh! That looks promising! |
Will be fixed once we use the scenefx border impl in wlrfx/scenefx#59 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some improvements that could be made in how we handle rendering rounded corners. Currently, rounded borders are done by drawing circles and removing the parts that are not along the corner we are currently rendering, and rounded titlebars will be blended with a window's rounded corners through its fragment shader, which is less than ideal for keeping things simple. I'll be working on making these things cleaner (and hopefully more performant), once we get an initial release out.
The text was updated successfully, but these errors were encountered: