Arda Atci
fd18476f4b
Merge branch 'yshui:next' into next
2022-11-24 15:42:17 +03:00
Yuxuan Shui
0141bfb3a7
Merge pull request #940 from h7x4/add-egl-to-sample-config
2022-11-24 10:42:27 +00:00
h7x4
7360522e31
picom.sample.conf: Add egl to backend option doc
2022-11-24 00:08:37 +01:00
Arda Atci
8e3ff3d63b
Merge branch 'yshui:next' into next
2022-11-23 01:22:09 +03:00
Yuxuan Shui
6bcda50170
Merge pull request #930 from omar-polo/openbsd/mesa-p
2022-11-22 15:11:34 +00:00
Omar Polo
2d35f78dc3
backend: egl: don't assume glEGLImageTargetTexStorage exists
...
Use eglGetProcAddress instead.
Fixes #932
2022-11-22 15:07:09 +00:00
Yuxuan Shui
a9db7ab41e
win: fix leaking of the mask image
...
destroy_win_finish doesn't call win_release_images to free the images,
so we need to add a release_mask call there.
Related: #892
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-21 15:20:32 +00:00
Arda Atci
04b027d495
Merge pull request #9 from yshui/next
...
Merge yshui/next
2022-11-18 18:13:19 +03:00
Yuxuan Shui
ec02fc619c
Merge pull request #929 from omar-polo/fmt
...
Use proper printf directive for uint64_t
2022-11-18 14:30:32 +00:00
Omar Polo
5580f461dc
fix log_debug call
2022-11-18 10:13:49 +00:00
Yuxuan Shui
706acb78b7
backend: gl: handle blur context creation failure
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-17 22:16:52 +00:00
Yuxuan Shui
e61b3ea7a3
backend: gl: fix crash when shadow radius is 0
...
Fixes #927
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-17 22:13:22 +00:00
Yuxuan Shui
7233601be3
Fix typo
...
Fixes #922
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-16 15:40:10 +00:00
Yuxuan Shui
9d7cbe49f1
win: assert we won't clobber existing mask
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-15 18:03:31 +00:00
Arda Atci
b93ad16e5a
Merge remote-tracking branch 'yshui/next' into next
2022-11-11 20:18:17 +03:00
Yuxuan Shui
7d0d693ca7
backend: gl: fix shadow from mask
...
The intermediate texture used for shadow from mask calculation did not
properly set the min/mag filter to linear, which is required by the blur
methods. Because they use texture interpolation to accelerate
the convolution calculation.
Fixes #916
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-11 15:56:39 +00:00
Arda Atci
68b48617c7
Merge pull request #8 from Alpcho/next
...
rounded corner delay fix
2022-10-31 22:26:41 +03:00
Alp
59d5b95483
rounded corner delay fix
2022-10-31 22:24:45 +03:00
Arda Atci
0a49da1b91
Merge remote-tracking branch 'yshui/next' into next
2022-10-30 02:27:37 +03:00
Yuxuan Shui
abea823f5d
doc: remove mention of raw string pattern
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 20:59:28 +01:00
Yuxuan Shui
d59ec6a34a
Bump version number
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 20:44:02 +01:00
Yuxuan Shui
5ec79a0364
Merge pull request #877 from yshui/help-message
2022-10-29 19:52:15 +01:00
Yuxuan Shui
59de702ea8
options: improve usage message printing
...
Laying the usage message out by hand is tedious, also error prone
because the option names are duplicated at 2 places and have to be
consistent.
Create a struct to hold the option names and help messages, and
do layout programmatically.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 19:42:36 +01:00
Yuxuan Shui
9f04d824b7
Rename COMPTON_VERSION to PICOM_VERSION
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 19:31:12 +01:00
Arda Atci
260adcdc15
Merge branch 'yshui-next' into next
2022-10-25 01:31:35 +03:00
Arda Atci
4fbc9b33ad
small changes
2022-10-25 01:30:51 +03:00
Arda Atci
9e397ef4e9
small changes
2022-10-25 01:30:51 +03:00
Arda Atci
70c729d389
picom upto date sync with yshui, full anim support
2022-10-25 01:30:50 +03:00
Arda Atci
23c151c8dc
small changes
2022-10-25 01:24:44 +03:00
Arda Atci
b7434c7b76
small changes
2022-10-24 17:29:52 +03:00
Yuxuan Shui
2dae094981
Merge pull request #738 from stefanradziuk/transparent-clipping-ignore
...
Related #907 #663
2022-10-24 00:28:45 +01:00
Stefan Radziuk
2328b97c23
Exclude transparent-clipping-excluded windows from updating the ignored region
...
Transparent clipping interacts poorly with programs whose transparent
interface elements must show windows below them for functionality,
for example screenshot utilities.
2022-10-23 23:28:26 +01:00
Arda Atci
5a8da46952
Merge pull request #1 from yshui/next
...
win: fix leak in win_bind_mask
2022-10-10 20:01:50 +03:00
Yuxuan Shui
8a373c38a6
win: fix leak in win_bind_mask
...
Related: #905
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-10 13:55:26 +01:00
Arda Atci
f6b0b04f5b
picom upto date sync with yshui, full anim support
2022-10-04 00:24:05 +03:00
Yuxuan Shui
7107241519
meson.build: no -Wimplicit-fallthrough when building with clang
...
clang does not recognize the fallthrough annotation used in uthash.h, so we
change -Wimplicit-fallthrough to the single argument form currently only
supported by GCC.
We are still detecting implicit fallthroughs with GCC in CI.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-09-30 11:26:50 +01:00
Yuxuan Shui
c1dc11f59c
backend: egl: fix resource leak
...
Destroy context and surface as well in egl_deinit.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-09-29 19:09:59 +01:00
Yuxuan Shui
0fe4e0a1d4
Merge pull request #878 from yshui/egl
...
Add an experimental egl backend
2022-09-29 08:06:36 +01:00
Yuxuan Shui
b71a8420ca
options: add warning for using the egl backend
2022-09-29 08:03:21 +01:00
Yuxuan Shui
94183c8e03
README: add libEGL dependency
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-09-29 08:03:20 +01:00
Yuxuan Shui
5a72b5755d
backends: add egl backend
...
This needs the EGL_KHR_image_pixmap and the GL_EXT_EGL_image_storage
extensions, which unfortunately aren't available on NVIDIA cards.
Don't add documentation for these, for now.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-09-29 08:03:12 +01:00
Yuxuan Shui
5ac8b7fc56
backend: gl: use gaussian blur for shadow
...
dual kawase is fast but its blur size is coarse grained, which sometimes
makes the shadow ugly.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-09-18 05:00:52 +01:00
Yuxuan Shui
f2970bc697
Merge pull request #882 from yshui/shadow
2022-09-16 15:15:15 +01:00
Yuxuan Shui
95e5732d66
Merge pull request #881 from yshui/blur
...
Fix blur behind rounded corner windows
2022-09-16 15:14:35 +01:00
Yuxuan Shui
7ae89d6d62
Merge pull request #880 from yshui/mask
...
Fixes #783 , replaces #831
2022-09-16 15:13:52 +01:00
Yuxuan Shui
483aa4347c
backend: allocate mask only when necessary
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-31 07:00:59 +01:00
Yuxuan Shui
5d2f8d7456
backend: gl: fix visible seam in shadow at edge of windows
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-31 07:00:58 +01:00
Yuxuan Shui
8c14d5354c
backend: gl: fix mask being inverted
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-31 07:00:55 +01:00
Yuxuan Shui
a29caeaf3d
ackend: gl: implement shadow_from_mask
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-31 07:00:41 +01:00
Yuxuan Shui
9ac046c2ba
backend, win: create shadows with shadow_from_mask
...
Do this for shaped, and rounded windows.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-26 05:43:19 +01:00