Vaxry
0a28e13787
desktop: move desktop types to memory-safe pointers
2025-01-26 12:54:38 +00:00
Junxuan Liao
9199a9746d
input: pass touch events to lock screens ( #9129 )
...
* refactor: use weak pointers for session lock surfaces
* input: pass touch events to lock screens
2025-01-25 19:44:13 +01:00
UjinT34
078e13f463
renderer: Auto enable wide color gamut in HDR mode ( #9090 )
2025-01-17 20:23:57 +00:00
user111111111111111111111111111111111
2bad73354a
core: cleanup header includes ( #9088 )
...
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +00:00
UjinT34
52b9ae592b
renderer: fix fullscreen hdr check ( #9076 )
2025-01-16 13:13:47 +01:00
outfoxxed
a6b263713a
protocols: allow hyprland-toplevel-export to capture hidden windows ( #9041 )
2025-01-12 17:10:36 +00:00
UjinT34
a3a7499317
renderer: Do not set hdr metadata unless needed ( #9014 )
2025-01-12 17:02:41 +00:00
Maximilian Seidler
5fa2594659
renderer: don't access hdrMetadata optional if it has no value ( #8987 )
2025-01-08 10:28:55 +00:00
UjinT34
830350a1f7
core: Add support for HDR and color management protocols ( #8715 )
2025-01-07 18:32:50 +00:00
Maximilian Seidler
5642ed331d
core: move parts of the animation system to hyprutils ( #8868 )
...
* core: change animation manager to use Hyprutils::Animation
* config: move animation config to hyprutils animation tree
* use g_pAnimationManager->createAnimation and the new PHLANIMVAR template
* core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks
* core: adapt animated variable usage (dereference the shared pointer)
* misc: bump CMakeLists to hyprutils 0.3.3
2025-01-07 17:55:14 +00:00
Pollux
a5c14370c1
renderer: Add supercircular window corners ( #8943 )
...
renderer: Add supercircular shadows and borders
config: Add rounding_power to default and example configs
rule: add `roundingpower` window rule
2025-01-05 18:38:49 +00:00
Raymond Bian
cbd2451570
renderer: fix CRendererHintsPassElement reset duplication issue ( #8928 )
2025-01-02 11:51:59 +00:00
vaxerski
4e93b2def5
renderer: use a render pass for render modif in client render
...
fixes #8918
2025-01-01 14:11:21 +01:00
vaxerski
9f933da1c5
renderer: fix oversized blur precalcs not blurring at all
...
fixes #8839
2024-12-30 20:00:45 +01:00
Ikalco
cb211d83f6
internal: few small monitor improvements ( #8890 )
...
* remove framesToSkip, its not used anymore
* only set drm format when needed after leaving direct scanout
* always set drm damage
2024-12-29 23:19:12 +00:00
Ikalco
8d4c18d723
core: refactor/improve monitor mode selection ( #8804 )
2024-12-28 13:32:04 +00:00
Vaxry
a4a4fffffb
renderer: allow plugins to know what window was rendered in post
2024-12-22 22:07:08 +00:00
Vaxry
e536b02248
Renderer: rewrite render scheduling ( #8683 )
...
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
2024-12-22 17:12:09 +01:00
Vaxry
1cc1a46c2e
core: fade in windows when they are brought from invisible workspaces
2024-12-22 16:04:10 +00:00
Vaxry
8bbeee1173
core: Add clang-tidy ( #8664 )
...
This adds a .clang-tidy file for us.
It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-07 18:51:18 +01:00
Vaxry
cccca7c02e
renderer: drop requesting OUT_FENCE_PTR
2024-12-06 14:15:46 +00:00
Vaxry
320144ae72
core: move colorspace handling to oklab ( #8635 )
...
* Meson: add hyprgraphics
* Nix: add hyprgraphics
* CI/setup_base: get hyprgraphics-git
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net >
2024-12-03 18:58:24 +00:00
Vaxry
8f83d29f00
renderer: restore discard mode after IME render pass
...
ref #8555
2024-11-28 23:51:59 +00:00
Agent00Ming
e9a7fb8f91
renderer: fix incorrect early return ( #8590 )
...
Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com >
2024-11-27 14:17:45 +00:00
Ryan
451d7a41fc
renderer: add option to blur IME popups ( #8521 )
2024-11-23 14:29:29 +00:00
Vaxry
745a82ce8a
core: workspace-related function cleanup / refactor
...
CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
2024-11-22 16:01:02 +00:00
vaxerski
940f7aa990
renderer: fixup blur optimization considitons
...
fixes #8531
2024-11-20 11:02:21 +00:00
Vaxry
4f591e807a
renderer: simplify blur enabling logic
2024-11-17 16:42:30 +00:00
Vaxry
fb91c2550f
renderer: don't render unmapped popups
...
fixes #8485
2024-11-17 16:16:54 +00:00
Alexandre Acebedo
0ddbd1c3a4
renderer: add lockdead_screen_delay ( #8467 )
2024-11-17 15:58:18 +00:00
UjinT34
967fe76a60
drm: enable explit out fence in AQ ( #8431 )
2024-11-15 00:45:13 +00:00
dawsers
a551f85b91
renderer: scaled surfaces could have zero area ( #8423 )
2024-11-11 13:48:50 +00:00
dawsers
2ec2b3bfb3
renderer: minor fixup to window rendering logic ( #8359 )
...
Don't render animating windows out of their monitor when they are not moving workspaces
2024-11-06 23:30:17 +00:00
Vaxry
88e9e03945
renderer: add expand_undersized_textures
...
adds an option to disable the texture expansion for textures that are smaller while resizing up
2024-11-04 19:45:23 +00:00
Vaxry
d8b865366a
renderer: Add a missing texture asset and a user check
...
When an asset is missing, instead of a black screen, render an obnoxious, yet standard, missing texture.
Additionally, warn the user assets failed to load.
Shoutout to Arch for having their assets broken for months. Fix your shit. I am tired of it, and it's negatively impacting users.
2024-11-01 15:52:09 +00:00
Tom Englund
7c7a84ff60
internal: more profiling less calls and local copies ( #8300 )
...
* compositor: reduce amount of window box copies
mousemoveunified can call this very frequently, the cbox copying
actually shows up as an impact in such cases, move it down in the scope
and only do it when necessery.
* core: constify and reference frequent calls
profiling shows these as frequent called functions try to reduce the
amount of copies with references and const the variables.
* pointermgr: remove not used local copy, const ref
remove unneded local copies and const ref cursorsize.
* inputmgr: reduce amount of calls to vectortowindow
the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps
up in cpu usage with enough windows existing and moving the mouse, move
the PWINDOWIDEAL up and reuse it if its already the same.
* protocol: compositor remove unused local copy
remove unused local copy of accumulateCurrentBufferDamage and const
previousBuffer.
* renderer: reduce scope of variables and refactor
move a few variables down in their scopes to reduce the amount of calls
and copies when not needed, also add one more for loop in
renderWorkspaceWindows and store the windows in a vector with
weakpointers that should be rendered, this adds a loop but reduces the
amount of repeated calls to shouldRenderWindow and also makes the rest
of the loops go over way smaller vector when many windows exist.
2024-10-30 23:20:32 +00:00
Vaxry
5d4b54b012
core: move internal structures to monitor pointers ( #8266 )
2024-10-27 18:45:38 +00:00
Vaxry
d5689bb539
internal: cleanup CMonitor usage and fix a few ref hogs
...
ref #8221
2024-10-26 02:06:13 +01:00
Vaxry
a17850e41c
layersurface: fixup brace style
2024-10-19 23:47:28 +01:00
Vaxry
6a5c342063
layersurface: round geom in arrangeLayerArray
...
fixes #8171
2024-10-19 23:45:51 +01:00
Vaxry
f044e4c951
internal: Move CMonitor to SP ( #8178 )
...
* move monitors to sp
* XD
2024-10-19 23:03:29 +01:00
Vaxry
8cced091f5
renderer: reserve space for error at the bottom if that's set
...
ref #8040
2024-10-08 21:58:40 +01:00
Vaxry
91299f7039
hyprerror: make hyprerror reserve space ( #8040 )
2024-10-08 21:20:25 +01:00
Vaxry
1bf63dfdcd
protocols: Add support for hyprland-ctm-control-v1 ( #8023 )
...
* initial ctm support
* flake.lock: update
* Meson: bump required versions and add ctm proto
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net >
2024-10-08 16:59:15 +01:00
Vaxry
595eb89f6e
renderer: Fix resize artifacts (stretching, bumps) ( #7499 )
2024-10-05 01:01:21 +01:00
Maximilian Seidler
aed529f695
renderer: fix uvBR calculation ( #7975 )
2024-10-03 23:00:44 +01:00
Vaxry
9232bc2c00
internal: move to hyprutils' scopeguard
...
bumps hyprutils dep to 0.2.2
2024-09-21 00:37:17 +01:00
darkwater
04421063af
config: add order rule for layers ( #7697 )
2024-09-09 10:10:08 +01:00
Ikalco
838ed87d6f
renderer: minor direct scanout fixes ( #7594 )
2024-08-31 15:07:52 +02:00
Vaxry
c5fd577181
config: Add a window rule to render while unfocused ( #7582 )
2024-08-30 17:37:52 +02:00