Author: mdk
Date: 2008-02-15 11:06:33 -0500 (Fri, 15 Feb 2008)
New Revision: 95760
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/clock.cpp
Log:
2008-02-15 Michael Dominic K. <[EMAIL PROTECTED]>
* src/clock.cpp: Before processing dirty enter/leave gdk threads. We're
being called from a timeout (unprotected) and we're potentially calling
gdk_ invalidation functions. I think it only matters (in this case)
on non-X backends though.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2008-02-15 14:49:39 UTC (rev 95759)
+++ trunk/moon/src/ChangeLog 2008-02-15 16:06:33 UTC (rev 95760)
@@ -1,5 +1,12 @@
2008-02-15 Michael Dominic K. <[EMAIL PROTECTED]>
+ * src/clock.cpp: Before processing dirty enter/leave gdk threads. We're
+ being called from a timeout (unprotected) and we're potentially calling
+ gdk_ invalidation functions. I think it only matters (in this case)
+ on non-X backends though.
+
+2008-02-15 Michael Dominic K. <[EMAIL PROTECTED]>
+
* src/uielement.cpp: Moving the debug timers for rendering slightly and
uncommenting them so that they work when TIMERS is enabled.
Modified: trunk/moon/src/clock.cpp
===================================================================
--- trunk/moon/src/clock.cpp 2008-02-15 14:49:39 UTC (rev 95759)
+++ trunk/moon/src/clock.cpp 2008-02-15 16:06:33 UTC (rev 95760)
@@ -356,7 +356,9 @@
// fprintf (stderr, "rendering\n"); fflush (stderr);
STARTTICKTIMER (tick_render, "TimeManager::Tick - Render");
STARTTIMER (tick_dirty, "TimeManager::Tick - Dirty");
+ GDK_THREADS_ENTER ();
process_dirty_elements ();
+ GDK_THREADS_LEAVE ();
ENDTIMER (tick_dirty, "TimeManager::Tick - Dirty");
Emit (RenderEvent);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches