Commit Graph

137 Commits

Author SHA1 Message Date
Felix Dick bbdfb7853d Transform the box data send to texture shaders. 2022-10-07 20:55:41 +02:00
Vaxry 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
Vaxry bbeed21e62 fix crash 2022-10-01 08:54:43 +01: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
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
Felix Dick 10c4f4ba35 Shift splash up if monitor has wider ratio than bgTexture. 2022-09-29 05:29:03 +02:00
Felix Dick 5233746ac5 Change scaledBorderSize to int. 2022-09-29 01:40:19 +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 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
vaxerski e9f226797e Added monitor mirroring 2022-09-13 15:25:42 +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 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 ed2cacc5d5 fix styling in const ptrs 2022-08-27 21:37:35 +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 08e874bcf9 fix special workspace windows being xray with new optim 2022-08-20 20:16:04 +02:00
Vaxry bfe0f844d2 fix wallpaper pixelation in some cases 2022-08-13 22:33:51 +02:00
Vaxry db35a1c6d0 ensure egl is current in begin 2022-08-12 17:10:07 +02:00
Vaxry b178891ab3 compile shaders for every context separately 2022-08-11 20:29:21 +02:00
vaxerski 74cbfdcda4 guard zero border 2022-08-05 22:21:14 +02:00
vaxerski 3947fe9e9f simplify border rendering when rounding is 0 2022-08-04 17:21:01 +02:00
vaxerski 00747fc6df fix preWindowPass with floating as first 2022-08-01 20:32:46 +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
vaxerski 6378990bc3 fixes to the new blur system 2022-08-01 12:23:09 +02:00
vaxerski 070d7699a7 added decoration:blur_new_optimizations 2022-08-01 12:16:33 +02:00
vaxerski 46e18e08d1 contain for the hyprland default bg 2022-07-31 23:44:04 +02:00
vaxerski 575c3e071a fix ls fadeout on scaled 2022-07-31 17:20:33 +02:00
vaxerski 4211b37e22 added misc:damage_entire_on_snapshot 2022-07-30 22:26:46 +02:00
vaxerski 45747fb8e6 fix snapshots on scaled 2022-07-30 22:22:51 +02:00
vaxerski adeab98831 some window fadeout fixes 2022-07-30 22:07:40 +02:00
vaxerski 036be18bf5 fix shader fix 2022-07-30 19:00:38 +02:00
vaxerski e56699826f Optimize shaders 2022-07-29 17:07:33 +02:00