evas: fix bogus update rect, that's what I call black magic.
This commit is contained in:
parent
4a7ebc66be
commit
5bf4ae22cb
|
@ -1182,6 +1182,19 @@ eng_preload_make_current(void *data, void *doit)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
eng_output_redraws_rect_add(void *data, int x, int y, int w, int h)
|
||||
{
|
||||
Render_Engine *re;
|
||||
|
||||
re = (Render_Engine *)data;
|
||||
eng_window_use(re->generic.ob);
|
||||
evas_gl_common_context_resize(re->generic.ob->gl_context,
|
||||
re->generic.ob->w, re->generic.ob->h,
|
||||
re->generic.ob->rot);
|
||||
evas_common_tilebuf_add_redraw(re->generic.tb, x, y, w, h);
|
||||
}
|
||||
|
||||
static void
|
||||
eng_output_dump(void *data)
|
||||
{
|
||||
|
@ -3332,6 +3345,7 @@ module_open(Evas_Module *em)
|
|||
ORD(canvas_alpha_get);
|
||||
ORD(output_free);
|
||||
ORD(output_dump);
|
||||
ORD(output_redraws_rect_add);
|
||||
ORD(rectangle_draw);
|
||||
ORD(line_draw);
|
||||
ORD(polygon_point_add);
|
||||
|
|
Loading…
Reference in New Issue