diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c index 0b64b77028..d1546e6b59 100644 --- a/src/lib/evas/filters/evas_filter_parser.c +++ b/src/lib/evas/filters/evas_filter_parser.c @@ -1716,6 +1716,9 @@ evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Object *eo_obj, } } + // Compute and save padding info + evas_filter_program_padding_get(pgm, &ctx->padl, &ctx->padr, &ctx->padt, &ctx->padb); + dc = ENFN->context_new(ENDT); ENFN->context_color_set(ENDT, dc, 255, 255, 255, 255); diff --git a/src/lib/evas/filters/evas_filter_private.h b/src/lib/evas/filters/evas_filter_private.h index a3c911b74c..5dd0c71143 100644 --- a/src/lib/evas/filters/evas_filter_private.h +++ b/src/lib/evas/filters/evas_filter_private.h @@ -45,7 +45,10 @@ struct _Evas_Filter_Context Eina_List *buffers; // Evas_Filter_Buffer * int last_buffer_id; int last_command_id; - int w, h; // Change at each run + + // Variables changing at each run + int w, h; // Dimensions of the input/output buffers + int padl, padt, padr, padb; // Padding in the current input/output buffers struct {