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
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
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
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
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
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
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
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
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
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
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
Maxim Solovyov
cbd2d4125c
x: rewrite x_is_root_back_pixmap_atom using root back pixmap atoms
2023-06-18 15:32:15 +03:00
Maxim Solovyov
fea1dc794c
atom: add atoms associated with the background pixmap
2023-06-18 14:57:50 +03:00
Maxim Solovyov
6b6a8da035
render: remove the unused background_props_str external constant
2023-06-18 14:55:22 +03:00
Monsterovich
043703e58f
Merge remote-tracking branch 'upstream/next' into fix-event-handling
2023-06-17 01:25:12 +02:00
Nikolay Borodin
c065ad1b8d
Refactored meson.build
2023-06-17 01:15:38 +02:00
Nikolay Borodin
56745b64d7
core: event code refactoring
2023-06-17 01:08:47 +02:00
Nikolay Borodin
07303ce2cb
core: added proper event handling for XESetWireToEvent
2023-06-16 23:54:37 +02:00
Yuxuan Shui
01bb26012c
Merge pull request #1000 from absolutelynothelix/set-texture-on-repeat
2023-06-16 19:02:27 +01:00
Maxim Solovyov
ecbc8b50ed
backend: xrender: set created picture to repeat when binding a pixmap
2023-06-16 19:42:36 +03:00
Maxim Solovyov
9f9cff3b06
options: unify unavailability reporting of some options
...
unify unavailability reporting of the max-brightness, window-shader-fg
and window-shader-fg-rule options
2023-06-16 18:36:02 +03:00
Maxim Solovyov
4d724047ef
options: handle max-brightness option better
...
allow it's use with the egl backend and report it's unavailability
better
2023-06-16 18:35:53 +03:00
Yuxuan Shui
ac55ce7b56
Merge pull request #1004 from absolutelynothelix/egl-allow-windows-shaders
2023-06-14 00:34:18 +01:00