int min_quality = 0;
int max_quality = 100;
int compress_mode = EET_COMPRESSION_DEFAULT;
+int threads = 0;
static void
main_help(void)
"-Ddefine_val=to CPP style define to define input macro definitions to the .edc source\n"
"-fastcomp Use a faster compression algorithm (LZ4) (mutually exclusive with -fastdecomp)\n"
"-fastdecomp Use a faster decompression algorithm (LZ4HC) (mutually exclusive with -fastcomp)\n"
+ "-threads Compile the edje file using multiple parallel threads\n"
,progname);
}
if (max_quality < 0) max_quality = 0;
if (max_quality > 100) max_quality = 100;
}
- else if ((!strcmp(argv[i], "-fastcomp")) && (i < (argc - 1)))
+ else if (!strcmp(argv[i], "-fastcomp"))
{
compress_mode = EET_COMPRESSION_SUPERFAST;
}
- else if ((!strcmp(argv[i], "-fastdecomp")) && (i < (argc - 1)))
+ else if (!strcmp(argv[i], "-fastdecomp"))
{
compress_mode = EET_COMPRESSION_VERYFAST;
}
+ else if (!strcmp(argv[i], "-threads"))
+ {
+ threads = 1;
+ }
else if (!strncmp(argv[i], "-D", 2))
{
defines = eina_list_append(defines, mem_strdup(argv[i]));
};
static int pending_threads = 0;
-int threads = 1;
static void data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, char* ptr, int len));