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
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
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
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
Yuxuan Shui
7fc9436a0c
Merge pull request #1076 from absolutelynothelix/ci-xcb-util
2023-06-17 19:16:38 +01:00
Maxim Solovyov
c02a1e2a30
ci: install the xcb-util dependency
...
the xcb-util dependency that was introduced recently isn't installed by
the github's ci workflow what results in ci failures
2023-06-17 17:14:10 +03:00
Yuxuan Shui
8ee2162a1b
Merge pull request #1075 from Monsterovich/fix-event-handling
2023-06-17 00:33:46 +01:00
Monsterovich
73a366ffe0
Added xcb-util to README
2023-06-17 01:27:20 +02: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
Yuxuan Shui
e2ecef92ba
Merge pull request #1007 from absolutelynothelix/egl-allow-max-brightness
2023-06-16 18:48:11 +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
5e22434387
Merge pull request #1073 from EpsilonKu/patch-1
2023-06-15 14:08:56 +01:00
Kurenshe Nurdaulet
0deaa9a241
Update discord link
2023-06-15 13:23:49 +06:00
Yuxuan Shui
ac55ce7b56
Merge pull request #1004 from absolutelynothelix/egl-allow-windows-shaders
2023-06-14 00:34:18 +01:00
Yuxuan Shui
9956844647
backend: log more timing info
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-14 00:26:30 +01:00
Yuxuan Shui
037fd4c07b
Merge pull request #1022 from absolutelynothelix/xrescheck-xcb-composite-named-windows-pixmaps-test
2023-06-13 17:25:55 +01:00
Yuxuan Shui
6b80280af0
Merge pull request #1009 from absolutelynothelix/fix-gl-deinit-leak
2023-06-13 15:07:27 +01:00
Maxim Solovyov
223872bc7f
backend: dummy: do not leak owned pixmaps
...
free pixmaps which ownership was transferred to the backend
2023-06-12 23:41:25 +03:00
Maxim Solovyov
1e398b9c24
backend: dummy: fix a typo in the dummy_get_blur_size function
...
"reisze_region" => "resize_region"
2023-06-12 23:11:20 +03:00
Maxim Solovyov
8245de27ed
backend: gl: do not leak back and default mask textures
...
they're generated during backend initialization and now deleted during
deinitialization
2023-06-12 21:24:57 +03:00
Maxim Solovyov
5826adf853
backend: gl: remove gl_delete_texture function
...
it wasn't used and it's hard to call it a shortcut
2023-06-12 21:17:28 +03:00
Yuxuan Shui
5b6f6ecbf5
backend: egl: print egl error when eglCreateImage failed
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-12 12:03:37 +01:00
Yuxuan Shui
6af0251f2a
readme: add some badges and a link to our discord
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-12 12:00:39 +01:00
Yuxuan Shui
608423a5ce
Merge pull request #968 from yshui/pacing
2023-06-12 11:46:17 +01:00
Yuxuan Shui
d0c121ec83
core: print some timing info from draw_callback_impl
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-10 23:23:24 +01:00
Yuxuan Shui
6a69cdb002
options: add a no-frame-pacing option
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-10 14:33:57 +01:00
Yuxuan Shui
7d9692360b
core: use SCHED_RR scheduling
...
Make picom realtime to reduce latency, and make rendering times more
predictable to help pacing.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2023-06-10 14:33:45 +01:00