|
|
|
@ -229,8 +229,8 @@ evt_time_get(unsigned int tm, Variant_st *v) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
EAPI void |
|
|
|
|
tsuite_evas_hook_init(void) |
|
|
|
|
static void |
|
|
|
|
_evas_hook_init(void) |
|
|
|
|
{ /* Pointer taken from tsuite.c */ |
|
|
|
|
shot_key = getenv("TSUITE_SHOT_KEY"); |
|
|
|
|
if (!shot_key) shot_key = SHOT_KEY_STR; |
|
|
|
@ -247,8 +247,8 @@ tsuite_evas_hook_init(void) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
EAPI void |
|
|
|
|
tsuite_evas_hook_reset(void) |
|
|
|
|
static void |
|
|
|
|
_evas_hook_reset(void) |
|
|
|
|
{ /* tsuite.c informs us that vr_list is no longer valid */ |
|
|
|
|
if (vr_list) |
|
|
|
|
vr_list = free_events(vr_list, _hook_setting->recording); |
|
|
|
@ -264,8 +264,8 @@ tsuite_evas_hook_reset(void) |
|
|
|
|
* |
|
|
|
|
* @ingroup Tsuite |
|
|
|
|
*/ |
|
|
|
|
void |
|
|
|
|
tsuite_shot_do(char *name, Evas *e) |
|
|
|
|
static void |
|
|
|
|
_shot_do(char *name, Evas *e) |
|
|
|
|
{ |
|
|
|
|
if (!e) |
|
|
|
|
return; |
|
|
|
@ -370,7 +370,7 @@ ecore_init(void) |
|
|
|
|
if (initing) |
|
|
|
|
{ |
|
|
|
|
if (_hook_setting->recording) |
|
|
|
|
tsuite_evas_hook_init(); |
|
|
|
|
_evas_hook_init(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return ret; |
|
|
|
@ -391,7 +391,7 @@ ecore_shutdown(void) |
|
|
|
|
if (vr_list && _hook_setting->recording) |
|
|
|
|
write_events(_hook_setting->file_name, vr_list); |
|
|
|
|
|
|
|
|
|
tsuite_evas_hook_reset(); |
|
|
|
|
_evas_hook_reset(); |
|
|
|
|
|
|
|
|
|
free(_hook_setting); |
|
|
|
|
_hook_setting = NULL; |
|
|
|
@ -817,7 +817,7 @@ tsuite_feed_event(void *data) |
|
|
|
|
printf("%s take shot timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas); |
|
|
|
|
#endif |
|
|
|
|
if (rect) evas_object_color_set(rect, 0, 0, 255, 255); |
|
|
|
|
tsuite_shot_do(NULL, |
|
|
|
|
_shot_do(NULL, |
|
|
|
|
eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */ |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|