-
Notifications
You must be signed in to change notification settings - Fork 941
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 window transparency on macOS. #95
Conversation
|
I'm hesitant to merge this because of the weird travis failure. |
@tomaka Currently, all the changes in this PR are commented out and the fail still exists, FWIW. |
I think that issue should be fixed by rust-lang/cargo#3333. |
You should probably remove your |
a159294
to
24e08ba
Compare
24e08ba
to
cb0811f
Compare
|
@tomaka nightly is building now. |
…s, r=metajack Use the private `CGSSetSurfaceShape` API to make the OpenGL view inside an undecorated window have rounded corners. This allows us to disable transparency on the OpenGL surface, which is a huge performance win on browser.html. It mirrors the way that Cocoa internally makes OpenGL views inherit rounded corners. Requires servo/core-graphics-rs#51. r? @metajack cc @paulrouget <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/glutin/95) <!-- Reviewable:end -->
Fixes #57.