summaryrefslogtreecommitdiff
path: root/src/render/Renderbuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* render: refactor class member vars (#10292)davc0n2025-05-051-22/+22
| | | | | * render: refactor class member vars * render: fix clang format
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* renderer: various fixes towards improving gpu calls robustness (#9188)Tom Englund2025-02-081-6/+2
| | | | | | | | | | | | | | ensure framebuffer textures are detached and deleted, avoid leaving framebuffers bound when not needed * render: avoid calling glDeleteProgram on no program its safe to do so but it adds a bunch of unnecessery lines in apitrace when tracing. if guard it and return early. * opengl: ensure texture and buffers are unbound ensure bound buffers are unbound after use, also detach textures from framebuffer before deleting it otherwise it will become dangling and essentially leak.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+2
| | | Cleanup some unneeded includes to speed up compilation
* 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.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-48/+19
| | | | | | | | | | | | | | 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>
* style: fix clang-formatVaxry2024-07-131-2/+1
|
* core: fix a few ubsan issues reported at exit of hyprland (#6699)Tom Englund2024-06-281-1/+1
| | | | | | | | | | | | | | | | | * watchdog: dont detach and cause race condition instead of detaching and causing a race condition on destruction where the thread is alive and watchdog has been destroyed, check if its joinable and join it on destruction. causes heap use after free on exit of compositor. * render: add checks for compositor shutting down avoid member call on null pointer, if the g_pHyprRenderer is destroyed we can call the member makeEGLCurrent on it, causes undefined behaviour on destruction of the compositor/hyprrenderer. found with ubsan.
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-0/+24
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* cursor: move to a hyprland implVaxry2024-05-091-4/+4
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* internal: various improvements to avoid crashes on exitVaxry2023-12-061-0/+3
|
* renderer: Move to a full Hyprland GL rendering pipeline (#3920)Vaxry2023-11-241-0/+81
Also updates wlroots