Change-Id: I609a0bab36f0781de0048844516405a53a7990c8
if (re->outbuf_swap_mode_get) mode = re->outbuf_swap_mode_get(re->ob);
re->swap_mode = mode;
+
+ // disable partial rendering when rect's w,h not match tile size
+ rect = (Tilebuf_Rect *)EINA_INLIST_GET(re->rects);
+ if((re->w != rect->w) ||(re->h != rect->h))
+ {
+ if(rect->w%(re->tb->tile_size.w)||rect->h%(re->tb->tile_size.h))
+ {
+ re->swap_mode = MODE_FULL;
+ }
+ }
+
if ((re->lost_back) || (re->swap_mode == MODE_FULL) || (re->swap_mode == MODE_AUTO))
{
/* if we lost our backbuffer since the last frame redraw all */