summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.cpp
Commit message (Collapse)AuthorAgeFilesLines
* pass/surface: cache texBoxVaxry2026-04-071-1/+7
|
* renderer: move m_renderData to renderer (#13474)UjinT342026-03-071-2/+2
|
* renderer: refactor resources and flags (#13471)UjinT342026-03-071-2/+2
|
* renderer: refactor render elements (#13438)UjinT342026-03-071-144/+0
| | | Part 2 of renderer refactors
* protocols: implement image-capture-source-v1 and image-copy-capture-v1 (#11709)Ikalco2026-02-221-1/+1
| | | Implements the new screencopy protocols
* layout: rethonk layouts from the ground up (#12890)Vaxry2026-02-211-2/+3
| | | | | Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-1/+1
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-10/+10
|
* pass/surface: check for LS size anim for misaligned fractionalVaxry2025-10-271-1/+2
|
* renderer: fix uv calculations once and for all (#11770)Vaxry2025-09-211-9/+15
| | | fixes synchronization of ackd sizes, fixes wrong xdg stuff
* hdr: scRGB, HLG and SDR -> HDR fixes (#11499)UjinT342025-08-221-2/+0
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-3/+3
|
* opengl: improve render fn arg clarity (#11286)Vaxry2025-07-311-4/+28
|
* opengl: use a stack for storing monitor transform enabledVaxry2025-06-151-2/+2
| | | | fixes #10487
* pass/surface: make sure popup blurs are marked for require live blurVaxry2025-05-251-0/+6
| | | | fixes #10535
* protocols/hyprland-surface: account for scaled monitor positions (#10415)outfoxxed2025-05-151-1/+1
|
* render: refactor class member vars (#10292)davc0n2025-05-051-87/+87
| | | | | * render: refactor class member vars * render: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-11/+11
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-2/+2
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-9/+9
|
* render: properly release rendered buffers (#9807)Ikalco2025-04-301-0/+5
| | | | | | | | | * cleanup eglSync * properly release buffers in renderer * add renderingDoneCallback and use it in screencopy * use static constructor for CEGLSync
* windows: refactor class member vars (#10168)davc0n2025-04-281-7/+7
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-6/+6
|
* syncobj: use eventfd instead of stalling fd checks (#9437)Tom Englund2025-03-141-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syncobj: cleanup and use uniqueptrs cleanup a bit missing removals if resource not good, erasing from containers etc. make use of unique ptrs instead. and add default destructors. * syncobj: rework syncobj entirerly remove early buffer release that was breaking explicit sync, the buffer needs to exist until the surface commit event has been emitted and draw calls added egl sync points, move to eventfd signaling instead of stalling sync point checks, and recommit pending commits if waiting on a signal. add a CDRMSyncPointState helper class. move a few weak pointers to shared pointers so they dont destruct before we need to use them. * syncobj: queue pending states for eventfd eventfd requires us to queue pending stats until ready and then apply to current, and also when no ready state exist commit the client commit on the current existing buffer, if there is one. * syncobj: clear current buffer damage clear current buffer damage on current buffer commits. * syncobj: cleanup code and fix hyprlock remove unused code, and ensure we dont commit a empty texture causing locksession protocol and gtk4-layer-shell misbehaving. * syncobj: ensure buffers are cleaned up ensure the containers having the various buffers actually gets cleaned up from their containers, incase the CSignal isnt signaled because of expired smart pointers or just wrong order destruction because mishaps. also move the acquire/point setting to buffer attaching. instead of on precommit. * syncobj: remove unused code, optimize remove unused code and merge sync fds if fence is valid, remove manual directscanout buffer dropping that signals release point on pageflip, it can cause us to signal the release point while still keeping the current buffer and rendering it yet again causing wrong things. * syncobj: delay buffer release on non syncobj delay buffer releases on non syncobj surfaces until next commit, and check on async buffers if syncobj and drop and signal the release point on backend buffer release. * syncobj: ensure we follow protocol ensure we follow protocol by replacing acquire/release points if they arrive late and replace already existing ones. also remove unneded brackets, and dont try to manual lock/release buffers when it comes to explicit protocol. it doesnt care about buffer releases only about acquire and release points and signaling them. * syncobj: lets not complicate things set points in precommit, before checking protocol errors and we catch any pending acquire/release points arriving late. * syncobj: move SSurfaceState to types remove destructor resource destroying, let resources destroys them on their events, and move SSurfaceStates to types/SurfaceState.hpp * syncobj: actually store the merged fd have to actually store the mergedfd to use it. * syncobj: cleanup a bit around fences ensure the current asynchronous buffer is actually released on pageflip not the previous. cleanup a bit FD handling in commitPendingAndDoExplicitSync, and reuse the in fence when syncing surfaces. * syncobjs: ensure fence FD doesnt leak calling resetexplicitfence without properly ensuring the FD is closed before will leak it, store it per monitor and let it close itself with the CFileDescriptor class. * syncobj: ensure buffers are actually released buffers were never being sent released properly. * types: Defer buffer sync releaser until unlock * syncobj: store directscanout fence in monitor ensure the infence fd survives the scope of attemptdirectscanout so it doesnt close before it should have. * syncobj: check if if acquire is expired we might hit a race to finish on exit where the timeline just has destructed but the buffer waiter is still pending. and such we removeAllWaiters null dereferences. * syncobj: code style changes remove quack comment, change to m_foo and use a std::vector and weakpointer in the waiter for removal instead of a std::list. * syncobj: remove unused async buffer drop remove unused async buffer drop, only related to directscanout and is handled elsewhere. --------- Co-authored-by: Lee Bousfield <ljbousfield@gmail.com>
* renderer: add simple color management (#9506)UjinT342025-03-141-0/+2
| | | Adds proper color management and transformations for CM surfaces.
* renderer/internal: stop using box pointersVaxry2025-01-261-4/+4
| | | | in favor of const refs
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-231-0/+50
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+1
| | | Cleanup some unneeded includes to speed up compilation
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+2
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-6/+6
| | | | | | | | | | | | | * 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-7/+10
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* protocols: fix alpha-modifier noncompliance (#8929)outfoxxed2025-01-021-5/+5
| | | | Also fixes small issues with hyprland-surface opacity < 1.0 while surface alpha = 1.0.
* protocols: add hyprland_surface_v1 implementation (#8877)outfoxxed2025-01-011-6/+7
|
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-0/+230
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.