summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
...
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-1911-107/+107
| | | | | * move monitors to sp * XD
* layout: move applyGroupRules() to onWindowCreated() (#8139)Aqa-Ib2024-10-161-1/+0
|
* layout: add merge_floated_into_tiled_on_groupbar (#8042)Aqa-Ib2024-10-091-3/+9
|
* 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>
* layout: add drag_into_group to control merging dragging windows (#8004)Aqa-Ib2024-10-081-4/+12
|
* opengl: use GL_CLAMP_TO_EDGE instead of GL_CLAMPVaxry2024-10-051-2/+2
| | | | avoid error spam on select hw
* renderer: Fix resize artifacts (stretching, bumps) (#7499)Vaxry2024-10-053-33/+45
|
* renderer: fix uvBR calculation (#7975)Maximilian Seidler2024-10-031-1/+1
|
* opengl: remove debug logVaxry2024-09-261-2/+0
|
* Internal: move to Mat3x3 from hyprutils (#7902)Vaxry2024-09-252-111/+89
| | | | | | | | | * Meson: require hyprutils >= 0.2.3 * flake.lock: update hyprutils --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: nuke wlsignal and relatedVaxry2024-09-241-1/+0
| | | | old semi-wrappers for wl_signal, they are no longer used
* 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-302-0/+54
|
* presentation-feedback: minor fixupsVaxry2024-08-301-2/+2
|
* xdg-dialog: implement new protocolVaxry2024-08-301-3/+2
|
* renderer: better lockscreen dead behavior (#7574)Vaxry2024-08-294-27/+152
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: fade out windows on silent movesVaxry2024-08-281-6/+15
|
* renderer: ensure buffer format on commit (#7556)Ikalco2024-08-281-0/+1
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-267-78/+78
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-262-16/+16
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* renderer: pass custom modelines to aqvaxerski2024-08-181-11/+3
| | | | ref #7390
* render: fixup format mismatch after leaving DSvaxerski2024-08-171-0/+4
| | | | fixes #7373
* renderbuffer: ensure framebuffer gets deleted (#7363)Tom Englund2024-08-161-1/+2
| | | | | | after commit 4b4971c it uses m_iFbAllocated and deletes if upon calling release() but Renderbuffer generates directly on m_iFb without calling alloc() meaning it wont be deleted on release(), set m_iFbAllocated to true after generating the buffer.
* logs: Add file path to asset ERR log (#7336)davc0n2024-08-141-1/+1
|
* core: fix data race and a unsigned int rollover (#7278)Tom Englund2024-08-121-5/+5
| | | | | | | | | | | | | | | | | | * keybindmgr: avoid uint rollover on mouse keycode mouse keycode is 0, and the switch case checks for 0 - 8 and rolls over, just return early if keycode is 0. * watchdog: avoid data races in watchdog asan thread sanitizer reported data races in the watchdog from reading and setting the bool variables make them std::atomic bools. also add a atomic bool for the main thread to wait for to avoid data race when reading the config values. * hyprdebug: change non unicode character to name asan created false positives and didnt like this bit, so for the sake of easier debugging rename it to something unicode.
* cursor: make inactive_timeout setting a float (#7268)Walt Bringenberg2024-08-101-1/+1
|
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-085-16/+18
| | | | | | | | | | | | | | | | | | | | overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
* renderer: fixup nvidia driver version checksVaxry2024-08-071-1/+1
|
* renderer: guard layer in renderLayerVaxry2024-08-071-0/+3
| | | | ref #7181
* renderer: fixup crashes on inaccessible files for bgVaxry2024-08-061-6/+4
|
* renderer: Explicit sync fixes (#7151)Vaxry2024-08-064-81/+148
| | | | | Enables explicit sync by default for most platforms `misc:no_direct_scanout` -> `render:direct_scanout`
* CMake, Meson: install config and wallpapers to DATADIR/hyprMihai Fufezan2024-08-041-3/+5
| | | | OpenGL: get wallpapers dir from DATAROOTDIR
* decorations: fix infinite recursion on no_gaps when only (#7169)MightyPlaza2024-08-031-1/+1
| | | | | modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp
* border: fixup infinite recursionVaxry2024-08-012-2/+14
| | | | ref #7127
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-313-7/+11
|
* internal: refactor fullscreen states (#7104)MightyPlaza2024-07-312-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor fullscreen modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
* output: minor tearing fixesVaxry2024-07-301-5/+2
|
* output: submit damage to kmsVaxry2024-07-301-0/+2
|
* core: add a destructor to CHyprOpenglImpl and avoid wl_container_of ↵Tom Englund2024-07-292-0/+17
| | | | | | | | | | | | | | | undefined behaviour (#7101) * protocols: avoid undefined behaviour in C macro to safely use wl_container_of with a class the class has to be no virtual functions, no inheritance, and uniform access control (e.g all public) work around this by putting this into a destroywrapper struct. * opengl: clean memory on destruction add a destructor and free the allocated memory and close the fd
* egl: attempt a 3.2 egl context firstVaxry2024-07-291-3/+21
|
* egl: require gles 3.0 onlyVaxry2024-07-291-1/+1
| | | | | | No clue what could break, hopefully nothing ref #6973
* renderer: use session lock alpha for rendering lacking locksvaxerski2024-07-271-2/+3
|
* protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)Ikalco2024-07-271-1/+1
| | | | | * move screencopy and toplevel export to hyprwayland-scanner * oops
* opengl: destroy cairo image surface after usevaxerski2024-07-271-0/+2
|
* renderer: drastically optimize bg texture creationvaxerski2024-07-262-58/+86
| | | | stop loading 20MB images every time, dumbass
* egl: support getting the device via platform_deviceVaxry2024-07-242-14/+81
| | | | a neat EXT