raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=36a52ca062ee1064bdedcc1498ae96ff1b793e7f

commit 36a52ca062ee1064bdedcc1498ae96ff1b793e7f
Author: Vostokov Sergey <s.vosto...@samsung.com>
Date:   Thu Dec 26 19:19:15 2013 +0900

    evas - gl-x11 engine - don't re-init engine window on rotate
    
    this puts rotationc hanges in the same class as resizes for evas gl
    x11 engine info updates and doesnt re-create the engine window data on
    rotate.
---
 src/modules/evas/engines/gl_x11/evas_engine.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c 
b/src/modules/evas/engines/gl_x11/evas_engine.c
old mode 100644
new mode 100755
index 0296ace..8bea533
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -910,8 +910,7 @@ eng_setup(Evas *eo_e, void *in)
                  (re->info->info.visual != re->win->visual) ||
                  (re->info->info.colormap != re->win->colormap) ||
                  (re->info->info.depth != re->win->depth) ||
-                 (re->info->info.destination_alpha != re->win->alpha) ||
-                 (re->info->info.rotation != re->win->rot))
+                 (re->info->info.destination_alpha != re->win->alpha))
                {
                   int inc = 0;
 
@@ -941,12 +940,14 @@ eng_setup(Evas *eo_e, void *in)
                      re->win->gl_context->references--;
                }
              else if ((re->win->w != e->output.w) ||
-                      (re->win->h != e->output.h))
+                      (re->win->h != e->output.h) ||
+                      (re->info->info.rotation != re->win->rot))
                {
                   re->w = e->output.w;
                   re->h = e->output.h;
                   re->win->w = e->output.w;
                   re->win->h = e->output.h;
+                  re->win->rot = re->info->info.rotation;
                   eng_window_use(re->win);
                   evas_gl_common_context_resize(re->win->gl_context, 
re->win->w, re->win->h, re->win->rot);
                }

-- 


Reply via email to