On Sun, 26 Dec 2010, Enlightenment SVN wrote:

> Log:
> and we were missing vsync set support in ecore-evas, but had indirect
>  support. fix.
>
>
>
> Author:       raster
> Date:         2010-12-26 02:17:31 -0800 (Sun, 26 Dec 2010)
> New Revision: 55755
> Trac:         http://trac.enlightenment.org/e/changeset/55755
>
> Modified:
>  trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h 
> trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c
>
> Modified: trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h
> ===================================================================
> --- trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h       2010-12-26 10:15:28 UTC 
> (rev 55754)
> +++ trunk/ecore/src/lib/ecore_evas/Ecore_Evas.h       2010-12-26 10:17:31 UTC 
> (rev 55755)
> @@ -150,7 +150,8 @@
>
> #define ECORE_EVAS_GL_X11_OPT_NONE     0
> #define ECORE_EVAS_GL_X11_OPT_INDIRECT 1
> -#define ECORE_EVAS_GL_X11_OPT_LAST     2
> +#define ECORE_EVAS_GL_X11_OPT_VSYNC    2
> +#define ECORE_EVAS_GL_X11_OPT_LAST     3

why not using an enum, here ?

Vincent

>
> EAPI Ecore_Evas     *ecore_evas_gl_x11_new(const char *disp_name, 
> Ecore_X_Window parent, int x, int y, int w, int h);
> EAPI Ecore_Evas     *ecore_evas_gl_x11_options_new(const char *disp_name, 
> Ecore_X_Window parent, int x, int y, int w, int h, const int *opt);
>
> Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c     2010-12-26 10:15:28 UTC 
> (rev 55754)
> +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c     2010-12-26 10:17:31 UTC 
> (rev 55755)
> @@ -163,6 +163,11 @@
>                        op++;
>                        einfo->indirect = opt[op];
>                     }
> +                  else if (opt[op] == ECORE_EVAS_GL_X11_OPT_VSYNC)
> +                    {
> +                       op++;
> +                       einfo->vsync = opt[op];
> +                    }
>                }
>           }
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to