summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* shadow: fix missed invalid use of cfg val ptrVaxry2024-02-211-1/+1
| | | | fixes #4785
* renderer: Update splash text properties to be configurable (#4707)Hiram Muñoz2024-02-211-3/+9
| | | | | | | * Update splash text properties to be configurable The splash text's font and color properties have been updated to be configurable. This change includes adding new configuration values for the splash screen color and font. The rendering of the splash screen is also adjusted to use these new config values, allowing for easy customization of the splash text appearance. * Updated to use Hyprlang config manager
* renderer: ignore set cursor surface if cursor should be hidden (#4780)André Silva2024-02-211-2/+8
|
* renderer: fixup damage_ring rotationVaxry2024-02-192-13/+20
|
* 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-182-39/+36
| | | | fixes #4670
* Migrate the config to hyprlang (#4656)Vaxry2024-02-185-215/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* shaders: use highp for fragmentsVaxry2024-02-153-15/+15
|
* 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
* groupbar: scale groupbar text according to monitor scale (#4640)Ben Landon2024-02-081-1/+2
|
* screenshader: rename output uniform to wl_output (#4606)JManch2024-02-042-9/+9
| | | | | * screenshader: rename output uniform to monitor * rename to wl_output
* renderer: avoid unnecessary gpu resource deletionsVaxry2024-02-022-6/+10
| | | | fixes #4594
* renderer: reset fb pointers after render passVaxry2024-02-021-0/+3
| | | | fixes #4590
* renderer: Add new background infrastructureVaxry2024-01-292-79/+95
| | | | | | | | Adds new backgrounds from the winners of the contest Rewrites how it works Allows high color precision PNGs (RGB32F precisely) Fixes a small bug in renderTextureInternalWithDamage Nukes misc:force_hypr_chan
* renderer: fixup misaligned fsv1 surfaces with uvVaxry2024-01-282-9/+21
| | | | fixes #4548
* monitor: wrap usage of wlr_output_stateVaxry2024-01-281-46/+41
| | | | | | for better control and convenience in usage. fixes #4546
* opengl: use texBox for rendering background textureVaxry2024-01-281-3/+1
| | | | fixes #4543
* monitor: clear output state after usageVaxry2024-01-271-0/+6
| | | | fixes massive lag
* deps: update wlrootsVaxry2024-01-272-41/+42
| | | | drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
* opengl: rassert false on lost contextVaxry2024-01-261-0/+23
| | | | we do not have infra to deal with this. It will cause hyprland to freeze rendering, we might as well die.
* damage: use buffer_damage instead of effective_damagevaxerski2024-01-171-2/+1
|
* groupbar: separate gradients from title (#4444)MightyPlaza2024-01-151-16/+18
| | | | | | | | | | | * separate gradients from title logic modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix disabled extents modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix disabled height modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* 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-112-3/+10
| | | | fixes #4408
* renderer: allow rendering multiple fullscreen windows in third fs passvaxerski2024-01-091-1/+4
| | | | | | something might be fading out, sliding out, etc. We handle it before, why not use it? fixes #4076
* renderer: ignore box offsets for fullscreen windowsvaxerski2024-01-081-1/+1
|
* groupbar: improve gradient handling (#4390)MightyPlaza2024-01-081-13/+17
| | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* opengl: apply box rot to projectionsvaxerski2024-01-071-6/+6
|
* opengl: add renderdata.forceIntrospectionvaxerski2024-01-072-4/+7
|
* renderer: overhaul renderModifDatavaxerski2024-01-073-17/+52
|
* layout: update rules before applying fullscreen nodes in layoutsvaxerski2024-01-021-1/+1
|
* groupbar: Drag single window instead of destroying group (#4327)dranull2024-01-021-0/+3
|
* renderer: Only force nearest neighbor when the sizes are off by one or two ↵q234rty2024-01-011-0/+1
| | | | | (#4325) Fixes rendering issues in arch's extra/telegram-desktop
* deps: update wlrootsvaxerski2024-01-011-2/+2
|
* renderer: fix auto scale detection with fractionalvaxerski2023-12-311-7/+16
| | | | ref #4225
* renderer: use nearest_neighbor for misaligned fractional-scale surfacesvaxerski2023-12-311-6/+16
| | | | ref #4225
* groupbar: add enabling groupbar and setting priority (#4299)MightyPlaza2023-12-302-9/+25
|
* groupbar: Middle click on groupbar to close tab (#4297)dranull2023-12-301-4/+20
| | | | | | | | | * Prevent window swapping when the head is removed * Bring floating windows to top when selected * Allow clicks on gropubar in fullscreen 1 * Close window on groupbar with middle click
* internal: minor include fixes and missed formatvaxerski2023-12-292-8/+8
|
* renderer: ignore windowRequestedCursorHidevaxerski2023-12-292-2/+1
| | | | | | ref #4197, thanks @dtop129 co-authored-by: dtop129
* internal: Unify input handling on decorations (#4280)dranull2023-12-284-44/+62
| | | | | | | * Unify input handling on decorations * Make input methods private * Optional data
* renderer: add decoration:blur:popups_ignorealphavaxerski2023-12-281-3/+11
| | | | fixes #4282
* hyprctl: add decorations (#4275)MightyPlaza2023-12-288-4/+28
| | | | | | | | | | | | | | | | | | * add hyprctl decorations modified: hyprctl/main.cpp modified: src/debug/HyprCtl.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprBorderDecoration.hpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.hpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fixes modified: hyprctl/main.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp
* renderer: use 120 as the denominator in scale checksvaxerski2023-12-271-5/+5
|