* Updated gitignore
* Basic Web support
* Basic Cmake(not working)
* Working CEF
* Clean up Render/CWeb
* Download CEF in CMAKE
* Fixed compile error(excesive comma)
* Fixed CWeb compile error(scaling mode)
* Commented flag in CEF flag(-fno-rtti) which disabled dynamic cast
* Commented CEF compiler flags for MacOS
* Added third_party to gitignore
* Fixed libvulkan.so.1 error (deleted file entirely)
* Removed cefsimple, CefShutdown in signal, cleaned up cmake a bit
* Updated .gitignore
* Get render function to previous version
* Fixed typo in coment
* Fixed tab
* Removed shaders too
* Fix codefactor issues
When not all connected screens are active XRRGetCrtcInfo returns NULL
for the inactive screens resulting in a SIGSEGV when trying to push it
to the screens vector.
Wayland doesn't require specifics timings, each frame drawn re-queues a new frame
so treating it as "render the screens" seems to be a safe bet for now
As indicated in the TODOs once actual work is being done in the event loop
it should be replaced by a non-blocking option in case no surface is being rendered
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Removed wayland-display in favour of screen-root, it should automatically switch between X11 and Wayland implementations
Removed all the window-server-specific code from CWallpaperApplication
Moved COutput from CWallpaperApplication to each CVideoDriver as the output is tied to the driver
Moved CFullScreenDetector from CWallpaperApplication to each CVideoDriver as the detection is tied to the video driver
Applied the Driver treatment to the Input, this way CInputContext doesn't depend on the driver used
Updated CRenderContext to be aware of viewport-specific context updates
Viewport information is now held inside COutputViewport instead of being a simple map
Merged CLayerSurface and SWaylandOutput, inheriting from the new COutputViewport to standarize the minimum requirements of a viewport
(makeCurrent and swapOutput are common requirements, X11 was the outlier not needing these per-viewport)
Moved all the viewport-specific code of Wayland from CWaylandOpenGLDriver to It's own class CWaylandOutputViewport
Fixed an issue under Wayland where sometimes the background surfaces wouldn't get anything drawn because the CWaylandOutput wasn't reset
Updated screenshot-taking code to be standard for all drivers again
Signed-off-by: Alexis Maiquez <almamu@almamu.com>