summaryrefslogtreecommitdiff
path: root/src/protocols/Screencopy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* protocols: do not destroy screencopy resources before client request (#9048)outfoxxed2025-01-191-4/+0
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-0/+2
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-9/+8
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+4
| | | Cleanup some unneeded includes to speed up compilation
* core: Add clang-tidy (#8664)Vaxry2024-12-071-6/+6
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* screencopy: fix build with legacyrendererVaxry2024-11-051-1/+1
| | | | fixes #8355
* renderer: improve api around new framebuffer changesVaxry2024-11-021-1/+1
| | | | ref #8325
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-8/+8
| | | | | * move monitors to sp * XD
* screencopy: fix screencopy frames not being cleaned up (#8017)Ikalco2024-10-081-5/+8
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-4/+4
| | | now we roll loops at blazing constified speed.
* screencopy: fixup 10-bit sharing via shm on nvidiavaxerski2024-08-231-1/+1
|
* screencopy: fix 10b format r/b flipvaxerski2024-08-181-0/+4
|
* screencopy: nuke unused stuffvaxerski2024-08-181-11/+0
|
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)Ikalco2024-07-271-396/+267
| | | | | * move screencopy and toplevel export to hyprwayland-scanner * oops
* core: Properly shutdown wl display (#7018)Ikalco2024-07-241-1/+8
| | | | | | | * correctly destroy wayland globals * properly shutdown and cleanup hyprland * appease the nitpick gods and some comments
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-31/+21
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: Move to hyprutils for MathVaxry2024-06-191-4/+5
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-44/+40
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* screencopy: use a simple renderer for frame passingvaxerski2024-05-231-2/+2
|
* screencopy: don't spam sw cursor locksVaxry2024-05-111-7/+24
|
* cursor: move to a hyprland implVaxry2024-05-091-11/+11
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* renderer: block screen shader on screencopyVaxry2024-04-031-0/+2
|
* renderer: some fixes for renderModifVaxry2024-04-031-0/+4
|
* renderer: minor fixes to transformationsVaxry2024-03-031-6/+8
|
* screencopy: send full frame damagevaxerski2024-02-271-0/+2
| | | | fixes #4855
* screencopy: avoid dangling client ptrs on client destroyVaxry2024-02-271-0/+9
|
* renderer: nuke lastFrameDamage and rework finalDamageVaxry2024-02-231-10/+11
| | | | this fucking SUCKED
* screencopy: damage entire screen on a no-damage requestvaxerski2024-02-201-1/+1
|
* screencopy: fix invalid damage being used for final copy in dmaVaxry2024-02-191-0/+2
|
* screencopy: fix ~dtor being in monitorRenderResources mapVaxry2024-02-151-1/+1
|
* screencopy: attempt binding framebuffer before gathering formatVaxry2024-02-151-0/+12
|
* screencopy: move monitor verif check to the proper placeVaxry2024-02-071-7/+7
| | | | oops
* screencopy/toplevelexport: sanitize pointers in ::copyFrameVaxry2024-02-071-0/+7
| | | | oopsie~~ >///<
* screencopy: fix glReadPixels offsetVaxry2023-12-051-3/+3
| | | | fixes #4042
* screencopy: fix legacyrenderer buildsVaxry2023-12-051-0/+4
| | | | fixes #4044
* screencopy: use buffer format for glReadPixelsVaxry2023-12-041-10/+9
| | | | fixes #4029
* opengl: free window framebuffers in ~dtorVaxry2023-12-041-1/+1
| | | | ref #4036
* screencopy: fix detecting gl shm formatsVaxry2023-12-031-4/+23
| | | | ref #4029
* screencopy: fix transformed on shmVaxry2023-12-031-1/+1
|
* screencopy: fix shm exports with 10-bitVaxry2023-12-011-10/+5
| | | | fixes #4019
* screencopy: use drmFormat instead of wlr funcsVaxry2023-12-011-1/+1
| | | | ref #4014
* screencopy: fix shm sharing if introspection requiredvaxerski2023-11-301-1/+7
|
* screencopy: fix broken shm copyingVaxry2023-11-301-20/+48
| | | | fixes #4001
* deps: update wlrootsVaxry2023-11-301-17/+20
|
* screencopy: use new isNvidia() for formatVaxry2023-11-251-1/+1
|
* renderer: Move to a full Hyprland GL rendering pipeline (#3920)Vaxry2023-11-241-15/+9
| | | Also updates wlroots
* screencopy: round boxesVaxry2023-11-081-1/+1
| | | | fixes #3795
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-3/+2
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* deps: update wlrootsVaxry2023-10-251-2/+2
|