picom/src
Yuxuan Shui 5e49ab0861
Make sure draw_idle is stopped in all cases
Previously, compton fails to stop draw_idle in some cases when sw_opti
is enabled.

sw_opti is a feature that limits the draw frequence to vblank frequence.
It adds a delay to drawing when the screen is updated more frequently
than the vblank frequence. However when the delay is not used (i.e. the
screen is updated infrequent enough), compton will start drawing the
frame directly without using the delay. And specically in this case,
compton will fail to stop the draw_idle, causing a callback to be called
once per loop of the mainloop, resulting in high CPU usage.

Fixes #92

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-01-25 00:35:24 +00:00
..
backend Even more includes 2019-01-20 22:09:22 +00:00
c2.c Even more includes 2019-01-20 22:09:22 +00:00
c2.h Clean up options/config file parsing 2018-12-21 17:21:52 +00:00
common.h Improve the header includes, cont'd 2019-01-20 17:10:06 +00:00
compiler.h Add compiler dependent macros for thread_local 2018-12-20 00:46:38 +00:00
compton.c Make sure draw_idle is stopped in all cases 2019-01-25 00:35:24 +00:00
compton.h Even more includes 2019-01-20 22:09:22 +00:00
compton.modulemap Even more includes 2019-01-20 22:09:22 +00:00
config.c Even more includes 2019-01-20 22:09:22 +00:00
config.h Even more includes 2019-01-20 22:09:22 +00:00
config_libconfig.c Even more includes 2019-01-20 22:09:22 +00:00
dbus.c Even more includes 2019-01-20 22:09:22 +00:00
dbus.h Remove a couple of unwanted options 2018-12-20 23:44:38 +00:00
diagnostic.c Even more includes 2019-01-20 22:09:22 +00:00
diagnostic.h Add --diagnostics option 2018-11-03 22:37:18 +00:00
kernel.c Improve the header includes, cont'd 2019-01-20 17:10:06 +00:00
kernel.h Speed up shadow generation for small windows 2019-01-01 11:35:59 +00:00
log.c Even more includes 2019-01-20 22:09:22 +00:00
log.h Remove printf_* macros 2018-12-20 17:36:23 +00:00
meson.build Refactor the XSync fence code 2018-12-30 07:06:47 +00:00
opengl.c Even more includes 2019-01-20 22:09:22 +00:00
opengl.h Even more includes 2019-01-20 22:09:22 +00:00
options.c Even more includes 2019-01-20 22:09:22 +00:00
options.h Make --logpath work again 2018-12-21 22:59:21 +00:00
region.h Even more includes 2019-01-20 22:09:22 +00:00
render.c Even more includes 2019-01-20 22:09:22 +00:00
render.h Even more includes 2019-01-20 22:09:22 +00:00
string_utils.c Move rendering related functions out of compton.c 2018-12-16 00:50:46 +00:00
string_utils.h Improved allocation failure reporting 2018-12-20 14:19:10 +00:00
types.h Fix signedness of x properties 2018-11-01 11:12:46 +00:00
utils.c Even more includes 2019-01-20 22:09:22 +00:00
utils.h Improve the header includes, cont'd 2019-01-20 17:10:06 +00:00
vsync.c Even more includes 2019-01-20 22:09:22 +00:00
vsync.h Move rendering related functions out of compton.c 2018-12-16 00:50:46 +00:00
win.c Even more includes 2019-01-20 22:09:22 +00:00
win.h Even more includes 2019-01-20 22:09:22 +00:00
x.c Even more includes 2019-01-20 22:09:22 +00:00
x.h Improve the include situation 2019-01-18 23:30:44 +00:00
xrescheck.c Convert printf_errf/dbgf in several files 2018-12-20 16:54:51 +00:00
xrescheck.h Sort out license problems 2018-10-03 22:14:51 +01:00