aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render
AgeCommit message (Collapse)Author
2024-07-29egl: require gles 3.0 onlyVaxry
No clue what could break, hopefully nothing ref #6973
2024-07-27renderer: use session lock alpha for rendering lacking locksvaxerski
2024-07-27protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)Ikalco
* move screencopy and toplevel export to hyprwayland-scanner * oops
2024-07-27opengl: destroy cairo image surface after usevaxerski
2024-07-26renderer: drastically optimize bg texture creationvaxerski
stop loading 20MB images every time, dumbass
2024-07-24egl: support getting the device via platform_deviceVaxry
a neat EXT
2024-07-22renderer/layer-shell: use explicitly set exclusiveEdge (#6984)Sam Lakerveld
2024-07-22egl: avoid setting debug mode and handle legacyrendererVaxry
ref #6973
2024-07-22renderer: untransform textures matching display transformVaxry
fixes #6754 This will break if the client uses a transform that is not equal to the display, reverting to old behavior. Combining transforms is left as a todo for the future.
2024-07-22surface: fixup logical damage size calculationsVaxry
fixes #6618
2024-07-21compositor: ignore setting surface scanout if DS is disabledVaxry
2024-07-21renderer: drop redundant spammy trace logVaxry
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-07-16renderer: Make shader time always count from zero (#6903)Party Wumpus
* testing out an initialtime variable * Make time universally start at zero instead of exposing an initial time * Appease the CI
2024-07-16config: use hyprutils helper (#6891)Mihai Fufezan
* flake.lock: update nix/overlays: remove xwayland overlay (merged upstream) * config: use hyprutils helper * flake.lock: update * CMake & Meson: update required versions
2024-07-13renderer: partially revert previous xray fix (#6868)MightyPlaza
modified: src/render/OpenGL.cpp
2024-07-13style: fix clang-formatVaxry
2024-07-13session-lock: send `locked` after the lock screen is properly rendered (#6850)Junxuan Liao
The protocol says: > The locked event "must not be sent until a new "locked" frame (either from a > session lock surface or the compositor blanking the output) has been presented > on all outputs and no security sensitive normal/unlocked content is possibly > visible". This helps users ensure the screen is properly locked before suspending the machine. (e.g. with swaylock --ready-fd)
2024-07-12renderer: fix a few xray regressions (#6855)MightyPlaza
* fix xray unset modified: src/render/OpenGL.cpp * fix xwray unset modified: src/render/OpenGL.cpp
2024-07-11core: Improve handling of window properties (#6776)MightyPlaza
* add mWindowProperties modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp * support int values modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * create m_sWindowData modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * simplify some properties modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/managers/KeybindManager.cpp * store multiple values in CWindowOverridableVar modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * use SET_PROP priority for exec rules modified: src/config/ConfigManager.hpp modified: src/desktop/Window.cpp * add default value modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add setprop toggle modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp * add setprop toggle modified: src/debug/HyprCtl.cpp * make window rules functional modified: src/config/ConfigManager.cpp modified: src/desktop/Window.cpp * minor fixes modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp * properly clean layout data modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp * remove newline modified: src/events/Windows.cpp * fixes modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * use CamelCase modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp
2024-07-02renderer: don't skip back background on preBlurQueuedVaxry
fixes #6332
2024-06-28core: fix a few ubsan issues reported at exit of hyprland (#6699)Tom Englund
* watchdog: dont detach and cause race condition instead of detaching and causing a race condition on destruction where the thread is alive and watchdog has been destroyed, check if its joinable and join it on destruction. causes heap use after free on exit of compositor. * render: add checks for compositor shutting down avoid member call on null pointer, if the g_pHyprRenderer is destroyed we can call the member makeEGLCurrent on it, causes undefined behaviour on destruction of the compositor/hyprrenderer. found with ubsan.
2024-06-25renderer: don't use the surface counter in popup iterationsVaxry
fixes #6663
2024-06-21renderer: shrink occlusion rect if blur is usedVaxry
if we are blurring, we cannot be sure whether the occluded region won't be included in the expanded damage. If it is, we'd get dark shimmers. fixes #6547
2024-06-19damageRing: move to hyprland implVaxry
A small wlroots utility we were still using.
2024-06-19core: Move to hyprutils for MathVaxry
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
2024-06-17subcompositor/renderer: fixup handling of subsurfaces below the main oneVaxry
some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
2024-06-14egl: fixup format modifier lookups with implicit modifiersVaxry
ref #6485
2024-06-14vrr: add option to fix mouse breaking vrr (#6483)UjinT34
* option to fix mouse breaking vrr * skip damage on mouse move * remove this-> & cleanup * add cursor:min_refresh_rate to avoid cursor freezing * run clang-format --------- Co-authored-by: UjinT34 <[email protected]>
2024-06-13core: fix a few small memory leaks on exit (#6470)Tom Englund
* renderer: add destructor and destroy event source add destructor and destroy the event source. one less leak on exit of compositor reported by asan. * compositor: cleanup eventloop on exit destruct hyprctl to release the event sources, and properly cleanup the event loop on exit of compositor. less leaks on exit reported by asan * threadmgr: destroy event source on destruction destroy the event source on destruction. * eventloopmgr: reset eventloopmgr on exit aswell reset the eventloopmanager on exit of compositor and free the leaking last idle frame on monitor destroy.
2024-06-12renderer: properly software lock cursors with zoom_factor (#6434)Ikalco
2024-06-12groupbar: fix groupbar position rounding (#6433)MightyPlaza
modified: src/render/decorations/CHyprGroupBarDecoration.cpp
2024-06-11groupbar: Don't apply monitor scale twice to groupbar text (#6411)zakk4223
2024-06-10groupbar: Fix window title rendering (#6392)zakk4223
2024-06-10output: remove wl_output globals for mirrored displaysVaxry
ref #6387
2024-06-09egl: assume implicit modifiers are available for old driversVaxry
fixes #6367
2024-06-08renderer: allow custom uv for surface no-blur passesVaxry
2024-06-08wayland/core: move to new impl (#6268)Vaxry
* wayland/core/dmabuf: move to new impl it's the final countdown
2024-05-25xwayland: move to hyprland impl (#6086)Vaxry
2024-05-22renderer: render fonts with pango, add global `font_family` config option ↵giskard
(#6138)
2024-05-16decoration: Stacked group tabs (#5886)zakk4223
* Stacked group tabs * Fix index when creating groupbar title textures * Changes for stacked dnd * formatting * Don't remove internal horizontal padding when calculating stacked bar width
2024-05-14wl-data-device: move to hyprland implVaxry
2024-05-14xdg-shell: move to new implVaxry
2024-05-14wl_seat: move to hyprland implVaxry
2024-05-14cursor: minor fixes for unhiding surfacesVaxry
the surface equality check is done in CPointerManager, the one in renderer can be wrong fixes #5975
2024-05-10renderer: avoid locking during renderingVaxry
it can trigger pointermgr to render which fucks up our pass fixes #5998
2024-05-10presentation-time: move to new implVaxry
2024-05-09config: move various cursor-related vars to cursor:Vaxry
2024-05-09groupbar: fix title scaling (#5969)MightyPlaza
modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
2024-05-09layer-shell: move to new implVaxry
Also bumps the hw-s dep