extn = bdata->data;
if (!extn) return;
_extnbuf_unlock(extn->b[extn->cur_b].buf);
+ if (extn->b[extn->cur_b].obuf)
+ {
+ _extnbuf_unlock(extn->b[extn->cur_b].obuf);
+ _extnbuf_free(extn->b[extn->cur_b].obuf);
+ extn->b[extn->cur_b].obuf = NULL;
+ }
}
static void
extn->cur_b = n;
if (extn->b[pn].buf) _extnbuf_unlock(extn->b[pn].buf);
- if (extn->b[pn].obuf)
- {
- _extnbuf_unlock(extn->b[pn].obuf);
- _extnbuf_free(extn->b[pn].obuf);
- extn->b[pn].obuf = NULL;
- }
evas_object_image_colorspace_set(bdata->image, EVAS_COLORSPACE_ARGB8888);
if (extn->b[n].buf)
extn_ee_list = eina_list_append(extn_ee_list, ee);
ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee);
+
+ evas_event_callback_add(ee_target->evas, EVAS_CALLBACK_RENDER_PRE,
+ _ecore_evas_extn_plug_render_pre, ee);
+ evas_event_callback_add(ee_target->evas, EVAS_CALLBACK_RENDER_POST,
+ _ecore_evas_extn_plug_render_post, ee);
+
return o;
}