summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: Add clang-tidy (#8664)Vaxry2024-12-071-5/+5
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* renderer: safeguard against non-sampleable currentFB in blurMainFbVaxry2024-11-031-0/+6
| | | | fixes #8325
* renderer: improve api around new framebuffer changesVaxry2024-11-021-3/+16
| | | | ref #8325
* renderer: Add a missing texture asset and a user checkVaxry2024-11-011-4/+11
| | | | | | | | When an asset is missing, instead of a black screen, render an obnoxious, yet standard, missing texture. Additionally, warn the user assets failed to load. Shoutout to Arch for having their assets broken for months. Fix your shit. I am tired of it, and it's negatively impacting users.
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-5/+6
| | | | | | | | | | | | | | | | | | | | 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
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-13/+14
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* opengl: log framebuffer errorsVaxry2024-04-031-1/+1
|
* framebuffer: ignore addStencil on legacyRendererVaxry2023-12-051-0/+3
| | | | ref #4044
* screencopy: fix shm exports with 10-bitVaxry2023-12-011-7/+1
| | | | fixes #4019
* renderer: Move to a full Hyprland GL rendering pipeline (#3920)Vaxry2023-11-241-0/+15
| | | Also updates wlroots
* renderer: fix legacy_renderer build (#3732)pastalian2023-11-031-1/+7
| | | | In GLES2, `GL_RGB10_A2` and `GL_UNSIGNED_INT_2_10_10_10_REV` are defined as `GL_RGB10_A2_EXT` and `GL_UNSIGNED_INT_2_10_10_10_REV_EXT` respectively.
* renderer: properly pass 10-bit formats to openglVaxry2023-10-301-2/+5
|
* internal: Formatter rework (#3186)Vaxry2023-09-061-3/+3
|
* opengl: cleanup framebuffer stylevaxerski2023-08-291-4/+2
|
* renderer: cleanup old redundancies in CFramebuffervaxerski2023-07-291-3/+3
|
* Added clang format (#1239)Vaxry2022-12-161-9/+9
| | | * clang-format stuff and format files
* Added resize transitionsvaxerski2022-11-061-1/+4
|
* guard primaryFB tex in end()vaxerski2022-10-281-0/+1
|
* Remove trailing whitespace.Felix Dick2022-09-251-2/+2
|
* guard invalid FB allocsvaxerski2022-09-181-0/+1
|
* Fix VRAM memory leak when releasing snapshotsvaxerski2022-07-121-9/+9
|
* What the fuck is going on with git, fix the entire scaling mergevaxerski2022-05-181-1/+1
| | | | This reverts commit 5b15d3b4f43e816b8ff9feefb2e331beebe7e0e1.
* Revert "Merge pull request #88 from vaxerski/scaling"vaxerski2022-05-181-1/+1
| | | | | This reverts commit f68ddc382a2b009dc19491277f6328addcdb8336, reversing changes made to ba573a529afdbf368aa632cf70b41c9a0595578b.
* fixed blur and shitvaxerski2022-05-161-1/+1
|
* oops, fixed regular renderervaxerski2022-04-131-0/+1
|
* Added legacy GLES2 renderer optionvaxerski2022-04-131-1/+7
|
* fixed blur rendering, stencil and gles3vaxerski2022-04-111-0/+11
|
* Rendering now to a HyprFramebuffervaxerski2022-04-091-1/+1
|
* fadeout done 🎉vaxerski2022-04-051-0/+62