forked from enlightenment/efl
Evas filters: Add padding info to filter runtime context
This commit is contained in:
parent
8441290767
commit
388a30950a
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue