set.
and add debug log
Change-Id: Iea04129650c14a853b487bdebfe804c788311d66
{
if ((!im->gc->shared->info.sec_image_map) &&
((!im->gc->shared->info.sec_tbm_surface) || (!im->gc->shared->info.egl_tbm_ext))) return;
+ Evas_GL_Texture *tex = evas_gl_common_texture_dynamic_new(im->gc, im);
+ if (!tex) return;
if (im->cs.data)
{
if (!im->cs.no_free) free(im->cs.data);
evas_gl_common_texture_free(im->tex, EINA_TRUE);
im->tex = NULL;
}
- im->tex = evas_gl_common_texture_dynamic_new(im->gc, im);
+ im->tex = tex;
im->tex_only = 1;
}
else
pt->dyn.buffer, NULL);
if (!pt->dyn.img)
{
+ ERR("eglCreateImage() failed");
secsym_tbm_surface_destroy(pt->dyn.buffer);
goto error;
}