// re = (Render_Engine *)data;
if (!image) return 1;
im = image;
- /* FIXME: can move to gl_common */
- switch (im->cs.space)
- {
- case EVAS_COLORSPACE_ARGB8888:
- if (im->im->cache_entry.flags.alpha) return 1;
- default:
- break;
- }
- return 0;
+ return im->alpha;
}
static int
re = (Render_Engine *)data;
if (!image) return NULL;
- eng_window_use(re->win);
im = image;
if (im->native.data)
{
im->alpha = has_alpha;
return image;
}
+ eng_window_use(re->win);
/* FIXME: can move to gl_common */
if (im->cs.space != EVAS_COLORSPACE_ARGB8888) return im;
if ((has_alpha) && (im->im->cache_entry.flags.alpha)) return image;
// re = (Render_Engine *)data;
if (!image) return NULL;
im = image;
+ if (!im->im) return NULL;
return im->im->info.comment;
}
re = (Render_Engine *)data;
if (!image) return NULL;
- eng_window_use(re->win);
if (im->native.data) return image;
+ eng_window_use(re->win);
evas_gl_common_image_dirty(image, x, y, w, h);
return image;
}