-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
[FR] wallpaper-engine-for-kde-plugin integration #167
Comments
@Mufanc Thanks for taking your time to experiment with Hidamari! It's fascinating to realize that you can embed a QT widget into GTK, which I never considered before. However, there is also a limitation when using the embed approach, as you mentioned that it needs to rely on X11/XWayland. Also I intend to rewrite the renderer part in After looking at the mentioned standalone app's sources, I realize that it uses the scene backend declared here. That scene backend then uses the scene wallpaper class declared here, which is something that I believe is implemented with pure Vulkan codes without QT dependencies. (Please forgive me if I made any mistake on this statement, I had never coded in C++ before.) I guess we might be able to use only the Vulkan part and display it in the Gtk4 widget, just like what the standalone app has done: scene wallpaper (Vulkan) → scene backend (QML, with shared OpenGL texture) → standalone app (QML Viewer). |
wallpaper-engine-kde-plugin has split its rendering part into a standalone project, which does not have QT dependencies. Besides, a GLFW demo is provided at https://github.com/fxzjshm/wallpaper-scene-renderer/blob/master/standalone_view/glfwviewer.cpp
|
I'm not very familiar with Linux GUI development, so if there's anything incorrect in my following statements, I apologize in advance.
I noticed that it seems possible to embed any
Gtk.ApplicationWindow
into the desktop as wallpaper in this project. On the other hand, there is a KDE plugin called wallpaper-engine-kde-plugin that can render certain scenes from Wallpaper Engine as wallpapers. This project has a standalone running mode that allows Wallpaper Engine wallpapers to be rendered in an independent window. Therefore, I created a proof of concept that embeds a standalone mode QT window into a GTK window using GtkSocket. I would like to know if this method can be relied upon to achieve the integration of Hidamari and Wallpaper Engine.Also see poc.sh
The text was updated successfully, but these errors were encountered: