summaryrefslogtreecommitdiff
path: root/src/render/Renderer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* renderer: Auto enable wide color gamut in HDR mode (#9090)UjinT342025-01-171-9/+20
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+7
| | | Cleanup some unneeded includes to speed up compilation
* renderer: fix fullscreen hdr check (#9076)UjinT342025-01-161-1/+1
|
* protocols: allow hyprland-toplevel-export to capture hidden windows (#9041)outfoxxed2025-01-121-7/+7
|
* renderer: Do not set hdr metadata unless needed (#9014)UjinT342025-01-121-7/+16
|
* renderer: don't access hdrMetadata optional if it has no value (#8987)Maximilian Seidler2025-01-081-2/+3
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+97
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-47/+47
| | | | | | | | | | | | | * 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
* renderer: Add supercircular window corners (#8943)Pollux2025-01-051-5/+6
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* renderer: fix CRendererHintsPassElement reset duplication issue (#8928)Raymond Bian2025-01-021-3/+6
|
* renderer: use a render pass for render modif in client rendervaxerski2025-01-011-18/+20
| | | | fixes #8918
* renderer: fix oversized blur precalcs not blurring at allvaxerski2024-12-301-0/+1
| | | | fixes #8839
* internal: few small monitor improvements (#8890)Ikalco2024-12-291-30/+14
| | | | | | | * remove framesToSkip, its not used anymore * only set drm format when needed after leaving direct scanout * always set drm damage
* core: refactor/improve monitor mode selection (#8804)Ikalco2024-12-281-416/+0
|
* renderer: allow plugins to know what window was rendered in postVaxry2024-12-221-1/+6
|
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-406/+397
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* core: fade in windows when they are brought from invisible workspacesVaxry2024-12-221-1/+1
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-20/+8
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* renderer: drop requesting OUT_FENCE_PTRVaxry2024-12-061-9/+1
|
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-10/+10
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: restore discard mode after IME render passVaxry2024-11-281-0/+7
| | | | ref #8555
* renderer: fix incorrect early return (#8590)Agent00Ming2024-11-271-1/+1
| | | Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* renderer: add option to blur IME popups (#8521)Ryan2024-11-231-1/+10
|
* core: workspace-related function cleanup / refactorVaxry2024-11-221-9/+9
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* renderer: fixup blur optimization considitonsvaxerski2024-11-201-1/+1
| | | | fixes #8531
* renderer: simplify blur enabling logicVaxry2024-11-171-8/+14
|
* renderer: don't render unmapped popupsVaxry2024-11-171-2/+2
| | | | fixes #8485
* renderer: add lockdead_screen_delay (#8467)Alexandre Acebedo2024-11-171-4/+5
|
* drm: enable explit out fence in AQ (#8431)UjinT342024-11-151-2/+3
|
* renderer: scaled surfaces could have zero area (#8423)dawsers2024-11-111-5/+5
|
* renderer: minor fixup to window rendering logic (#8359)dawsers2024-11-061-1/+1
| | | Don't render animating windows out of their monitor when they are not moving workspaces
* renderer: add expand_undersized_texturesVaxry2024-11-041-12/+16
| | | | adds an option to disable the texture expansion for textures that are smaller while resizing up
* renderer: Add a missing texture asset and a user checkVaxry2024-11-011-13/+7
| | | | | | | | 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.
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-301-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-16/+16
|
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-261-2/+2
| | | | ref #8221
* layersurface: fixup brace styleVaxry2024-10-191-22/+22
|
* layersurface: round geom in arrangeLayerArrayVaxry2024-10-191-1/+3
| | | | fixes #8171
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-31/+31
| | | | | * move monitors to sp * XD
* renderer: reserve space for error at the bottom if that's setVaxry2024-10-081-5/+12
| | | | ref #8040
* hyprerror: make hyprerror reserve space (#8040)Vaxry2024-10-081-0/+17
|
* protocols: Add support for hyprland-ctm-control-v1 (#8023)Vaxry2024-10-081-0/+5
| | | | | | | | | | | * initial ctm support * flake.lock: update * Meson: bump required versions and add ctm proto --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: Fix resize artifacts (stretching, bumps) (#7499)Vaxry2024-10-051-17/+25
|
* renderer: fix uvBR calculation (#7975)Maximilian Seidler2024-10-031-1/+1
|
* internal: move to hyprutils' scopeguardVaxry2024-09-211-1/+3
| | | | bumps hyprutils dep to 0.2.2
* config: add order rule for layers (#7697)darkwater2024-09-091-0/+4
|
* renderer: minor direct scanout fixes (#7594)Ikalco2024-08-311-3/+6
|
* config: Add a window rule to render while unfocused (#7582)Vaxry2024-08-301-0/+50
|
* presentation-feedback: minor fixupsVaxry2024-08-301-2/+2
|
* renderer: better lockscreen dead behavior (#7574)Vaxry2024-08-291-16/+37
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>