evas: work around text/textblock bug rendering outside of rendering zone.

This fix is temporary and waiting for Tasn to look at the proper fix. It will
be removed once that done.


SVN revision: 58156
This commit is contained in:
Cedric BAIL 2011-03-28 14:32:03 +00:00
parent 5166a9b7ea
commit bcc8abe6fe
1 changed files with 9 additions and 0 deletions

View File

@ -1372,6 +1372,15 @@ evas_render_updates_internal(Evas *e,
}
}
#endif
/* FIXME: This clip is only temporary to avoid a bug in textblock that
render outside of the zone it is allowed to render. It's a serious
bug as it may render out of screen buffer, that's why it get back in.
REMOVE IT ASAP !
*/
e->engine.func->context_clip_set(e->engine.data.output,
e->engine.data.context,
x, y, w, h);
clean_them |= evas_render_mapped(e, obj, e->engine.data.context,
surface, off_x, off_y, 0
#ifdef REND_DGB