[maemo-commits] [maemo-commits] r19034 - in projects/haf/trunk/clutter0.8: clutter/eglx debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Aug 4 17:11:50 EEST 2009
Author: gw
Date: 2009-08-04 17:11:17 +0300 (Tue, 04 Aug 2009)
New Revision: 19034

Modified:
   projects/haf/trunk/clutter0.8/clutter/eglx/clutter-eglx-texture-pixmap.c
   projects/haf/trunk/clutter0.8/debian/changelog
Log:
re-added XSync



Modified: projects/haf/trunk/clutter0.8/clutter/eglx/clutter-eglx-texture-pixmap.c
===================================================================
--- projects/haf/trunk/clutter0.8/clutter/eglx/clutter-eglx-texture-pixmap.c	2009-08-04 13:19:24 UTC (rev 19033)
+++ projects/haf/trunk/clutter0.8/clutter/eglx/clutter-eglx-texture-pixmap.c	2009-08-04 14:11:17 UTC (rev 19034)
@@ -388,6 +388,7 @@
       eglDestroySurface (backend->edpy, priv->egl_surface);
       if (clutter_x11_untrap_x_errors ())
         g_debug ("%s: X errors", __FUNCTION__);
+      XSync (dpy, FALSE);
       priv->egl_surface = EGL_NO_SURFACE;
     }
 

Modified: projects/haf/trunk/clutter0.8/debian/changelog
===================================================================
--- projects/haf/trunk/clutter0.8/debian/changelog	2009-08-04 13:19:24 UTC (rev 19033)
+++ projects/haf/trunk/clutter0.8/debian/changelog	2009-08-04 14:11:17 UTC (rev 19034)
@@ -4,9 +4,9 @@
   * Speed improvements
     clutter/eglx/clutter-eglx-texture-pixmap.c: Speed improvements for pixmap
     create/destroy (70ms -> 26ms). Remove calls to eglQuerySurface that aren't
-    actually required, remove un-needed XSync, only re-allocate pixmap texture
-    just before rendering - which means we will do it less, but alse when 
-    XServer is less busy and we will stall less.    
+    actually required, only re-allocate pixmap texture just before rendering -
+    which means we will do it less, but also when XServer is less busy and we 
+    will stall less.    
 
  -- Gordon Williams <gordon.williams at collabora.co.uk>  Tue, 4 Aug 2009 15:34:27 +0100
 

More information about the maemo-commits mailing list