JManch
9a88c19f1a
screenshader: fix uniform variable checks ( #2513 )
2023-06-14 13:03:20 +02:00
vaxerski
0e31eaa157
shadow: drop useless damageEntire()
2023-06-13 18:50:45 +02:00
memchr
24ed9b061f
feat: add variable to customize locked group border color ( #2507 )
...
added variables:
- general:col.group_border_locked
- general:col.group_border_locked_active
2023-06-13 12:04:54 +02:00
6beb79f27b
xwayland: add force_zero_scaling
2023-06-11 21:52:13 +02:00
64ce06a353
xwayland: add nearest neighbor filtering as an opt
2023-06-11 21:33:59 +02:00
end-4
e1edfde539
Allow setting alpha value for ignorezero layer rule ( #2477 )
...
* 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
2023-06-11 19:30:31 +02:00
Nicola Guerrera
10fd75c833
zoom: multiply by scale only on mouseZoomUseMouse ( #2495 )
2023-06-10 23:00:41 +02:00
7932e42507
screenshader: add output uniform
2023-06-10 16:10:26 +02:00
Nicola Guerrera
003993337a
calculate zoom_center based on monitor scale ( #2482 )
2023-06-10 12:28:00 +02:00
d83e5b8409
internal: make borderSize prop overridable
2023-06-04 21:35:23 +02:00
9f72d508ae
groupbars: fix damage calcs
2023-05-31 19:53:58 +02:00
vaxerski
078ba6daa8
groupbars: add text color opt
2023-05-27 17:46:02 +02:00
vaxerski
9c9b74179c
pluginapi: add separate window render events
2023-05-26 13:07:45 +02:00
vaxerski
f877d68f4f
launchanim: fix #2291
2023-05-24 15:49:31 +02:00
vaxerski
799add8659
groupbars: fix reserved area on titles
2023-05-23 14:18:26 +02:00
vaxerski
90cb5fb672
groupbars: make gradients toggleable
2023-05-22 22:07:32 +02:00
vaxerski
d1ec314a03
groupbars: conserve VRAM by staticizing textures
2023-05-22 22:06:40 +02:00
vaxerski
7bcc01efb7
groupbars: fix minor alignment issues
2023-05-22 21:43:37 +02:00
vaxerski
206ac000b9
groupbars: add title and gradient rendering
2023-05-22 21:40:32 +02:00
vaxerski
1eb6cfd45c
groupbar: make exclusive
2023-05-22 20:52:41 +02:00
vaxerski
f2725a374a
render: minor fixes to fullscreen rendering
2023-05-10 18:36:13 +01:00
Andrei Alexeyev
2f87e4c2f3
renderer,config: add custom DRM modeline support ( #2254 )
...
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.
2023-05-09 14:01:45 +01:00
vaxerski
72b118cd8f
opengl: don't use new optim with xray off on special tiled
2023-05-02 21:23:53 +01:00
vaxerski
79791c9ed4
internal: fix -Wsign-compare and -Wunused-variable warnings
2023-05-02 14:53:31 +01:00
levnikmyskin
c949173bc9
Added some workspace-specific rules ( #1986 )
...
* 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>
2023-05-01 22:28:27 +01:00
vaxerski
11b7ce14f8
renderer: fix misused size -> transformed size
2023-05-01 02:53:43 +01:00
vaxerski
ddfeebad3d
Renderer: add init animation
2023-05-01 02:49:41 +01:00
vaxerski
02312cac59
renderer: more checks for background LS optimizations
2023-04-30 01:15:51 +01:00
vaxerski
2946221195
renderer: fix fadingout render on fs
2023-04-29 13:29:32 +01:00
vaxerski
1a1656ddbf
Revert "internal: include headers from protocols/"
...
This reverts commit 550700bed0
.
We can't cuz meson
2023-04-27 13:55:13 +01:00
vaxerski
550700bed0
internal: include headers from protocols/
2023-04-27 13:40:38 +01:00
vaxerski
49fb4cd94d
renderer: improvements to layer render detection
2023-04-22 12:54:57 +01:00
vaxerski
1911e4262b
renderer: skip rendering bottom layers on fullscreen opaque
2023-04-22 12:36:54 +01:00
vaxerski
1c50a11688
opengl: keep current rendered workspace in renderData
2023-04-17 23:47:12 +01:00
vaxerski
385fe4e301
events: add render event for plugins
2023-04-17 23:45:03 +01:00
vaxerski
8b3d8dc792
Format: use %lx for all addresses
2023-04-17 17:35:28 +01:00
vaxerski
b05ff89c76
Render: add cursor_zoom
2023-04-16 14:48:38 +01:00
vaxerski
28dfe21584
blur: fixup optimization bool
2023-04-16 14:18:02 +01:00
vaxerski
e329bc2c7b
renderer: fix incorrect shouldRenderWindow calcs
2023-04-14 15:16:43 +01:00
vaxerski
293df75b97
renderer: workspace rendering improvements
2023-04-12 13:05:57 +01:00
vaxerski
f00e11d457
renderer: fix incorrect delta calc
2023-04-12 12:50:20 +01:00
vaxerski
0fd09579a1
renderer: reset renderModif on fullscreen render
2023-04-12 12:45:16 +01:00
vaxerski
3ae33b951f
renderer: add support for rendering workspaces
2023-04-12 12:41:23 +01:00
vaxerski
3ade6c4a96
renderer: fixup damage repaint
2023-04-09 17:59:24 +01:00
vaxerski
24ace03780
internal: migrate to damage_ring
2023-04-07 12:18:40 +01:00
vaxerski
1a5d5bf620
deps: update wlroots
2023-04-06 21:03:53 +01:00
vaxerski
a80ba54bbc
renderer: don't use simple rect on alphazero stencil
2023-04-04 22:58:58 +01:00
vaxerski
e7185b338f
debug: minor improvements to manual crash
2023-04-04 22:04:32 +01:00
7d9977d028
debug: added manual_crash
2023-04-04 14:50:03 +01:00
vaxerski
99314fbe71
render: plug missing software cursor unlocks
2023-04-04 00:46:58 +01:00
Vaxry
0a099ca2ab
Hyprland Screencopy impl ( #1800 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-04-03 17:01:05 +01:00
vaxerski
de3b00b5ee
renderer: go back to rendering layers without reverse
2023-03-31 17:44:36 +01:00
vaxerski
614ea53ad7
Renderer: fix dim easing
2023-03-30 21:08:20 +01:00
vaxerski
3343aac6bf
feat: add forcergbx rule
2023-03-26 02:00:24 +01:00
vaxerski
c418007c68
shaders: fix missing discardAlphaZero
2023-03-24 19:43:50 +00:00
Vaxry
a80f8f257f
Feat: Introduce render_ahead_of_time ( #1863 )
2023-03-24 19:23:16 +00:00
staz
5ce91bb0fd
Added overflow check for blur radius ( #1847 )
...
* internal: added overflow check for blur radius
---------
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2023-03-21 19:01:24 +00:00
Vaxry
788a8f7c13
internal: wrap wlr surfaces ( #1822 )
2023-03-20 15:00:58 +00:00
vaxerski
928de33447
monitors: more guards for safety
2023-03-19 02:19:52 +00:00
vaxerski
e5870d47c7
LS: add blur and ignorezero rules
2023-03-17 23:16:13 +00:00
vaxerski
91a565c7b0
monitors: don't refocus on apply rule
2023-03-17 20:34:33 +00:00
vaxerski
e77ebec629
monitors: guard output in damageSurface
2023-03-16 16:32:03 +00:00
vaxerski
0aeb61a95a
Opengl: Fix forcefully setting missing time prop to final shader
2023-03-06 19:02:08 +00:00
scorpion-26
de5f1b2a83
Optionally expose time to screen shaders ( #1700 )
...
* Optionally expose time to screen shaders
Since that collides with damage tracking, it will only be done, when
damage tracking is disabled, meaning this comes at no cost for everyone
not using time.
* Rename m_Timer to m_tGlobalTimer
2023-03-05 14:05:30 +00:00
vaxerski
b69f40815f
opengl: use a passthru shader for final wlr copy
2023-03-04 14:59:27 +00:00
c444099325
Mirrors: remove accidentally leftover logs
2023-03-04 01:06:16 +00:00
1ead6c46f4
Mirrors: minor fixes
2023-03-04 00:48:22 +00:00
vaxerski
a34b747661
update wlroots dep
2023-03-03 21:28:22 +00:00
vaxerski
9c0e2bba54
Renderer: Nuke onWindowResize{start/end}
2023-03-03 13:18:44 +00:00
vaxerski
2187c6cf43
Allow decos to request interactivity
2023-02-28 22:32:42 +00:00
vaxerski
72fc309fb1
make window reserved area less stupid
2023-02-28 21:18:13 +00:00
vaxerski
4b20d4f1ad
Added decoration reserved area
2023-02-28 19:36:36 +00:00
Vaxry
8b81f41e52
Plugin System ( #1590 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-02-27 12:32:38 +00:00
Vaxry
e5a4c0c986
Group/Tab Rework ( #1580 )
2023-02-19 21:07:32 +00:00
Vaxry
1b56cc4e99
Added an Event Hook System ( #1578 )
...
* added an eventHookSystem
* Add all socket2 events to hooks
2023-02-19 20:54:53 +00:00
3fbef25ffc
refocus on monitor attach
2023-02-16 12:55:52 +00:00
wsippel
1992f27a26
ignore VR headsets ( #1555 )
...
* ignore VR headsets
don't interact with screens that have the non_desktop property set, fixes #1553
* remove superfluous curly braces
2023-02-15 14:50:51 +00:00
vaxerski
bda8208aaa
render lockscreen in fullscreenworkspace
2023-02-10 22:03:28 +00:00
vaxerski
1dde751da4
fixup LS fs-v1 calcs
2023-02-10 12:53:43 +00:00
8e6950e200
place sessionlock surfaces at correct coordinates
2023-02-03 14:00:23 +00:00
vaxerski
a46abd8b1a
update wlroots dep
2023-02-03 12:43:43 +00:00
vaxerski
129e99a6f6
Implement ext-session-lock-v1
2023-02-03 11:58:55 +00:00
ozwaldorf
32d56fec97
feat: border angle animations ( #1469 )
...
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2023-02-01 21:06:01 +00:00
85c07c2fe0
scale the opaque region in blurring
2023-01-31 12:29:23 +00:00
ef12120270
fixup LS scaling impl
2023-01-29 15:58:36 +00:00
vaxerski
3d83a0bc5f
enable UV calcs for all surfaces
2023-01-29 13:58:47 +00:00
06b17db227
don't set cursor when timeout reached
2023-01-26 10:39:06 +00:00
a2ae37396f
add hyprctl setprop
2023-01-24 19:05:43 +00:00
vaxerski
2a5ae435e1
allow preblur for opaque surfaces if alpha not 1
2023-01-23 13:55:11 +00:00
cb98242ea7
remove old comment and fixup lsl var name
2023-01-22 17:03:25 +01:00
147be3e10b
use goal size for uv calcs
2023-01-22 16:58:10 +01:00
7d754b7c22
fix cutting geometry on surfaces spilling out
2023-01-22 16:24:51 +01:00
Vaxry
60b880d931
wp-fractional-scaling-v1 impl ( #1373 )
...
* Initial fractional scaling impl
* apply UV after geom calcs
* fix scaling -> scale
* meson: add fractional scale proto
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-01-20 19:44:30 +01:00
3436486575
sanitize scale better
2023-01-20 16:03:52 +01:00
428063ff23
fix up log types
2023-01-18 16:12:44 +01:00
f14e808847
dump monitor data after setting rules
2023-01-17 11:57:36 +01:00
5c83976977
added misc:hide_cursor_on_touch
2023-01-17 11:47:39 +01:00
589046ecf7
fix dimaround with transformed displays
2023-01-16 16:12:24 +01:00
2b248b25c8
clamp a instead of asserting
2023-01-07 13:12:08 +01:00
96198dae55
Normalize color storage
...
Colors are now normalized to 0 - 1 values instead of 0 - 255
causes calculations to be simpler and generally cleans up the codebase.
2023-01-05 19:25:45 +01:00
ddcae74e09
normalize gradients and denormalize in groupbar
2022-12-31 17:31:33 +01:00
228e630f40
fix group bar color calc
2022-12-31 17:04:41 +01:00
5d095bb9e1
use curves for special dim anim
2022-12-29 12:30:43 +01:00
759490689c
fix damage issues with dimaround unmap
2022-12-29 12:19:11 +01:00
a55db95a3b
ignore dim when pass popup
2022-12-28 19:56:18 +01:00
a6699ef30c
added dimaround
2022-12-28 15:39:17 +01:00
b5f5c26be3
added dim_special
2022-12-28 15:18:23 +01:00
659a5195d4
render overlay layers in reverse
...
prevents stuff leaking when locked
2022-12-27 15:25:51 +01:00
vaxerski
6749c8abd7
fix dynamic monitor disables corrupting pmosthz
2022-12-22 12:15:07 +00:00
vaxerski
fc37ce4a72
render pinned windows above floating separately
2022-12-20 23:07:25 +00:00
vaxerski
4fd90144d1
touch up the clang format and format all files
2022-12-20 02:18:47 +00:00
vaxerski
a163ca9237
fix blur damage spam on no blurred windows
2022-12-18 12:41:19 +00:00
vaxerski
974739457f
remove damage_entire_on_snapshot
2022-12-17 23:05:15 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
3bd9ee0d32
minor xcursor and scale fixes
2022-12-15 17:17:15 +00:00
vaxerski
374571da96
add auto scale
2022-12-14 17:57:45 +00:00
vaxerski
80f58bc93f
fix blur damage issues with scaled
2022-12-12 14:29:04 +00:00
vaxerski
e8b99ae13a
add override to opacity rules
2022-12-11 17:15:02 +00:00
vaxerski
bb99f151da
fix pinned offset calc
2022-12-11 16:58:29 +00:00
vaxerski
f97289a3c0
fix rendering multi special ws
2022-12-11 16:53:59 +00:00
vaxerski
da76a1ed9e
block surface feedback on window sharing
2022-12-05 19:12:15 +00:00
vaxerski
9c67e08dbd
ignore alpha when sharing window
2022-12-05 18:00:57 +00:00
Vaxry
66fb083003
Implement window sharing with the hl toplevel export proto ( #1179 )
...
* implement window sharing
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-05 17:05:15 +00:00
Flafy
ffc580dda9
blur xray for layers ( #1158 )
...
* feat: apply blur_xray to non window surfaces
* don't blur optimize bottom and background layers
2022-12-04 20:57:41 +00:00
vaxerski
056a45d035
fix shader destroy id unset
2022-12-03 14:45:10 +00:00
vaxerski
10d34ef818
added blur_xray
2022-12-02 18:37:11 +00:00
39a4f82460
fix crash with invalid frag dynamic shaders
2022-12-01 13:40:05 +00:00
7b020ffa84
Added screen shaders
2022-12-01 13:36:07 +00:00
vaxerski
ff4ea1a13a
fix border inner offset in shader
2022-11-29 21:11:37 +00:00
vaxerski
51aebb2845
fix minor issues with blur w/o new optim
2022-11-29 11:21:03 +00:00
vaxerski
212f599412
fix AA on borders
2022-11-29 11:12:29 +00:00
vaxerski
55776df685
fix double free
2022-11-29 11:10:19 +00:00
vaxerski
3dd06b674a
clean up blur code and fix minor issues
2022-11-28 19:19:07 +00:00
vaxerski
c341792092
fix minor issues with blur_new_optimize
2022-11-28 19:04:30 +00:00
vaxerski
0a302901d2
Added handling more special workspaces
2022-11-27 22:42:22 +00:00
vaxerski
7699d657d9
optimize border shader
...
Do not calculate gradient for discarded fragments
2022-11-27 00:30:44 +00:00
vaxerski
6cbaad896c
use highp for pixcoord to fix nvidia border issues
2022-11-26 23:55:41 +00:00
vaxerski
0db75852f3
fix transformed border thickness
2022-11-26 20:36:05 +00:00
vaxerski
afe688e6ab
allow 360 degrees of freedom in gradients
2022-11-26 19:37:20 +00:00
vaxerski
c709dc5e8e
fix fadeout with animated border
2022-11-26 18:41:30 +00:00
vaxerski
684c59e5bc
optimize data feeding to gradient renderer
2022-11-26 18:09:57 +00:00
vaxerski
0948b078e1
added border gradients
2022-11-26 17:57:02 +00:00
vaxerski
1c9a0be8c4
fix up the border shader
2022-11-26 13:51:30 +00:00
vaxerski
381d7a4300
check for special workspace open in attemptDirectScanout
2022-11-25 18:25:04 +00:00
vaxerski
5327565b33
remove resize transitions
2022-11-22 17:20:58 +00:00
vaxerski
c78db1212b
Unify rounding shaders
2022-11-21 18:09:47 +00:00
Julian Schuler
41a8975bd1
Render focused window at last ( #1060 )
2022-11-20 18:50:01 +00:00
e887149f25
minor fixes for mirrors & log more monitor events
2022-11-19 13:01:32 +00:00
vaxerski
ba05c43ae3
minor monitor code fixups
2022-11-18 14:15:19 +00:00
vaxerski
c02bfc3897
fix extents in shadow deco
2022-11-16 15:35:36 +00:00
vaxerski
878a20741b
fix slide calcs for windows outside the viewport
2022-11-16 15:35:36 +00:00
vaxerski
f41fe59cb6
fix shadow extent & offset calculations
2022-11-09 22:39:19 +00:00
d0b3cdc835
Fix crashes with DS and mirrors
2022-11-09 10:56:49 +00:00
vaxerski
1d2e4243dc
clamp shadow scale to 1
2022-11-07 22:51:26 +00:00
vaxerski
2a20cf5379
Added decoration:shadow_scale
2022-11-07 21:27:28 +00:00
vaxerski
e3a3837164
fix up formatting
2022-11-07 20:31:56 +00:00
vaxerski
efbc3f8194
resize transition fixes + default transitions to false
2022-11-06 18:10:53 +00:00
vaxerski
f755351511
Fix resize transitions on multimon + transformed
2022-11-06 18:04:30 +00:00
vaxerski
57817f7252
Added resize transitions
2022-11-06 17:52:09 +00:00
vaxerski
5295244026
Revert adding toggle for drm scanout flags
...
This reverts commit 12697d2b72
.
Stupid idea.
2022-11-06 14:25:53 +00:00
vaxerski
082f439db2
fix issues with direct scanout's lack of surface frame feedback
2022-11-06 14:20:03 +00:00
vaxerski
12697d2b72
added toggle for drm scanout flags
2022-11-06 14:11:37 +00:00
vaxerski
5a750b485a
Added creating / destroying outputs on a multi-backend + headless backend
...
See `hyprctl output`.
2022-11-05 18:04:44 +00:00
vaxerski
6a59b57ef8
remove spammy logs for DS
2022-11-05 13:06:48 +00:00
vaxerski
f50c786640
Added direct scanout
2022-11-05 12:50:47 +00:00
c47581fc5a
handle transforming displays in outputMgr
2022-11-03 09:06:44 +00:00
vaxerski
5ac2005318
remove old comments
2022-11-02 14:52:36 +00:00
a2b8e3b34e
fix the damageBox in damageMonitor
2022-11-02 11:04:17 +00:00
vaxerski
95bbac8791
remove redundant check in CShader
2022-11-01 18:46:51 +00:00
vaxerski
d994ad75e8
revert output smart layout reporting
2022-10-29 17:32:03 +01:00
vaxerski
2caebb3b10
fix default 0 in box passing test
2022-10-29 14:37:33 +01:00
vaxerski
05f3eebd96
avoid layout changes when unnecessary in applyMonitorRule
2022-10-29 12:24:44 +01:00
vaxerski
ea7f617df6
remove redundant check
2022-10-28 22:33:47 +01:00
vaxerski
d193d70ecf
guard primaryFB tex in end()
2022-10-28 21:46:19 +01:00
7d6ccca695
add 10bit support to displays
2022-10-27 13:26:47 +01:00
vaxerski
d55338a3f5
fix debug nest black screen
2022-10-24 11:58:07 +01:00
vaxerski
47eac4be1c
disable adaptive sync with no_vfr off
2022-10-22 21:45:17 +01:00
vaxerski
2995867760
Transpose matrices on LEGACY_RENDERER
2022-10-22 21:10:49 +01:00
Kainoa Kanter
ca2d2db0ef
Add windowrules for noblur and noshadow ( #884 )
2022-10-20 20:36:27 +01:00
98a32f5e52
render layer snapshot without blur
2022-10-19 11:00:59 +01:00
vaxerski
dc1737f128
allow glob wildcard in addreserved
2022-10-17 23:23:07 +01:00
vaxerski
34cd8b125a
rework focus system to be more safe and faster
2022-10-14 20:46:32 +01:00
vaxerski
170def35d7
simplify shouldRenderWindow and fix one cond
2022-10-12 18:37:11 +01:00
vaxerski
2ee9fb0675
don't recalc offset on monitor reload offset auto
2022-10-12 15:16:31 +01:00
vaxerski
1396d2a39b
fix crash in renderWorkspaceWithFullscreenWindow
2022-10-11 20:29:51 +01:00
Felix Dick
7e781f24c5
Merge branch 'main' into simplify_matrix_calculations
2022-10-10 02:45:40 +02:00
Felix Dick
3bf7c5aea1
Change matrixProjection function stop use matrixFlip180 everywhere.
2022-10-10 01:35:42 +02:00
Felix Dick
092dbda88a
Let openGL transpose the matrixes for us.
2022-10-10 01:32:04 +02:00
vaxerski
496e37d044
ensure texture safety in clearWithTex()
2022-10-09 17:02:39 +01:00
Felix Dick
9ee78b1a92
inverse_transform the box in renderRectWithDamage.
2022-10-09 01:58:00 +02:00
Felix Dick
2f3528c076
Check earlier if pixman regions are empty.
2022-10-08 11:20:04 +02:00
Vaxry
4b779ac142
Merge pull request #811 from Dickby/add_missing_pixman_region32_fini
...
Add missing pixman_region32_fini.
2022-10-07 22:20:35 +01:00
vaxerski
abc2d442dd
fix a VRAM leak in destroyMonitorResources
2022-10-07 22:19:23 +01:00
Felix Dick
b64f1fc5c4
Add missing pixman_region32_fini.
2022-10-07 23:11:20 +02:00
vaxerski
33d264eaa7
release all fbs in destroyMonitorResources
2022-10-07 21:13:28 +01:00
Vaxry
5e3b8c3233
Merge pull request #807 from Dickby/fix_monitor_transforms
...
Transform the box data send to texture shaders.
2022-10-07 20:12:28 +01:00
Felix Dick
bbdfb7853d
Transform the box data send to texture shaders.
2022-10-07 20:55:41 +02:00
1468001d3b
offset floating windows out of bounds on ws anims
2022-10-07 12:34:54 +01:00
7faa3c367d
Added clipping support, clip windows on slide anim
2022-10-07 10:43:51 +01:00
Felix Dick
e8be1507ef
Remove texcoord from QUADFRAGSRC.
...
texcoord is unused in the rounding part of the textureshaders.
QUADFRAGSRC isn't using that variable inside the non rounding code.
Because of that opengl optimizes that variable out, and is complaining
if glGetAttribLocation is called on it.
2022-10-05 00:04:32 +02:00
Vaxry
7bdfdaa28a
Merge pull request #742 from Dickby/rework_rounding_shader
...
Rework rounding shader
2022-10-04 14:17:16 +01:00
bbeed21e62
fix crash
2022-10-01 08:54:43 +01:00
Felix Dick
c6333ba796
Remove unused ignoreCorners variable from texture shaders.
2022-10-01 03:30:58 +02:00
Felix Dick
6fe103cf06
Cut the number of pixels that call length() in half.
2022-10-01 03:14:13 +02:00
Felix Dick
71733f68ef
Merge branch 'fix_rounding_in_size_changing_windows' into rework_rounding_shader
2022-10-01 01:35:13 +02:00
vaxerski
7579e03b64
include shaders only in opengl.cpp
2022-09-30 18:38:10 +01:00
vaxerski
1ef23a304a
remove redundant attrib setting
2022-09-30 17:04:33 +01:00
vaxerski
3c27d1ab13
optimize vector config value setting
2022-09-30 17:03:14 +01:00
Felix Dick
d867d42366
Merge branch 'main' into fix_rounding_in_size_changing_windows
2022-09-30 01:38:50 +02:00
Felix Dick
6eb7d00386
Send absolute screen coordinates to texture shaders.
2022-09-29 23:19:56 +02:00
Felix Dick
b38e7b596f
Don't pass bottomRight to textureShaders compute it within.
2022-09-29 21:10:05 +02:00
Felix Dick
ab42e4bccf
Merge branch 'main' into fix_bordersize_again
2022-09-29 14:29:03 +02:00
Felix Dick
425b07d1e5
Merge branch 'main' into rework_rounding_shader
2022-09-29 14:24:59 +02:00
Vaxry
dcf5e34bfa
Merge pull request #735 from Dickby/fix_splash_position
...
Splash position fix
2022-09-29 10:07:27 +01:00
Felix Dick
65fb526d5c
Even less branching (taken more or less from the border shader).
2022-09-29 06:56:17 +02:00
Felix Dick
10c4f4ba35
Shift splash up if monitor has wider ratio than bgTexture.
2022-09-29 05:29:03 +02:00
Felix Dick
a1319e5110
Merge branch 'main' into fix_bordersize_again
2022-09-29 01:42:28 +02:00
Felix Dick
5233746ac5
Change scaledBorderSize to int.
2022-09-29 01:40:19 +02:00
Felix Dick
0549aa193f
fixing your shit.
2022-09-28 23:33:18 +02:00
Felix Dick
168a326609
Merge branch 'main' into rework_rounding_shader
2022-09-28 23:11:11 +02:00
Felix Dick
11ee78f88b
Use double literals, don't cast a integer literal to double.
2022-09-28 20:08:41 +02:00
Felix Dick
7edbaea23d
Make the rounding texture shaders smaller and more efficient.
2022-09-28 18:40:04 +02:00
Felix Dick
5ff44467d7
Avoid 38 files to compile every time a shader is modified.
2022-09-28 14:48:05 +02:00
Felix Dick
87afc8c250
Replace clamp with max if there is no upper bound.
2022-09-26 21:10:24 +02:00
Felix Dick
cd2b2c4fba
Scale the border size, revert the window scaling according to border
2022-09-26 17:38:08 +02:00
Felix Dick
c48336aac3
Scale the cairo matrix to fit the monitor dimensions.
2022-09-26 06:35:00 +02:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
65fb0cf0f6
fix custom rules on null modelist
2022-09-24 13:10:11 +01:00
5101ddeff1
fix oopsies in rule code
2022-09-24 11:30:41 +01:00
Vaxry
abee2da5bd
Merge pull request #706 from DashieTM/main
...
Add "highest" mode to Monitor for autoconfiguration.
2022-09-23 16:50:24 +01:00
695411f1bd
don't decorate on only no gaps
2022-09-23 16:47:58 +01:00
Fabio Lenherr
c4e782ca5d
remove more silly mistakes
2022-09-22 00:50:23 +02:00
Fabio Lenherr
da2c2ddc21
remove empty line
2022-09-22 00:47:09 +02:00
Fabio Lenherr
5272588270
fix silly mistakes
2022-09-22 00:45:56 +02:00
Fabio Lenherr
215125bd66
add refreshrate or resolution preference
2022-09-22 00:22:39 +02:00
Fabio Lenherr
30d16373d0
fix Hz Log
2022-09-21 22:40:01 +02:00
Fabio Lenherr
c1feb683ce
added high to monitor resolution
2022-09-21 22:29:52 +02:00
Fabio Lenherr / DashieTM
d51c7ca135
change Preferred mode to use highest refreshrate
2022-09-20 23:41:03 +02:00
7a9423c782
better dwindle swapping with groups
2022-09-20 18:04:39 +01:00
85c7aaf155
fade control for fullscreen action on windows
2022-09-19 17:26:11 +01:00
7c809a3059
fullscreen animation en-nice-ment
2022-09-19 10:23:13 +01:00
dd61f88ed1
guard invalid FB allocs
2022-09-18 12:40:49 +01:00
cf32d28082
fix groupbar being wonk on scaled
2022-09-18 12:13:16 +01:00
vaxerski
e9f226797e
Added monitor mirroring
2022-09-13 15:25:42 +02:00
vaxerski
a09c614c2d
more forceRendering checks in shouldRenderWindow
2022-09-12 15:33:25 +02:00
vaxerski
864e227f5d
fix decos on pinned
2022-09-11 20:27:59 +02:00
vaxerski
d94fe3d063
added window pinning
2022-09-10 13:11:02 +02:00
vaxerski
49a55f136e
fix addreserved lag
2022-09-08 14:11:32 +02:00
vaxerski
5b5f36f494
fix transformed blur on new optimizations
2022-09-05 21:26:21 +02:00
vaxerski
3ea89e6171
fix splash positioning
2022-09-05 11:31:54 +02:00
vaxerski
3dd514a452
fix a damage issue with transformed blur
2022-09-04 23:08:04 +02:00
vaxerski
6afab12b91
fix blur on transformed displays
2022-09-04 19:27:38 +02:00
vaxerski
fbd2b4799d
Fix some more crimes against humanity
2022-09-03 22:49:52 +02:00
vaxerski
7f62cbc48a
Update wlroots dep
2022-09-01 11:24:15 +02:00
vaxerski
eb658dcb61
finally fixed transformed snapshots
2022-08-30 19:40:19 +02:00
vaxerski
48eb2e0d6f
Added window dimming
2022-08-30 12:46:17 +02:00
vaxerski
179562b646
fix dwindle groupbars
2022-08-29 19:52:35 +02:00
vaxerski
5726f394b1
fix subsurface UV handling on oversized windows
2022-08-28 14:43:25 +02:00
vaxerski
f5f99c6700
reset uv on invalid buffer source box
2022-08-28 14:32:06 +02:00
vaxerski
4203a61b69
minor fixes to the viewporter behavior
2022-08-28 10:41:47 +02:00
Vaxry
52c0ba544c
Viewporter implementaion ( #585 )
...
Implementation of the `wp_viewporter` core protocol and some bugfixes
2022-08-28 10:14:43 +02:00
vaxerski
ed2cacc5d5
fix styling in const ptrs
2022-08-27 21:37:35 +02:00
vaxerski
dbd774fedb
simplify a bit of code
2022-08-26 18:02:10 +02:00
vaxerski
f9b2aa5468
don't round popups
2022-08-23 16:54:32 +02:00
vaxerski
a9e34cba93
move monitor damage to separate funcs
2022-08-23 16:07:47 +02:00
vaxerski
52318692f0
clean up temp logic in snapshots
2022-08-22 13:38:40 +02:00
vaxerski
86be6c3884
fix LS snapshot rendering logic
2022-08-22 13:36:00 +02:00
vaxerski
9513031da3
fix a minor border issue
2022-08-20 22:45:30 +02:00
vaxerski
08e874bcf9
fix special workspace windows being xray with new optim
2022-08-20 20:16:04 +02:00
6cae44e2c0
fix custom rounding in shadow deco
2022-08-19 14:52:18 +02:00
Roger Roger
eca6e53bd7
Animate workspaces with fullscreen windows
2022-08-18 12:42:21 +02:00
Roger Roger
f2d3aecf00
Don't draw fullscreen windows on other monitors
2022-08-18 12:41:10 +02:00
Roger Roger
5a20573e91
Fix workspace animation showing on other monitors
2022-08-17 12:12:16 +02:00
bec7501365
fix borders on no_gaps_when_only
2022-08-16 16:19:52 +02:00
bfe0f844d2
fix wallpaper pixelation in some cases
2022-08-13 22:33:51 +02:00
db35a1c6d0
ensure egl is current in begin
2022-08-12 17:10:07 +02:00
37442db20e
destroy program in shader destructor
2022-08-11 20:33:35 +02:00
b178891ab3
compile shaders for every context separately
2022-08-11 20:29:21 +02:00
69db6207c0
don't damage in unsafe state
2022-08-10 23:14:53 +02:00
f64f94ca56
scale rounding in shadows
2022-08-10 18:29:37 +02:00
96f3b62429
multiply by scale in rounding
2022-08-10 18:22:01 +02:00
0162da7a7c
adjust curve size for scaled
2022-08-10 18:10:38 +02:00
1744be7bdd
log more in output cfg
2022-08-07 19:28:31 +02:00
vaxerski
74cbfdcda4
guard zero border
2022-08-05 22:21:14 +02:00
vaxerski
d72f1cc644
fix various shadow damage issues
2022-08-05 19:23:53 +02:00
vaxerski
e0ada97a24
support zwp_input_method_v2 popups
2022-08-05 17:07:01 +02:00
vaxerski
3947fe9e9f
simplify border rendering when rounding is 0
2022-08-04 17:21:01 +02:00
vaxerski
07f68bf72a
scale shadows properly
2022-08-04 11:18:33 +02:00
vaxerski
81308a9cc3
add position auto for mon config
2022-08-04 11:10:26 +02:00
vaxerski
587330d864
fix recursion bomb
2022-08-03 17:32:12 +02:00
vaxerski
179e5188a4
remove incorrect border thickness calc
2022-08-03 12:03:15 +02:00
vaxerski
02fbb3a417
fix preferred mode
2022-08-02 22:20:45 +02:00
vaxerski
00747fc6df
fix preWindowPass with floating as first
2022-08-01 20:32:46 +02:00
vaxerski
523023aec7
mark blur dirty on monitor damage
2022-08-01 20:28:20 +02:00
vaxerski
024752bbe3
fix new blur optimizations with non-full damage
2022-08-01 20:18:26 +02:00
vaxerski
e794de1f4d
guard texid in new optimized blur
2022-08-01 19:50:37 +02:00
vaxerski
cb36456f40
optimize new blur rendering
2022-08-01 15:32:20 +02:00
vaxerski
b90159c089
revert blur changes
2022-08-01 15:29:49 +02:00
vaxerski
0ba17d4da3
fix oopsie with optim
2022-08-01 15:28:14 +02:00
vaxerski
d6e227ae0d
don't stencil with new optimizations in blur
2022-08-01 15:24:42 +02:00