summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* groupbar: Don't apply monitor scale twice to groupbar text (#6411)zakk42232024-06-111-4/+4
|
* groupbar: Fix window title rendering (#6392)zakk42232024-06-102-21/+35
|
* output: remove wl_output globals for mirrored displaysVaxry2024-06-101-1/+4
| | | | ref #6387
* egl: assume implicit modifiers are available for old driversVaxry2024-06-091-1/+5
| | | | fixes #6367
* renderer: allow custom uv for surface no-blur passesVaxry2024-06-081-2/+2
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-0812-454/+683
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* xwayland: move to hyprland impl (#6086)Vaxry2024-05-251-7/+3
|
* renderer: render fonts with pango, add global `font_family` config option ↵giskard2024-05-222-15/+29
| | | | (#6138)
* decoration: Stacked group tabs (#5886)zakk42232024-05-162-28/+59
| | | | | | | | | | | | * Stacked group tabs * Fix index when creating groupbar title textures * Changes for stacked dnd * formatting * Don't remove internal horizontal padding when calculating stacked bar width
* wl-data-device: move to hyprland implVaxry2024-05-141-14/+3
|
* xdg-shell: move to new implVaxry2024-05-141-9/+18
|
* wl_seat: move to hyprland implVaxry2024-05-141-2/+2
|
* cursor: minor fixes for unhiding surfacesVaxry2024-05-141-3/+0
| | | | | | the surface equality check is done in CPointerManager, the one in renderer can be wrong fixes #5975
* renderer: avoid locking during renderingVaxry2024-05-101-9/+8
| | | | | | it can trigger pointermgr to render which fucks up our pass fixes #5998
* presentation-time: move to new implVaxry2024-05-101-2/+10
|
* config: move various cursor-related vars to cursor:Vaxry2024-05-092-5/+5
|
* groupbar: fix title scaling (#5969)MightyPlaza2024-05-092-5/+5
| | | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* layer-shell: move to new implVaxry2024-05-093-18/+29
| | | | Also bumps the hw-s dep
* decorations: fix groupbar input (#5963)MightyPlaza2024-05-092-11/+12
| | | | modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp
* cursor: move to a hyprland implVaxry2024-05-096-103/+149
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* deco-positioner: avoid infinite recalcsVaxry2024-05-071-2/+4
| | | | fixes #5908
* renderer: deny solitary during a session lockVaxry2024-05-061-1/+1
| | | | | | closes #5906 fixes #5899
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-057-73/+74
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* shadow: fix small pixel gaps between borderVaxry2024-05-041-1/+1
| | | | huge fix
* output-management: move to new implVaxry2024-05-032-67/+6
|
* layout: Trigger layout recalcuation on deco position/size change (#5821)zakk42232024-05-011-0/+1
| | | | | | | * Trigger layout recalcuation on deco position/size change * Remove now unneeded code * Formatting
* sessionLock: call wlr_surface_map/_unmap on the surface manuallyVaxry2024-04-301-1/+1
| | | | | | fixes unmapped subsurfaces etc ref #5816
* session-lock: move to new implVaxry2024-04-301-3/+4
|
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-304-37/+36
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* wlr-output-power: move to new implVaxry2024-04-291-0/+4
|
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-2714-275/+287
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* renderer: fix rounding of the size of fractionally scaled monitors (#5748)eriedaberrie2024-04-251-1/+1
|
* renderer: Fix mirrored displays when transformed and preserve aspect ratio ↵Virt2024-04-243-21/+60
| | | | | | | | | | | | | (#5697) * renderer: transform mirror buffer and preserve mirror aspect ratio * renderer: render mirrors directly from offloadFB * renderer: fix formatting * renderer: use monitorMirrorFB again, but properly damage mirrors * renderer: clean mirrors after reload and support cursor zoom mirroring
* renderer: fix safety around sendFrameEventsToWorkspaceVaxry2024-04-231-1/+4
| | | | ref #5718
* renderer: send frame events to apps on empty damage rendersVaxry2024-04-232-2/+26
| | | | fixes #5711
* renderer: avoid rendering frame if finalDamage is emptyVaxry2024-04-231-31/+33
|
* gamma-control: move to new implVaxry2024-04-221-19/+0
|
* style: fix clang-formatVaxry2024-04-211-3/+3
|
* alpha-modifier: add support for protocolVaxry2024-04-211-8/+11
|
* HookSystem: improve callback safetyVaxry2024-04-203-5/+5
|
* tearing-control: hyprland impl (#5655)Vaxry2024-04-191-10/+8
| | | | | * tearing: hl impl * format
* shaders: Use sin-less hash for noise (#5607)Epikastema2024-04-171-1/+3
|
* renderer: remove border on fullscreen (#5577)MightyPlaza2024-04-141-2/+2
| | | modified: src/render/Renderer.cpp
* renderer: Add dimaround layer rule (#4643)TheOnlyMrCat2024-04-111-0/+7
|
* style: run clang-formatVaxry2024-04-081-1/+1
|
* damageSurface: don't correct smallVec twiceVaxry2024-04-071-7/+1
|
* renderer: avoid double-rendering ls-es on fadingOutVaxry2024-04-041-1/+2
| | | | fixes #5295
* renderer: block screen shader on screencopyVaxry2024-04-032-1/+3
|
* core: fix some crash conditions around workspace ptrs in CWindowVaxry2024-04-031-1/+4
| | | | ref #5402, supersedes #5409
* blur: block modif only on no new optimizeVaxry2024-04-031-0/+4
|