Evas filters: Add argument src for buffer declaration

Basically, in an edje file, we'll declare buffers manually,
using the "buffer:buf(src=part)" syntax.
This commit is contained in:
Jean-Philippe Andre 2014-02-05 19:25:14 +09:00
parent 28d469237b
commit 748501a5af
1 changed files with 5 additions and 0 deletions

View File

@ -1221,6 +1221,11 @@ _instruction_buffer_parse(Evas_Filter_Program *pgm, char *command)
alpha = EINA_FALSE;
else if (!strcasecmp(tok2, "alpha"))
alpha = EINA_TRUE;
else if (!strncasecmp("src=", tok2, 4))
{
src = tok2 + 4;
alpha = EINA_FALSE;
}
else
PARSE_CHECK(!"Invalid buffer type");
}