-
Notifications
You must be signed in to change notification settings - Fork 9
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
Port conky to Metal #35
Comments
|
Awesome people from the conky community are implementing a GUI backend inside conky that will be graphics-library unaware and will be able to use Metal if compiled for macOS, wayland if compiled for Unix or even Xlib if using legacy mode... This means we are not going for any of the 2 options, we are actually going for a better one! |
@npyl any news about this ? Does it means that we are not able to have transparent background on MacOS X Mojave actually ? |
Hi @skhattane !!! (Actually, since it is in a really good state already, I could probably take a look sooner! :) ) |
Hi @npyl, thank you so much ;) |
Problem
X11 support is limited on macOS (see #5 , #37 , #29) and will probably become obsolete in the next few years now that Metal has made its way in, even OpenGL is considered obsolete by apple.
Solution
There are 2 solutions to this problem:
#ifdef
s inside conky for Metal stuffThe second option seems to be the best in our case, I am not sure if it is do-able yet but I am willing to try it out.
Caveats
In the linux world there exists the need to switch to more modern APIs (see Wayland) and ditch Xlib. This is understandable and a positive move for the longevity of the project. Problem is, if conky decides to transition to wayland our approach will be useless.
(Once solution to this would be to start a port of conky to wayland and implement a translation layer between wayland and metal.)
Epilogue
I am positive that if the bridge gets implemented then there is a big possibility that the Xquartz related problems will be fixed and conky will be able to run on macOS just like it does on linux.
The text was updated successfully, but these errors were encountered: