{
char ret = 0;
fbsplash_profile("cmd_paint: handler entry point\n");
pthread_mutex_lock(&mtx_paint);
fbsplash_profile("cmd_paint: mutex locked\n");
if (!theme) {
ret = -1;
goto out;
fbsplashr_render_screen(theme, false, false, FBSPL_EFF_NONE);
out:
pthread_mutex_unlock(&mtx_paint);
fbsplash_profile("cmd_paint: exit point\n");
return ret;
}