1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-28 18:07:55 -04:00
picom/src
Yuxuan Shui bd26302f07
backend: embed backend_operations table in backend_base
The idea is to allow backend plugins to override backend functions by
modifying this table. Right now, when they do this they are actually
changing a global variable and their change will persist after backend
resets (!). Store the table inside backend_base solves this problem.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-25 11:08:52 +01:00
..
backend backend: embed backend_operations table in backend_base 2024-05-25 11:08:52 +01:00
fuzzer c2: add a libfuzzer fuzzer for c2 2024-02-17 16:48:58 +00:00
renderer backend: embed backend_operations table in backend_base 2024-05-25 11:08:52 +01:00
api.c api: introduce the concept of backend specific plugins 2024-05-25 11:08:49 +01:00
api_internal.h api: introduce the concept of backend specific plugins 2024-05-25 11:08:49 +01:00
atom.c atom: fix segfault when atom is not in the cache 2024-02-19 21:48:35 +00:00
atom.h atom: add a mock for struct atom 2024-02-18 19:38:48 +00:00
c2.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
c2.h inspect: fix reporting of matched rules 2024-05-19 22:56:15 +01:00
cache.c cache: zero initialize the key string 2024-02-18 01:16:58 +00:00
cache.h cache: support string without a NUL terminator 2024-02-18 00:56:20 +00:00
common.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
compiler.h plugin: export backend_register 2024-05-25 11:08:42 +01:00
config.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
config.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
config_libconfig.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
dbus.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
dbus.h dbus: make cdbus a bit more self-contained 2024-03-26 12:40:11 +00:00
diagnostic.c backend: embed backend_operations table in backend_base 2024-05-25 11:08:52 +01:00
diagnostic.h picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00:00
err.h Failure of config file parsing is a hard failure 2019-02-13 02:05:01 +00:00
event.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
event.h core: split out event code 2019-03-23 14:35:22 +00:00
file_watch.c fix a bunch of typos in comments 2024-01-31 06:09:28 +03:00
file_watch.h core: watch for configuration file changes 2019-11-10 18:58:01 +00:00
inspect.c config: store config file path in struct options 2024-05-21 06:05:21 +01:00
inspect.h build: make libconfig mandatory 2024-04-20 16:25:08 +01:00
kernel.c fix a bunch of typos in comments 2024-01-31 06:09:28 +03:00
kernel.h backend: gl: use gaussian blur for shadow 2022-09-18 05:00:52 +01:00
list.h cache: redesign 2024-02-16 00:38:38 +00:00
log.c options: refactor option parsing 2024-05-12 17:16:02 +01:00
log.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
meson.build plugin: add picom API headers 2024-05-25 11:08:43 +01:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c backend: prepare to pluginify the backends 2024-05-25 11:08:37 +01:00
opengl.h backend: gl: don't force fbconfig info on to heap 2024-02-14 19:42:40 +00:00
options.c config: support loading plugins 2024-05-25 11:08:39 +01:00
options.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
picom.c backend: embed backend_operations table in backend_base 2024-05-25 11:08:52 +01:00
picom.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
picom.modulemap rename: fix the name of the modulemap file 2019-10-24 19:41:35 +01:00
region.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
render.c plugin: add picom API headers 2024-05-25 11:08:43 +01:00
render.h backend: gl: don't force fbconfig info on to heap 2024-02-14 19:42:40 +00:00
rtkit.c core: support setting realtime priority using rtkit 2024-02-16 19:58:38 +00:00
rtkit.h core: support setting realtime priority using rtkit 2024-02-16 19:58:38 +00:00
script.c Add animation script 2024-05-19 22:04:07 +01:00
script.h Add animation script 2024-05-19 22:04:07 +01:00
statistics.c fix a bunch of typos in comments 2024-01-31 06:09:28 +03:00
statistics.h core: don't always delay schedule_render to vblank 2023-12-19 23:27:11 +00:00
string_utils.c string_utils: add asnprintf 2024-05-05 15:07:58 +01:00
string_utils.h config_libconfig: fix assertion failure on some locales 2024-05-20 11:39:04 +01:00
transition.c transition: remove unused functions 2024-05-19 22:04:17 +01:00
transition.h transition: remove unused functions 2024-05-19 22:04:17 +01:00
uthash_extra.h win: track windows with a hash table 2019-05-21 20:15:27 +01:00
utils.c utils: don't set realtime scheduling again if we already tried 2024-03-03 15:20:55 +00:00
utils.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
vblank.c core: disable realtime scheduling by default 2024-03-03 15:20:52 +00:00
vblank.h core: disable realtime scheduling by default 2024-03-03 15:20:52 +00:00
vsync.c core: isolate X connection with error handling into a struct 2023-07-04 16:24:53 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c backend: embed backend_operations table in backend_base 2024-05-25 11:08:52 +01:00
win.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
win_defs.h win: support animatable cropping 2024-05-19 22:04:30 +01:00
wm.c wm: add a function to count managed windows 2024-04-02 04:02:05 +01:00
wm.h wm: add a function to count managed windows 2024-04-02 04:02:05 +01:00
x.c backend: prepare to pluginify the backends 2024-05-25 11:08:37 +01:00
x.h plugin: add picom API headers 2024-05-25 11:08:43 +01:00
xrescheck.c Run clang-format 2019-03-10 12:35:38 +00:00
xrescheck.h Run clang-format 2019-03-10 12:35:38 +00:00