I add animation check code to gl engine.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@64704
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
void
evas_gl_common_image_update(Evas_Engine_GL_Context *gc, Evas_GL_Image *im)
{
+ Image_Entry *ie;
if (!im->im) return;
+ ie = (Image_Entry *)(im->im);
/*
if ((im->cs.space == EVAS_COLORSPACE_YCBCR422P601_PL) ||
(im->cs.space == EVAS_COLORSPACE_YCBCR422P709_PL))
switch (im->cs.space)
{
case EVAS_COLORSPACE_ARGB8888:
- if ((im->tex) && (im->dirty))
+ if ((im->tex) &&
+ ((im->dirty) || (ie->flags.animated)))
{
evas_cache_image_load_data(&im->im->cache_entry);
evas_gl_common_texture_update(im->tex, im->im);