Commit Graph

18 Commits

Author SHA1 Message Date
Alexis Maiquez
f047bdd2d6 Fixed oversight on Video backgrounds not working on X11
Added unistd.h to fix compilation error on ubuntu

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2023-04-22 12:57:47 +02:00
Alexis Maiquez
f21a6e64a7 Wayland implementation cleanup
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>
2023-04-22 11:31:50 +02:00
vaxerski
2b7367662f Fix multi-bg screenshots 2023-04-21 18:24:19 +01:00
vaxerski
a782fdd1f2 fix crash on 1 wp 2023-04-21 16:11:48 +01:00
vaxerski
87b765e618 properly adhere to fps limits 2023-04-21 15:23:10 +01:00
vaxerski
997f780f4c minor improvements to pointer handling 2023-04-21 02:07:27 +01:00
vaxerski
ee3f000ab1 multimon improvements part 1 2023-04-21 01:45:01 +01:00
vaxerski
5c8992bafc better handling of monitors 2023-04-20 23:04:32 +01:00
vaxerski
75bb8cc156 Mouse handling 2023-04-20 22:54:18 +01:00
vaxerski
ebc80b28e1 fix minor oopsies with the ls move 2023-04-20 22:07:59 +01:00
vaxerski
ce2dc8395f move ls to a class 2023-04-20 22:02:47 +01:00
vaxerski
d13918697a added protocol making 2023-04-20 14:11:56 +01:00
vaxerski
43409229a9 proper scaling + recalc on geom change 2023-04-20 13:28:36 +01:00
vaxerski
e473516bb7 fix rendertime inaccuracy 2023-04-19 22:10:08 +01:00
vaxerski
b505db103c allow specifying outputs with a flag 2023-04-19 21:02:44 +01:00
vaxerski
5b1ea68164 fix egl config 2023-04-19 20:52:35 +01:00
vaxerski
fd810295d7 fix monitor geom 2023-04-19 20:24:15 +01:00
vaxerski
e5b447bdc9 initial impl 2023-04-19 20:18:20 +01:00