From: chuneon.park Date: Fri, 13 May 2011 10:04:25 +0000 (+0900) Subject: commented the vsync code temprary (elm_win, elm_priv, elm_config) X-Git-Tag: REL_I9200_20110603-1~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a54d76588d0ad0e2a50213316311042100be21d;p=framework%2Fuifw%2Felementary.git commented the vsync code temprary (elm_win, elm_priv, elm_config) --- diff --git a/debian/changelog b/debian/changelog index 527825f..8c77a94 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +elementary (1.0.0+svn.58393slp2+build03) unstable; urgency=low + + * Package Upload : commented the vsync modification temporary (elm_win, elm_config, elm_priv) + * Git: 165.213.180.234:/slp/pkgs/e/elementary + * Tag: elementary_1.0.0+svn.58393slp2+build03 + + -- ChunEon Park Fri, 13 May 2011 19:02:46 +0900 + elementary (1.0.0+svn.58393slp2+build02) unstable; urgency=low * Package Upload : elm_map modification diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index d54f69d..1051f06 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -623,7 +623,7 @@ _desc_init(void) #define D _config_edd ELM_CONFIG_VAL(D, T, config_version, T_INT); ELM_CONFIG_VAL(D, T, engine, T_STRING); - ELM_CONFIG_VAL(D, T, vsync, T_UCHAR); + //ELM_CONFIG_VAL(D, T, vsync, T_UCHAR); ELM_CONFIG_VAL(D, T, thumbscroll_enable, T_UCHAR); ELM_CONFIG_VAL(D, T, thumbscroll_threshold, T_INT); ELM_CONFIG_VAL(D, T, thumbscroll_momentum_threshold, T_DOUBLE); @@ -1178,7 +1178,7 @@ _config_load(void) _elm_config = ELM_NEW(Elm_Config); _elm_config->config_version = ELM_CONFIG_VERSION; _elm_config->engine = eina_stringshare_add("software_x11"); - _elm_config->vsync = 0; + // _elm_config->vsync = 0; _elm_config->thumbscroll_enable = EINA_TRUE; _elm_config->thumbscroll_threshold = 24; _elm_config->thumbscroll_momentum_threshold = 100.0; @@ -1505,7 +1505,7 @@ _env_get(void) } s = getenv("ELM_VSYNC"); - if (s) _elm_config->vsync = !!atoi(s); +// if (s) _elm_config->vsync = !!atoi(s); s = getenv("ELM_THUMBSCROLL_ENABLE"); if (s) _elm_config->thumbscroll_enable = !!atoi(s); diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h index 3d371a3..164eb9d 100644 --- a/src/lib/elm_priv.h +++ b/src/lib/elm_priv.h @@ -153,7 +153,6 @@ struct _Elm_Config { int config_version; const char *engine; - unsigned char vsync; unsigned char thumbscroll_enable; int thumbscroll_threshold; double thumbscroll_momentum_threshold; diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 5c44bbc..797db3e 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1021,7 +1021,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type) } else if (ENGINE_COMPARE(ELM_OPENGL_X11)) { - int opt[10]; +/* int opt[10]; int opt_i = 0; if (_elm_config->vsync) @@ -1033,7 +1033,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type) } if (opt_i > 0) win->ee = ecore_evas_gl_x11_options_new(NULL, 0, 0, 0, 1, 1, opt); - else + else */ win->ee = ecore_evas_gl_x11_new(NULL, 0, 0, 0, 1, 1); FALLBACK_TRY("OpenGL"); #ifdef HAVE_ELEMENTARY_X