summaryrefslogtreecommitdiff
path: root/src/protocols/ToplevelExport.cpp
Commit message (Collapse)AuthorAgeFilesLines
* opengl: minor adjustment to getPreferredReadFormatVaxry2024-03-191-11/+0
| | | | fixes #4791
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* renderer: nuke lastFrameDamage and rework finalDamageVaxry2024-02-231-4/+0
| | | | this fucking SUCKED
* toplevelexport: set last damage for dmabuf copyVaxry2024-02-221-0/+4
|
* screencopy: fix ~dtor being in monitorRenderResources mapVaxry2024-02-151-1/+1
|
* screencopy: attempt binding framebuffer before gathering formatVaxry2024-02-151-0/+12
|
* screencopy/toplevelexport: sanitize pointers in ::copyFrameVaxry2024-02-071-0/+7
| | | | oopsie~~ >///<
* toplevelexport: fix missed pmonitor set for openglVaxry2023-12-151-1/+1
| | | | ref #4165
* toplevelexport: fix missing GL_READ_FRAMEBUFFER set in shm copyVaxry2023-12-151-0/+4
| | | | ref #4165
* toplevel-export: commence render pass before readingVaxry2023-12-071-3/+5
| | | | fixes #4070
* toplevelexport: fix getPreferredReadFormat param in captureToplevelVaxry2023-12-051-1/+1
| | | | fixes #4043
* screencopy: use buffer format for glReadPixelsVaxry2023-12-041-7/+6
| | | | fixes #4029
* opengl: free window framebuffers in ~dtorVaxry2023-12-041-1/+1
| | | | ref #4036
* screencopy: fix detecting gl shm formatsVaxry2023-12-031-4/+12
| | | | ref #4029
* screencopy: fix shm exports with 10-bitVaxry2023-12-011-13/+5
| | | | fixes #4019
* screencopy: use drmFormat instead of wlr funcsVaxry2023-12-011-1/+1
| | | | ref #4014
* screencopy: fix broken shm copyingVaxry2023-11-301-1/+6
| | | | fixes #4001
* screencopy: use new isNvidia() for formatVaxry2023-11-251-1/+1
|
* renderer: Move to a full Hyprland GL rendering pipeline (#3920)Vaxry2023-11-241-46/+16
| | | Also updates wlroots
* screencopy: round boxesVaxry2023-11-081-1/+1
| | | | fixes #3795
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-4/+4
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* deps: update wlrootsVaxry2023-10-251-1/+1
|
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-3/+3
|
* internal: fix warningsvaxerski2023-09-071-1/+1
|
* internal: Formatter rework (#3186)Vaxry2023-09-061-4/+4
|
* toplevelexport: minor fixes to dmabufvaxerski2023-08-081-5/+6
|
* toplevelexport: support dmabuf + various fixesvaxerski2023-07-201-14/+44
|
* internal: Wrap regions (#2750)Vaxry2023-07-191-7/+2
|
* toplevelexport: ignore defunct windowsvaxerski2023-06-131-2/+1
|
* includes: remove redundant from screencopyvaxerski2023-05-071-1/+0
|
* screencopy: improve consistency of share indicatorvaxerski2023-04-171-0/+1
|
* Format: use %lx for all addressesvaxerski2023-04-171-4/+4
|
* Screencopy: unify frame and client between impls + eventvaxerski2023-04-151-11/+14
| | | | Adds a new event to both hooks and ipc: screencopy
* toplevelExport: honor overlay_cursorvaxerski2023-04-041-0/+32
|
* Hyprland Screencopy impl (#1800)Vaxry2023-04-031-7/+7
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+2
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* fixup stutter in rendering with toplevel_exportvaxerski2023-02-161-4/+13
|
* wp-fractional-scaling-v1 impl (#1373)Vaxry2023-01-201-4/+4
| | | | | | | | | | | * Initial fractional scaling impl * apply UV after geom calcs * fix scaling -> scale * meson: add fractional scale proto Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Normalize color storagevaxerski2023-01-051-1/+1
| | | | | | Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
* Added clang format (#1239)Vaxry2022-12-161-26/+20
| | | * clang-format stuff and format files
* Added toplevel handle sharing Rev2 (#1203)Vaxry2022-12-121-13/+21
| | | | | | | | | * Added toplevel handle sharing * nix: fix build * update hyprland-protocols Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* fix sharing scaled windowsvaxerski2022-12-091-1/+1
|
* minor toplevel sharing fixupsvaxerski2022-12-061-1/+9
|
* block surface feedback on window sharingvaxerski2022-12-051-0/+2
|
* Implement window sharing with the hl toplevel export proto (#1179)Vaxry2022-12-051-0/+382
* implement window sharing Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>