summaryrefslogtreecommitdiff
path: root/src/render/Renderer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* renderer: dont render fullscreen special on wrong monitor (#5249)thejch2024-03-251-1/+2
|
* IME: Refactor and fixup popupsVaxry2024-03-241-8/+12
|
* animations: Fix animation issue in focusworkspaceoncurrentmonitor (#5202)thejch2024-03-231-2/+4
| | | | | | | | | | | | | | | | | * dont render when workspace offset * add guard * can remove useless code now if workspace offset is not taken into account * clang-format * when special workspace is moved, set anim to move * add offset back * make it a configurable option because some folks apparently can't align their monitors correctly and may not want this feature😔 * remove config option
* refactor: move window.hpp to desktop/Vaxry2024-03-201-0/+1
|
* renderer: minor fixups for misaligned surface rendering offsetsVaxry2024-03-171-4/+6
| | | | fixes #5136
* renderer: don't render window on other mons during anim inVaxry2024-03-171-0/+4
| | | | fixes #5139
* renderer: disable surface adjustments for misaligned reported when manual ↵Vaxry2024-03-161-3/+2
| | | | | | resizing ref #5135
* renderer: don't translate surface box on interactive resizes with ↵Vaxry2024-03-161-1/+2
| | | | | | non-updated sizes closes #5135
* renderer: add better multi monitor animations (#5126)thejch2024-03-161-3/+12
|
* renderer: fix non-reported sizes window box calculationsVaxry2024-03-161-1/+1
| | | | fixed #5129
* renderer: fix invalid access on non-assigned surfacesVaxry2024-03-151-1/+1
| | | | fixes #5125
* renderer: adjust surface dimensions for oversized not-yet ackd surface sizesVaxry2024-03-151-5/+16
| | | | supersedes #5104
* lock: fix red screen issues with multiple monitors (#5100)Maximilian Seidler2024-03-151-5/+12
| | | | | | | | | | | * lock: use uint64_t for iMonitorID * lock: move activateLock to onNewSessionLock * lock: add red screen fade * lock: damage when fading the red screen and delay for screencopy * lock: remove redundant scheduleFrameForMonitor
* renderer: Allow headless mode in hyprland (#4794)thejch2024-03-151-7/+11
| | | | | | | * allow headless * clang-format * fix redundant logic lol
* internal: minor fixups for fading out xwayland windowsVaxry2024-03-141-5/+10
| | | | fixes #4935
* internal: Support libhyprcursor (#5009)Vaxry2024-03-091-1/+2
| | | | | | | woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* keybinds: Allow fullscreen/maximize in special workspace (#4921)thejch2024-03-041-2/+9
| | | | | | | | | | | | | | | * allow fullscreen/maximize in special workspace * remove duplicate code * hide top layer * fix special fullscreen deco * edit * fix fade top layer when toggle special * remove double render
* config: improve config value infrastructureVaxry2024-03-031-82/+83
|
* renderer: respect forceNoBlur when rendering small surface windows (#4932)JManch2024-03-031-1/+1
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-32/+32
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* xwayland: set scaledBy for unmanaged windows in mapVaxry2024-03-011-1/+1
|
* renderer: force a few render frames on init anim endVaxry2024-02-291-0/+1
| | | | fixes #4875
* surface: unify ownersVaxry2024-02-291-4/+4
|
* renderer: damage whole ring on failed commitVaxry2024-02-281-1/+1
| | | | fixes #4770
* layers: add fully featured animationsVaxry2024-02-281-4/+10
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* renderer: take into account fading out windows in solitary recheckVaxry2024-02-261-1/+2
|
* renderer: nuke lastFrameDamage and rework finalDamageVaxry2024-02-231-11/+10
| | | | this fucking SUCKED
* renderer: fix logsVaxry2024-02-231-3/+3
|
* renderer: add more logging for fails in beginRenderVaxry2024-02-221-4/+8
|
* renderer: minor fixes for introspection detectionVaxry2024-02-221-1/+2
|
* renderer: ignore set cursor surface if cursor should be hidden (#4780)André Silva2024-02-211-2/+8
|
* renderer: fixup damage_ring rotationVaxry2024-02-191-13/+18
|
* surface: minor fixes for last logicalDamage calc fixvaxerski2024-02-191-3/+5
|
* surface: fix invalid damage tracking in damageSurfacevaxerski2024-02-191-11/+10
| | | | ref #4744
* renderer: fix invalid damage accumulation with invalid buffer_ageVaxry2024-02-181-38/+36
| | | | fixes #4670
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-76/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* monitors: fix outputmgr nullptr crash (#4738)Alessio Molinari2024-02-181-2/+2
|
* monitor: don't damage twice (#4727)Abílio Costa2024-02-171-2/+2
| | | | | | | | | When scaled, the ring is already fully damaged, no need to add the region damage. Also moved a variable that was being declared way to far for where it is actually used. Co-authored-by: Abilio Costa <abilio.costa@criticaltechworks.com>
* renderer: don't calculate mirror damage without mirrors presentVaxry2024-02-141-9/+9
|
* renderer: accept custom state requests for fake outputsVaxry2024-02-141-49/+53
|
* renderer: don't set solitary on present notificationsvaxerski2024-02-141-0/+3
| | | | fixes #4647
* renderer: update cursor also when hostpot only changesVaxry2024-02-131-1/+1
| | | | fixes #4691
* renderer: avoid unnecessary gpu resource deletionsVaxry2024-02-021-2/+5
| | | | fixes #4594
* renderer: fixup misaligned fsv1 surfaces with uvVaxry2024-01-281-8/+20
| | | | fixes #4548
* monitor: wrap usage of wlr_output_stateVaxry2024-01-281-46/+41
| | | | | | for better control and convenience in usage. fixes #4546
* monitor: clear output state after usageVaxry2024-01-271-0/+6
| | | | fixes massive lag
* deps: update wlrootsVaxry2024-01-271-40/+42
| | | | drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
* damage: use buffer_damage instead of effective_damagevaxerski2024-01-171-2/+1
|
* fractional: Set preferred scale on monitor config reload (#4406)1over1372024-01-141-0/+7
|
* surface: avoid spam of window surfaces with scale and transform eventsvaxerski2024-01-111-2/+7
| | | | fixes #4408