|
|
|
@ -143,6 +143,7 @@ static int _last_debug_src_cid = 0; |
|
|
|
|
static int _take_shot_op = EINA_DEBUG_OPCODE_INVALID; |
|
|
|
|
|
|
|
|
|
static Eina_Bool _stabilization_timer_cb(void *); |
|
|
|
|
static double _speed = 1.0; |
|
|
|
|
|
|
|
|
|
static Eina_Bool _exit_required = EINA_FALSE; |
|
|
|
|
|
|
|
|
@ -825,6 +826,11 @@ _src_open() |
|
|
|
|
last_action_type = act->type; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (_speed && _speed != 1) |
|
|
|
|
{ |
|
|
|
|
EINA_LIST_FOREACH(_src_unit->actions, itr, act) |
|
|
|
|
act->delay_ms /= _speed; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
@ -994,6 +1000,7 @@ static const Ecore_Getopt optdesc = { |
|
|
|
|
ECORE_GETOPT_STORE_TRUE(0, "disable-screenshots", "Disable screenshots."), |
|
|
|
|
ECORE_GETOPT_STORE_STR('f', "fonts-dir", "Specify a directory of the fonts that should be used."), |
|
|
|
|
ECORE_GETOPT_STORE_TRUE(0, "stabilize-shots", "Wait for the frames to be stable before taking the shots."), |
|
|
|
|
ECORE_GETOPT_STORE_DOUBLE(0, "speed", "Set the speed used to play the given test (default 1.0)."), |
|
|
|
|
ECORE_GETOPT_COUNT('v', "verbose", "Turn verbose messages on."), |
|
|
|
|
|
|
|
|
|
ECORE_GETOPT_LICENSE('L', "license"), |
|
|
|
@ -1022,6 +1029,7 @@ int main(int argc, char **argv) |
|
|
|
|
ECORE_GETOPT_VALUE_BOOL(_disable_shots), |
|
|
|
|
ECORE_GETOPT_VALUE_STR(fonts_dir), |
|
|
|
|
ECORE_GETOPT_VALUE_BOOL(_stabilize_shots), |
|
|
|
|
ECORE_GETOPT_VALUE_DOUBLE(_speed), |
|
|
|
|
ECORE_GETOPT_VALUE_INT(_verbose), |
|
|
|
|
|
|
|
|
|
ECORE_GETOPT_VALUE_BOOL(want_quit), |
|
|
|
|