evas: coorectly dirty YUV data.

SVN revision: 64254
This commit is contained in:
Cedric BAIL 2011-10-21 14:06:42 +00:00
parent a4bb9db2fa
commit ce3a658ef7
3 changed files with 2 additions and 3 deletions

View File

@ -2737,8 +2737,6 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
/* We are displaying the overlay */ /* We are displaying the overlay */
if (o->video_visible) if (o->video_visible)
{ {
fprintf(stderr, "overlay visible, make a hole\n");
/* Create a transparent rectangle */ /* Create a transparent rectangle */
obj->layer->evas->engine.func->context_color_set(output, obj->layer->evas->engine.func->context_color_set(output,
context, context,

View File

@ -2544,6 +2544,7 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
} }
im->cs.data = image_data; im->cs.data = image_data;
} }
evas_gl_common_image_dirty(im, 0, 0, 0, 0);
break; break;
default: default:
abort(); abort();

View File

@ -481,8 +481,8 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
if (!im->cs.no_free) free(im->cs.data); if (!im->cs.no_free) free(im->cs.data);
} }
im->cs.data = image_data; im->cs.data = image_data;
evas_common_image_colorspace_dirty(im);
} }
evas_common_image_colorspace_dirty(im);
break; break;
default: default:
abort(); abort();