| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Enables explicit sync by default for most platforms
`misc:no_direct_scanout` -> `render:direct_scanout`
|
| |
|
|
|
| |
* move screencopy and toplevel export to hyprwayland-scanner
* oops
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Moves CRegion, CBox and Vector2D over to hyprutils.
Requires hyprutils>=0.1.4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* option to fix mouse breaking vrr
* skip damage on mouse move
* remove this-> & cleanup
* add cursor:min_refresh_rate to avoid cursor freezing
* run clang-format
---------
Co-authored-by: UjinT34 <ujin@uvpn.ru>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* renderer: add destructor and destroy event source
add destructor and destroy the event source.
one less leak on exit of compositor reported by asan.
* compositor: cleanup eventloop on exit
destruct hyprctl to release the event sources, and properly cleanup the
event loop on exit of compositor. less leaks on exit reported by asan
* threadmgr: destroy event source on destruction
destroy the event source on destruction.
* eventloopmgr: reset eventloopmgr on exit aswell
reset the eventloopmanager on exit of compositor and free the leaking
last idle frame on monitor destroy.
|
| |
|
|
|
| |
* wayland/core/dmabuf: move to new impl
it's the final countdown
|
| |
|
|
| |
Also bumps the hw-s dep
|
| |
|
|
|
|
|
| |
This moves wlr_cursor to a completely new impl mostly under
CPointerManager
Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
|
| | |
|
| |
|
|
|
| |
Makes all the pointers smart to avoid memory issues
Refactors layerSurface code to live inside desktop/layersurface
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Window storage rework - part 1
* format
* remove useless include
* fix pch
* format
* fix crash in dwindle
* fix vram leak
* prefer .expired() for bool checks
|
| |
|
|
| |
fixes #5711
|
| |
|
|
|
| |
* tearing: hl impl
* format
|
| |
|
|
|
| |
* refactor workspaces to use ptrs
* clang-format
|
| |
|
|
| |
offsets (#5297)
|
| |
|
|
| |
fixes #3045
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* lock: use uint64_t for iMonitorID
* lock: move activateLock to onNewSessionLock
* lock: add red screen fade
* lock: damage when fading the red screen and delay for screencopy
* lock: remove redundant scheduleFrameForMonitor
|
| | |
|
| | |
|
| |
|
|
| |
fixes #4670
|
| |
|
|
| |
fixes #4548
|
| |
|
|
| |
drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
|
| | |
|
| |
|
|
|
|
| |
ref #4197, thanks @dtop129
co-authored-by: dtop129
|
| | |
|
| |
|
|
| |
ref #4197
|
| |
|
| |
Co-authored-by: Dusan Popovic <dpx@binaryapparatus.com>
|
| |
|
|
|
| |
* style: apply clang-format
* ci: add new clang-format job to CI
|
| |
|
|
| |
fixes #4001
|
| | |
|
| |
|
|
| |
fixes #3952 #3946
|
| |
|
| |
Also updates wlroots
|
| |
|
|
|
|
|
| |
* box impl
* remove unused operators
* missed applyfromwlr
|
| |
|
|
|
|
| |
because nullptr is a valid surface.
fixes #3692
|
| |
|
|
|
|
| |
Improves handling of cursor images/surfaces
Fixes an issue with decos and cursors
Fixes #3471
|
| | |
|
| | |
|
| |
|
|
| |
Makes the logic used to render stuff over the windows (special, popups, ime, lockscreen) unified by yeeting the workspace window logic (which is separate cuz fullscreen windows) into their own funcs. Fixes #2053
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|