summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* groupbar fixes (#2630)MightyPlaza2023-07-031-4/+3
| | | | | | | | | | | | | | Fixes multiple groupbar decoration issues: - togglegroup removes fullscreen to avoid to avoid weird state - fixes issue where a group had multiple windows with head = true - fixes issue where merging 2 groups would cause a window to have 2 groupbar decorations - fixes issue where merging a group with more than 1 window into another group would make windows have no groupbar decoration - fixes issue where ungrouping windows could just move them into another group on the same workspace --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* shader: remove useless commentvaxerski2023-06-291-1/+0
|
* renderer: damage decos on damageWindowvaxerski2023-06-271-0/+3
|
* xwayland: send zero scaling to xwayland if enabledvaxerski2023-06-231-0/+2
|
* groupbar: fix damage calcsvaxerski2023-06-211-1/+1
|
* Fix crash when screen size is 0x0 (#2523)Shemig2023-06-151-3/+3
| | | | | | (When booting into laptop clam mode in dell XPS) and also ignore any screen with size 0x0 in the first place Co-authored-by: giladsx <gilad@spectalix.com>
* opengl: fix invalid tex references to tex-less shadervaxerski2023-06-141-6/+4
|
* shader: init uniforms to -1vaxerski2023-06-141-35/+35
|
* gamma: use wlr's new gamma manager eventvaxerski2023-06-141-0/+18
|
* screenshader: fix uniform variable checks (#2513)JManch2023-06-141-2/+2
|
* shadow: drop useless damageEntire()vaxerski2023-06-131-1/+0
|
* feat: add variable to customize locked group border color (#2507)memchr2023-06-131-8/+21
| | | | | added variables: - general:col.group_border_locked - general:col.group_border_locked_active
* xwayland: add force_zero_scalingvaxerski2023-06-112-6/+6
|
* xwayland: add nearest neighbor filtering as an optvaxerski2023-06-111-0/+6
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-115-50/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* zoom: multiply by scale only on mouseZoomUseMouse (#2495)Nicola Guerrera2023-06-101-3/+2
|
* screenshader: add output uniformvaxerski2023-06-102-5/+11
|
* calculate zoom_center based on monitor scale (#2482)Nicola Guerrera2023-06-101-1/+1
|
* internal: make borderSize prop overridablevaxerski2023-06-041-1/+1
|
* groupbars: fix damage calcsvaxerski2023-05-311-2/+3
|
* groupbars: add text color optvaxerski2023-05-271-1/+4
|
* pluginapi: add separate window render eventsvaxerski2023-05-261-0/+4
|
* launchanim: fix #2291vaxerski2023-05-241-2/+5
|
* groupbars: fix reserved area on titlesvaxerski2023-05-231-1/+3
|
* groupbars: make gradients toggleablevaxerski2023-05-221-1/+3
|
* groupbars: conserve VRAM by staticizing texturesvaxerski2023-05-222-14/+19
|
* groupbars: fix minor alignment issuesvaxerski2023-05-221-2/+3
|
* groupbars: add title and gradient renderingvaxerski2023-05-222-10/+217
|
* groupbar: make exclusivevaxerski2023-05-222-2/+14
|
* render: minor fixes to fullscreen renderingvaxerski2023-05-101-1/+1
|
* renderer,config: add custom DRM modeline support (#2254)Andrei Alexeyev2023-05-091-7/+32
| | | | | | | | | | | | | | This allows specifying custom display resolutions for the DRM backend. This is useful for display overclocking, working around broken EDIDs, etc. To use this feature, specify a modeline instead of a resolution in the config, for example: monitor = DP-1, modeline 1071.101 3840 3848 3880 3920 2160 2263 2271 2277 +hsync -vsync, 0x0, 1 This example is a custom 3840x2160@120Hz mode with tightened timings. I use it because the standard timings don't work with my monitor and GPU combination (M28U with RX580). The syntax is compatible with Sway and Xorg.
* opengl: don't use new optim with xray off on special tiledvaxerski2023-05-021-1/+2
|
* internal: fix -Wsign-compare and -Wunused-variable warningsvaxerski2023-05-021-1/+0
|
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-013-8/+10
| | | | | | | | | | | | | | | | | | | | | | * added some workspace-specific rules * added some worskpace-specific rules, with windowrule like syntax * monitor is not mandatory anymore * pointers to config are now static * fixed optional WorkspaceRule fields * Windows can now specify border size * removed CHyprOpenGLImpl::renderBorder borderSize default value * stuff --------- Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* renderer: fix misused size -> transformed sizevaxerski2023-05-011-1/+1
|
* Renderer: add init animationvaxerski2023-05-014-12/+39
|
* renderer: more checks for background LS optimizationsvaxerski2023-04-301-1/+1
|
* renderer: fix fadingout render on fsvaxerski2023-04-291-1/+1
|
* Revert "internal: include headers from protocols/"vaxerski2023-04-271-1/+1
| | | | | | This reverts commit 550700bed01c114b2a200ab177ed4bc295a2c7dd. We can't cuz meson
* internal: include headers from protocols/vaxerski2023-04-271-1/+1
|
* renderer: improvements to layer render detectionvaxerski2023-04-222-1/+9
|
* renderer: skip rendering bottom layers on fullscreen opaquevaxerski2023-04-221-5/+10
|
* opengl: keep current rendered workspace in renderDatavaxerski2023-04-172-2/+4
|
* events: add render event for pluginsvaxerski2023-04-171-0/+18
|
* Format: use %lx for all addressesvaxerski2023-04-171-5/+5
|
* Render: add cursor_zoomvaxerski2023-04-164-16/+59
|
* blur: fixup optimization boolvaxerski2023-04-161-3/+2
|
* renderer: fix incorrect shouldRenderWindow calcsvaxerski2023-04-141-5/+5
|
* renderer: workspace rendering improvementsvaxerski2023-04-122-20/+23
|
* renderer: fix incorrect delta calcvaxerski2023-04-121-1/+1
|