Arda Atci
367643e98a
Merge branch 'yshui:next' into next
2023-08-16 05:24:15 +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
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
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
Arda Atci
a5c4095082
Merge remote-tracking branch 'yshui/next' into next
2023-07-14 02:45:02 +03: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
Arda Atci
15aa5014a6
Merge branch 'yshui:next' into next
2023-06-20 22:36:05 +03: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
Maxim Solovyov
a5591b33a6
github: update actions' checkout to v3
...
addresses this annotation:
Node.js 12 actions are deprecated. Please update the following actions
to use Node.js 16: actions/checkout@v2. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ .
2023-06-18 21:33:16 +03:00
Maxim Solovyov
b1cae3d367
github: update codeql action's init, autobuild and analyze to v2
...
addresses this annotation:
This version of the CodeQL Action was deprecated on January 18th, 2023,
and is no longer updated or supported. For better performance, improved
security, and new features, upgrade to v2. For more information, see
https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
partially addresses this annotation:
Node.js 12 actions are deprecated. Please update the following actions
to use Node.js 16: actions/checkout@v2, github/codeql-action/init@v1,
github/codeql-action/autobuild@v1, github/codeql-action/analyze@v1. For
more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ .
2023-06-18 21:27:31 +03:00
Maxim Solovyov
15667d6b6e
backend: gl: remove references to the glx backend
2023-06-18 19:34:53 +03:00
Maxim Solovyov
689321419b
backend: egl: remove references to the glx backend
2023-06-18 19:30:01 +03:00
Yuxuan Shui
dd85c3e175
Merge pull request #1001 from absolutelynothelix/improve-getting-root-back-pixmap
2023-06-18 16:55:02 +01:00
Maxim Solovyov
a377d12a66
x: add a comment on the _XSETROOT_ID root window property usage
2023-06-18 16:09:29 +03:00
Maxim Solovyov
550518c5d1
x: rewrite x_get_root_back_pixmap using root back pixmap atoms
...
and remove the now unused background_props_str constant
2023-06-18 15:45:06 +03:00