evas-drm: cleanup evas_engine code for drm sw engine

@bugfix: clear the tilebuffer when we get the next redraw update.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-02-28 12:34:13 +00:00
parent 54680b1f97
commit 09b69d567e
1 changed files with 4 additions and 4 deletions

View File

@ -388,7 +388,7 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
/* NB: Not sure this is entirely needed here as it's already done
* inside _merge_rects */
/* evas_common_tilebuf_clear(re->tb); */
evas_common_tilebuf_clear(re->tb);
re->cur_rect = EINA_INLIST_GET(re->rects);
}
@ -431,8 +431,8 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
cx, cy, cw, ch);
if (!re->cur_rect)
{
evas_common_tilebuf_free_render_rects(re->rects);
re->rects = NULL;
/* evas_common_tilebuf_free_render_rects(re->rects); */
/* re->rects = NULL; */
re->end = EINA_TRUE;
}
@ -456,7 +456,7 @@ eng_output_redraws_next_update_push(void *data, void *img, int x, int y, int w,
evas_outbuf_update_region_push(re->ob, img, x, y, w, h);
/* NB: No reason to free region here. That is done on flush anyway */
/* re->outbuf_update_region_free(re->ob, img); */
/* evas_outbuf_update_region_free(re->ob, img); */
evas_common_cpu_end_opt();
}