debugging emotion.

SVN revision: 30889
This commit is contained in:
Carsten Haitzler 2007-07-18 04:42:31 +00:00
parent 694cab4e14
commit 6f07dd49ee
3 changed files with 5 additions and 3 deletions

View File

@ -138,7 +138,6 @@ collections {
relative: 0.0 0.0;
offset: 14 14;
}
color: 0 0 0 0;
}
}
part {
@ -771,7 +770,6 @@ collections {
relative: 0.0 1.0;
offset: 7 -25;
}
color: 0 0 0 0;
}
}
part {

View File

@ -822,6 +822,7 @@ _emotion_frame_new(Evas_Object *obj)
Smart_Data *sd;
E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
// printf("pix get set 1 %p\n", sd->obj);
evas_object_image_pixels_dirty_set(sd->obj, 1);
}
@ -1036,6 +1037,7 @@ _pixels_get(void *data, Evas_Object *obj)
}
if ((iw < 1) || (ih < 1))
{
// printf("pix get set 0 (1)\n");
evas_object_image_pixels_dirty_set(obj, 0);
}
else
@ -1056,6 +1058,7 @@ _pixels_get(void *data, Evas_Object *obj)
evas_object_image_data_update_add(obj, 0, 0, iw, ih);
}
evas_object_image_data_set(obj, rows);
// printf("pix get set 0 (2)\n");
evas_object_image_pixels_dirty_set(obj, 0);
}
else if (format == EMOTION_FORMAT_BGRA)
@ -1063,6 +1066,7 @@ _pixels_get(void *data, Evas_Object *obj)
if (sd->module->bgra_data_get(sd->video, &bgra_data));
{
evas_object_image_data_set(obj, bgra_data);
// printf("pix get set 0 (3)\n");
evas_object_image_pixels_dirty_set(obj, 0);
}
}

View File

@ -461,7 +461,7 @@ _emotion_frame_display(vo_driver_t *vo_driver, vo_frame_t *vo_frame)
ret = write(dv->ev->fd_write, &buf, sizeof(void *));
// printf("-- FRAME DEC %p == %i\n", fr->frame.obj, ret);
fr->in_use = 1;
// dv->ev->fq++;
dv->ev->fq++;
}
/* hmm - must find a way to sanely copy data out... FIXME problem */
// fr->vo_frame.free(&fr->vo_frame);