summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* protocols: add ext-workspace implementation (#10818)outfoxxed2025-06-269-21/+507
|
* config: use parseScale for monitorv2 (#10852)UjinT342025-06-261-2/+2
|
* renderer: reduce a lot of glcalls and cache various states (#10757)Tom Englund2025-06-2528-901/+880
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * opengl: cache viewport state according to nvidia docs calling glViewPort unnecessarily on the same already set viewport is wasteful and can cause state changes when not needed. cache it in a struct and only call it when the viewport is actually changing. * opengl: cache glenable/gldisable state avoid making multiple glenable/gldisable calls on already set caps, can cause state changes and incur driver overhead. * opengl: cache glscissor box only call glscissor if the box actually has changed, try to avoid state changes. * opengl: cache gluniform calls cache the gluniform calls, the uniform values are cached in driver per program only the drawcalls setting the uniform yet again with the same value on same location is causing more overhead then caching it ourself and just no oping on it if no changes. * shader: rewrite handling of uniforms and state this is way faster as we don't need to mess with maps (hashing, etc) and instead can just use an array * opengl: stuff and 300 shaders * opengl: typo * opengl: get the uniform locations properly now that the legacy shaders are gone get the uniformlocations for SKIP_CM etc, so they can be properly set and used depending on if cm_enabled is set to false or true, before it was falling back to a legacy shader that didnt even have those uniforms. * opengl: check epsilon on float and remove extra glcall seems an extra unset glcall was added, remove it. and check the float epsilon on the glfloat. * opengl: remove instanced shader draw remove the instanced boolean from the vertex shader, might be neglible differences, needs more benchmark/work to see if its even worth it. * texture: cache texture paramaters parameters where occasionally set twice or more on same texture, short version wrap it and cache it. and move gpu churn to cpu churn. add a bind/unbind to texture aswell. * texture: use fast std::array caching cache the texparameter values in fast array lookups and incase we dont want it cached, apply it anyways. * shader: fix typo and hdr typo actually use Matrix4x2fv in the 4x2fv cache function, and send the proper float array for hdr. * texture: make caching not linear lookup make caching of texture params not linear. * minor style changes * opengl: revert drawarrays revert the mostly code style reduce loc change of drawarrays, and focus on the caching. its a if else case going wrong here breaking blur/contrast amongst others drawing. --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* buffer: don't use crazy listener::emit()Vaxry2025-06-242-4/+11
|
* renderer/cm: Add automatic hdr (#9785)UjinT342025-06-235-68/+94
|
* config: add missing description for enforce_permissionsVaxry2025-06-231-0/+6
|
* hyprctl: print no open windows instead of invalid request on empty clientsVaxry2025-06-231-0/+3
|
* input: fix mouseDown triggering hl ops on locked (#10809)Vaxry2025-06-221-2/+2
|
* renderer: add wrapping options to renderTextureWithBlur method (#10807)zacoons2025-06-212-6/+8
|
* xwayland: Don't leave shell process (#10802)Vladimir-csp2025-06-211-1/+1
|
* treewide: hyprland.org -> hypr.landMihai Fufezan2025-06-203-3/+3
|
* xwayland: Fix crash when copying from wayland to xwayland (#10786)Jasson2025-06-196-128/+151
|
* config: nuke explicit_sync settingsVaxry2025-06-195-67/+5
| | | | were not used anymore, explicit is on by default
* renderer: make lock fail textures dynamically loadedVaxry2025-06-193-13/+41
| | | | this should reduce idle vram usage by a whopping 16MB, but also might fix the tty unknown issue.
* hookSystem: avoid using manual mem management, fix leakVaxry2025-06-192-15/+14
| | | | fixes #10790
* input: Fix incorrect localcoords with a surface above an XWayland window ↵7mile2025-06-181-1/+2
| | | | (#10773)
* permissions: properly print config requests for pluginsVaxry2025-06-184-15/+45
|
* plugins: don't update config plugins on state unchangedVaxry2025-06-182-1/+6
| | | | fixes #10781
* xwayland: fix minor errors in previous refactor (#10763)Jasson2025-06-181-36/+39
|
* grpupbar: Add config options to color inactive and locked groupbar titles ↵Jacob Ilias Komissar2025-06-165-11/+50
| | | | (#10667)
* asyncDialogBox: lock box in fdWrite to prevent a uaf (#10759)Vaxry2025-06-162-1/+10
|
* windowrules/move: clamp max pos in onscreen to avoid assert crashVaxry2025-06-161-2/+4
| | | | fixes #10760
* xwayland: Use RAII instead or freeing memory manually (#10677)Jasson2025-06-161-75/+78
| | | As suggested by clang-tidy
* protocols/cm: fix wp invalid luminance check (#10752)UjinT342025-06-151-1/+1
|
* protocols: support xdg-shell v7Vaxry2025-06-151-1/+1
| | | | there's nothing special we need to add for this rev
* config/monitor: Add monitor v2 HDR rules (#10623)UjinT342025-06-157-20/+108
|
* opengl: use a stack for storing monitor transform enabledVaxry2025-06-157-30/+48
| | | | fixes #10487
* internal: clean up dead snapshot codeVaxry2025-06-154-51/+6
|
* cursor: reset hc data after theme changeVaxry2025-06-151-1/+2
| | | | | | theme change invalidates the cairo surfaces there fixes #10636
* input: add sticky option for drag_lock (#10702)may2025-06-154-10/+11
| | | | | | | | * allow configuring the sticky option for `drag_lock` * enable sticky drag_lock by default as recommended by libinput recommended here: https://lists.freedesktop.org/archives/wayland-devel/2024-November/043860.html
* drm-lease: Add Multi-GPU Support (#10099)Joel-Valenciano2025-06-134-73/+111
|
* protocols: whitelist wp_color_manager_v1 for security_context (#10723)Otto Modinos2025-06-131-0/+1
| | | Now that `wine` (and `proton`) supports Wayland it makes sense to allow the `wp_color_manager_v1` in Flatpak for native HDR without the need for `gamescope`!
* renderer: fixup some missing fadeout cases with specialVaxry2025-06-114-29/+47
| | | | | | | | | | fixes some fadeout missing cases: - closing last window - closing above fs - closing in general fixes #10283
* input: grab the correct active workspace on mouseMoveVaxry2025-06-111-1/+1
| | | | fixes #10651
* anr: make dialog disappear if the app diesVaxry2025-06-111-0/+16
| | | | fixes #10514
* renderer: refuse rendering invalid resolutionsVaxry2025-06-111-0/+5
| | | | sometimes a driver fails to assign any reasonable mode in which case we might render 0x0 which will make us crash. Don't do that. Part 1 of #10678
* protocols/subcompositor: fixup place_above and _belowVaxry2025-06-111-22/+16
| | | | fixes #10716
* dwindle: add the ability to specify an aspect ratio for a singular window ↵Viktor2025-06-103-6/+44
| | | | (#10650)
* screencopy: fix incorrect noscreenshare positions with monitor scaling (#10674)Kamikadze2025-06-081-8/+5
|
* renderer: fix incorrect cursor position when screencopy region with monitor ↵Kamikadze2025-06-081-1/+1
| | | | scaling (#10675)
* internal: Use `using` instead of `#define` to alias smart pointers (#10673)Kamikadze2025-06-081-4/+6
|
* monitor: ensure autoDir is applied when changed (#10672)Kamikadze2025-06-072-0/+3
|
* input: support configuring drag_3fg from libinput (#10631)Ufuk Ustali2025-06-063-0/+13
|
* config: Restore auto-center-* for monitors (#10660)UjinT342025-06-061-1/+11
|
* screencopy: fix applying `noscreenshare` to invisible special workspaces ↵XPhyro2025-06-051-1/+1
| | | | (#10628)
* config: add group: selector (#10588)Eric Li2025-06-052-3/+19
|
* config: add a new monitor v2 config syntax (#9761)UjinT342025-06-053-157/+322
|
* xwayland: fix xwayland -> wayland clipboard (#10646)Jasson2025-06-041-0/+1
|
* xwayland: pad pid with leading zeroes in lockfilevaxerski2025-06-041-2/+3
| | | | fixes #10652
* keybinds: add an option to respect gaps out for floating to movewindow (#9360)littleblack1112025-06-034-6/+26
|