raster pushed a commit to branch master.

commit 6a4cdea904ac77c4ebaa7ff22383dabad089b44b
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed May 29 21:37:13 2013 +0900

    fix evas partial swapotkeep the full re-render in the rects if it switches 
to full mode.
---
 src/modules/evas/engines/gl_x11/evas_engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c 
b/src/modules/evas/engines/gl_x11/evas_engine.c
index e0845c3..0d1b0f9 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -1278,7 +1278,7 @@ eng_output_redraws_next_update_get(void *data, int *x, 
int *y, int *w, int *h, i
                        re->prev_age = age;
                     }
                }
-             if (re->lost_back)
+             if ((re->lost_back) || (re->mode == MODE_FULL))
                {
                   /* if we lost our backbuffer since the last frame redraw all 
*/
                   re->lost_back = 0;

-- 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

Reply via email to