summaryrefslogtreecommitdiff
path: root/src/render/Renderbuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* renderer: refactor part 7: api fixes (#13631)UjinT342026-03-281-0/+2
| | | | | | | Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* internal: fix relative path header locations (#13650)ItsOhen2026-03-131-1/+1
| | | Or plugins can't build.
* renderer: refactor resources and flags (#13471)UjinT342026-03-071-2/+1
|
* renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)UjinT342026-03-061-62/+9
| | | Part 1 of the renderer refactors
* renderer: shader variants refactor (#13434)UjinT342026-03-061-0/+1
| | | Part 0 of renderer reworks.
* renderer: minor framebuffer and renderbuffer changes (#12831)Tom Englund2026-01-031-8/+5
| | | | | | | | | | | | | | | | | | | | | * framebuffer: dont release if format or size changes we dont have to release and recreate both the texture and framebuffer if size or format changes, we can just bind the texture and call glTexImage2D with the new format and size. * framebuffer: set the alloced viewport size if monitor size mismatch with the allocated m_size its going to set a mismatched viewport and cause rendering issues. and if they are mismatching there is a missing alloc call. * renderbuffer: cleanup unneded binds the renderbuffer is attached to the fbo and trying to rebind it in bind() is causing unnecessery state changes, just bind the fbo. add safeguard in the destructor, the constructor can return early on failure and leave m_rbo empty or m_image as EGL_NO_IMAGE_KHR.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-2/+2
|
* 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