Maxim Solovyov
751f30578e
readme: update the discord badge's link
2023-09-23 00:36:19 +03:00
Maxim Solovyov
fbc803b983
c2: address some clang-tidy issues, run clang-format
2023-09-15 00:57:33 +03:00
Maxim Solovyov
a9914cda11
log: address some clang-tidy issues, run clang-format
2023-09-15 00:47:41 +03:00
Maxim Solovyov
0cd72bf61a
opengl: address some clang-tidy issues
2023-09-15 00:43:15 +03:00
Maxim Solovyov
c6abb4e270
picom.sample.conf: remove the dbus option duplicate
...
closes #1128
2023-09-15 00:20:59 +03:00
Maxim Solovyov
d9e5795818
Merge pull request #1106 from absolutelynothelix/use-root-visual-and-depth-directly-in-xrender-init
...
backend: xrender: don't use root picture format in backend_xrender_init
2023-09-10 22:46:48 +03:00
Maxim Solovyov
9e6842c607
Merge pull request #1102 from absolutelynothelix/drop-kawase-blur-method
...
config: drop kawase blur method
2023-09-10 22:44:56 +03:00
Maxim Solovyov
8cc5090a6c
string_utils: address some clang-tidy issues
2023-08-11 01:47:43 +03:00
Maxim Solovyov
f773e723be
options: address some clang-tidy issues
2023-08-11 01:40:47 +03:00
Maxim Solovyov
34024092d7
picom: address some clang-tidy issues
2023-08-11 01:38:22 +03:00
Maxim Solovyov
ae3c77b1a5
render: address some clang-tidy issues
2023-08-11 01:15:20 +03:00
Maxim Solovyov
c8627989ad
win: address some clang-tidy issues, run clang-format
2023-08-11 01:09:56 +03:00
Maxim Solovyov
72ede90147
dbus: address some clang-tidy issues
2023-08-11 01:04:58 +03:00
Maxim Solovyov
b528b87cc8
kernel: address some clang-tidy issues
2023-08-11 00:50:57 +03:00
Maxim Solovyov
8c29fb046b
region: address some clang-tidy issues, run clang-format
2023-08-11 00:47:14 +03:00
Maxim Solovyov
5d6957d3da
Merge pull request #1108 from absolutelynothelix/synchronize-readme-and-ci-packages
...
synchronize packages in readme with packages installed by ci
2023-08-03 23:19:32 +03:00
Maxim Solovyov
013c03c9a5
don't require the libevdev-dev package in readme and install by ci
...
it doesn't seem to be used
2023-08-03 22:58:02 +03:00
Maxim Solovyov
fd15a05166
synchronize packages in readme with packages installed by ci
...
some packages installed by ci were not listed (e.g. libxcb-util-dev) or
different (e.g. libgl1-mesa-dev) in readme
2023-08-03 22:48:08 +03:00
Maxim Solovyov
7713432927
backend: xrender: don't use root picture format in backend_xrender_init
...
use root visual and depth directly instead
2023-08-03 01:27:27 +03:00
Maxim Solovyov
6f868e54b9
meson.build: sort required packages alphabetically
...
and add a comment on why some xcb packages are in the required_packages
array instead of the required_xcb_packages one
2023-07-22 15:28:07 +03:00
Maxim Solovyov
d03cb4ea24
config_libconfig: address some clang-tidy issues, run clang-format
2023-07-22 02:17:13 +03:00
Maxim Solovyov
4a8b937c90
config: refactor the parse_blur_method function
...
sort blur methods alphabetically and address some clang-tidy issues
2023-07-22 01:19:22 +03:00
Maxim Solovyov
2c83fb821b
config: drop kawase blur method
...
it was added with intention to remove it later almost three years ago in
33c5a5a36b
2023-07-22 01:04:18 +03:00
Maxim Solovyov
bd47a47275
config: address some clang-tidy issues
2023-07-22 00:51:46 +03:00
Maxim Solovyov
599594465c
backend: address some clang-tidy issues
2023-07-22 00:22:02 +03:00
Maxim Solovyov
dc8def0492
backend: gl: address some clang-tidy issues
2023-07-22 00:16:31 +03:00
Maxim Solovyov
8eff87f2a3
backend: glx: address some clang-tidy issues, run clang-format
2023-07-22 00:11:21 +03:00
Yuxuan Shui
5c03f101f2
Merge pull request #1094 from absolutelynothelix/dual-kawase-optimizations
2023-07-16 13:44:38 +00:00
Yuxuan Shui
961dc998dd
Merge pull request #1095 from absolutelynothelix/resize-factor
2023-07-06 14:42:56 +01:00
Maxim Solovyov
e8477e0a73
backend: fix resize factor calculation
...
the corresponding regions need to be resized once for each window in the
stack above the damaged window including the damaged window itself. we
were off by one.
2023-07-06 16:20:38 +03:00
Maxim Solovyov
5c00ccf4d1
backend: gl: bind default mask texture once in gl_dual_kawase_blur
...
and set it's uniforms once as well
2023-07-04 22:12:08 +03:00
Maxim Solovyov
0f4cd33b35
backend: gl: bind vertex array objects once in gl_dual_kawase_blur
2023-07-04 21:55:32 +03:00
Yuxuan Shui
4a39423edb
Merge pull request #1093 from absolutelynothelix/gl-stream-draw
2023-07-04 19:43:36 +01:00
Maxim Solovyov
7a45e35ca0
backend: gl: set usage of buffer objects to GL_STREAM_DRAW
...
it pretty much describes how we use buffer objects now
reference: https://docs.gl/gl3/glBufferData
2023-07-04 21:16:34 +03:00
Yuxuan Shui
3d82e76d4b
Merge pull request #1010 from absolutelynothelix/update-contributors-list
2023-07-04 17:08:06 +01:00
Maxim Solovyov
a5f0ac3cbd
Merge pull request #1087 from yshui/struct-x-connection
...
core: isolate X connection with error handling into a struct
2023-07-04 18:38:46 +03:00
Yuxuan Shui
6bd780f10f
x: don't abort in release for double freeing a xrender picture
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-07-04 16:25:08 +01:00
Yuxuan Shui
1307d9ec70
core: isolate X connection with error handling into a struct
...
Part of the long running effort to reduce the prevalence of `session_t`.
After this, functions that communicate with X can make use of the error
handling machinary (set_ignore_cookie, set_cant_fail_cookie) without
needing to take a `session_t` parameter.
This commit converts everything to use the new struct `x_connection`,
most of the conversions are mechanical.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-07-04 16:24:53 +01:00
Monsterovich
4e6dddc76e
win: don't re-bind mask image when there is already one
...
Co-authored-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-29 23:28:45 +01:00
Maxim Solovyov
d4f72828f7
gitmodules: remove the .gitmodules file
...
it's unused because we don't have any submodules
2023-06-28 21:30:59 +03:00
Maxim Solovyov
d044e3e386
readme: simplify build instructions
...
don't initialize submodules (we don't have any) and specify the source
directory explicitly (assume that the current directory is the source
one)
2023-06-28 21:21:45 +03:00
Maxim Solovyov
6496f75359
update contributors list
...
it's (almost) automatically generated from the git log and the
contributors' emails are (trivially) obfuscated
2023-06-27 17:59:57 +03:00
Maxim Solovyov
d08b6092a3
win: don't include GL/gl.h
...
it seems unused and removing it addresses a fixme
2023-06-26 18:01:22 +03:00
Maxim Solovyov
0bb45d50d6
Merge pull request #1083 from yshui/freebsd-sched-fix
...
core: don't check RLIMIT_RTPRIO
2023-06-26 16:06:10 +03:00
Yuxuan Shui
f8cdc81635
core: add comment to set_rr_scheduling
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-26 13:25:53 +01:00
Yuxuan Shui
f6625198ba
Merge pull request #1080 from absolutelynothelix/address-github-workflow-run-annotations
2023-06-25 18:41:30 +01:00
Yuxuan Shui
e0c14f63c6
core: don't use pthread functions
...
Don't use pthread_{set,get}schedparam, which requires -lpthread. Use
sched_setscheduler/sched_getparam instead, which is provided by libc.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-24 02:59:04 +01:00
Yuxuan Shui
9295f7e4c7
core: don't check RLIMIT_RTPRIO
...
FreeBSD doesn't have RLIMIT_RTPRIO. So instead we skip this check and
just always try to set our priority to the lowest SCHED_RR priority
available.
Fixes #1082
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-24 02:51:07 +01:00
Yuxuan Shui
b85272312a
Merge pull request #1011 from absolutelynothelix/decouple-glx-and-egl-backends
2023-06-19 10:19:23 +01:00
Maxim Solovyov
4911cbc24a
github: don't checkout the head of a pull request
...
addresses this annotation:
1 issue was detected with this workflow: git checkout HEAD^2 is no
longer necessary. Please remove this step as Code Scanning recommends
analyzing the merge commit for best results.
2023-06-18 21:37:41 +03:00