path: root/src/modules
diff options
authorCarsten Haitzler (Rasterman) <>2019-09-14 18:47:20 +0100
committerCarsten Haitzler (Rasterman) <>2019-09-14 18:47:20 +0100
commitb8afba1e49ce6e3d1c4ae4e8161b5b7df2c9be5d (patch)
tree796d2aba3974cca68713f3907ccce8764726c4dc /src/modules
parent0d00264ca6e8d254bc20362aa48e6d93859d8fb5 (diff)
startup smoothing - smoothen startup with preload and defer to loop start
this moves a bunch of things that were being don after loop starts to before so they don't interrupt framerate as well as launch a thread that preloads file(s) - for now just edj theme files so stuff is pre-cached by the time loop starts later so we don't stall s much leading to smoother startup/fade in and better framerate. it's really visible (especially on my rpi3).
Diffstat (limited to 'src/modules')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/packagekit/e_mod_packagekit.c b/src/modules/packagekit/e_mod_packagekit.c
index d02a66b..dddba02 100644
--- a/src/modules/packagekit/e_mod_packagekit.c
+++ b/src/modules/packagekit/e_mod_packagekit.c
@@ -226,6 +226,8 @@ packagekit_popup_update(E_PackageKit_Instance *inst, Eina_Bool rebuild_list)
226 char buf[1024]; 226 char buf[1024];
227 Eina_List *l; 227 Eina_List *l;
228 228
229 if (!inst->popup_genlist) return;
229 if (inst->popup_help_mode) 231 if (inst->popup_help_mode)
230 inst->popup_help_mode = EINA_FALSE; 232 inst->popup_help_mode = EINA_FALSE;
231 233