Author: post
Date: 2011-12-29 01:52:48 +0100 (Thu, 29 Dec 2011)
New Revision: 4066
Modified:
trunk/plugins/cache/cache.c
Log:
Disable cache latency since it shouldn't be required for asynchronious
rendering.
Modified: trunk/plugins/cache/cache.c
===================================================================
--- trunk/plugins/cache/cache.c 2011-12-29 00:51:27 UTC (rev 4065)
+++ trunk/plugins/cache/cache.c 2011-12-29 00:52:48 UTC (rev 4066)
@@ -395,16 +395,7 @@
return fr;
}
-static gboolean
-previous_changed_timeout_func(gpointer data)
-{
- RS_CACHE(data)->ignore_changed = FALSE;
- rs_filter_changed(RS_FILTER(data), RS_CACHE(data)->mask);
-
- return FALSE;
-}
-
static void
flush(RSCache *cache)
{
@@ -421,17 +412,5 @@
filter_debug("Cache[%p]: Previous Changed (%x)", filter, mask);
if (mask & RS_FILTER_CHANGED_PIXELDATA)
flush(cache);
-
- if (cache->latency > 0)
- {
- cache->mask = mask;
- if (!cache->ignore_changed)
- {
- cache->ignore_changed = TRUE;
- g_timeout_add(cache->latency,
previous_changed_timeout_func, cache);
- filter_debug("Cache[%p]: Delaying change.", filter);
- }
- }
- else
- rs_filter_changed(filter, mask);
+ rs_filter_changed(filter, mask);
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit