[clutter/clutter-1.99: 5/11] [2.0] Remove FrameSource and TimeoutPool
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.99: 5/11] [2.0] Remove FrameSource and TimeoutPool
- Date: Thu, 16 Jun 2011 16:14:53 +0000 (UTC)
commit 3360d645bb8a91397d8bb3080c2431edeac47572
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Jun 16 16:15:08 2011 +0100
[2.0] Remove FrameSource and TimeoutPool
clutter/Makefile.am | 10 +-
clutter/clutter-frame-source.c | 263 -------------------
clutter/clutter-frame-source.h | 51 ----
clutter/clutter-main.c | 5 +-
clutter/clutter-main.h | 11 -
clutter/clutter-timeout-interval.c | 140 ----------
clutter/clutter-timeout-interval.h | 58 -----
clutter/clutter-timeout-pool.c | 497 ------------------------------------
clutter/clutter-timeout-pool.h | 69 -----
clutter/clutter.h | 2 -
10 files changed, 3 insertions(+), 1103 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index e90d3af..9da0d26 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -84,8 +84,7 @@ source_h = \
$(srcdir)/clutter-fixed.h \
$(srcdir)/clutter-fixed-layout.h \
$(srcdir)/clutter-flow-layout.h \
- $(srcdir)/clutter-frame-source.h \
- $(srcdir)/clutter-gesture-action.h \
+ $(srcdir)/clutter-gesture-action.h \
$(srcdir)/clutter-group.h \
$(srcdir)/clutter-input-device.h \
$(srcdir)/clutter-interval.h \
@@ -118,7 +117,6 @@ source_h = \
$(srcdir)/clutter-texture.h \
$(srcdir)/clutter-text.h \
$(srcdir)/clutter-timeline.h \
- $(srcdir)/clutter-timeout-pool.h \
$(srcdir)/clutter-types.h \
$(srcdir)/clutter-units.h \
$(srcdir)/clutter-util.h \
@@ -161,8 +159,7 @@ source_c = \
$(srcdir)/clutter-fixed-layout.c \
$(srcdir)/clutter-flatten-effect.c \
$(srcdir)/clutter-flow-layout.c \
- $(srcdir)/clutter-frame-source.c \
- $(srcdir)/clutter-gesture-action.c \
+ $(srcdir)/clutter-gesture-action.c \
$(srcdir)/clutter-group.c \
$(srcdir)/clutter-input-device.c \
$(srcdir)/clutter-interval.c \
@@ -196,7 +193,6 @@ source_c = \
$(srcdir)/clutter-texture.c \
$(srcdir)/clutter-text.c \
$(srcdir)/clutter-timeline.c \
- $(srcdir)/clutter-timeout-pool.c \
$(srcdir)/clutter-units.c \
$(srcdir)/clutter-util.c \
$(srcdir)/clutter-paint-volume.c \
@@ -224,7 +220,6 @@ source_h_priv = \
$(srcdir)/clutter-script-private.h \
$(srcdir)/clutter-stage-manager-private.h \
$(srcdir)/clutter-stage-private.h \
- $(srcdir)/clutter-timeout-interval.h \
$(NULL)
# private source code; these should not be introspected
@@ -232,7 +227,6 @@ source_c_priv = \
$(srcdir)/clutter-event-translator.c \
$(srcdir)/clutter-id-pool.c \
$(srcdir)/clutter-profile.c \
- $(srcdir)/clutter-timeout-interval.c \
$(NULL)
# built sources
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index b7a63f4..58c0b55 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -100,7 +100,6 @@
#include "clutter-device-manager-private.h"
#include "clutter-event.h"
#include "clutter-feature.h"
-#include "clutter-frame-source.h"
#include "clutter-main.h"
#include "clutter-master-clock.h"
#include "clutter-private.h"
@@ -960,9 +959,7 @@ clutter_threads_add_idle (GSourceFunc func,
*
* It is important to note that, due to how the Clutter main loop is
* implemented, the timing will not be accurate and it will not try to
- * "keep up" with the interval. A more reliable source is available
- * using clutter_threads_add_frame_source_full(), which is also internally
- * used by #ClutterTimeline.
+ * "keep up" with the interval.
*
* See also clutter_threads_add_idle_full().
*
diff --git a/clutter/clutter-main.h b/clutter/clutter-main.h
index 7e7f56c..d42c9f3 100644
--- a/clutter/clutter-main.h
+++ b/clutter/clutter-main.h
@@ -127,17 +127,6 @@ guint clutter_threads_add_timeout_full (gint priority,
gpointer data,
GDestroyNotify notify);
-#ifndef CLUTTER_DISABLE_DEPRECATED
-guint clutter_threads_add_frame_source (guint fps,
- GSourceFunc func,
- gpointer data);
-guint clutter_threads_add_frame_source_full (gint priority,
- guint fps,
- GSourceFunc func,
- gpointer data,
- GDestroyNotify notify);
-#endif /* CLUTTER_DISABLE_DEPRECATED */
-
guint clutter_threads_add_repaint_func (GSourceFunc func,
gpointer data,
GDestroyNotify notify);
diff --git a/clutter/clutter.h b/clutter/clutter.h
index ae354dc..bc59edf 100644
--- a/clutter/clutter.h
+++ b/clutter/clutter.h
@@ -65,7 +65,6 @@
#include "clutter-feature.h"
#include "clutter-fixed-layout.h"
#include "clutter-flow-layout.h"
-#include "clutter-frame-source.h"
#include "clutter-gesture-action.h"
#include "clutter-group.h"
#include "clutter-input-device.h"
@@ -98,7 +97,6 @@
#include "clutter-texture.h"
#include "clutter-text.h"
#include "clutter-timeline.h"
-#include "clutter-timeout-pool.h"
#include "clutter-types.h"
#include "clutter-units.h"
#include "clutter-util.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]