diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-03-22 18:21:59 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-03-22 18:21:59 +0000 |
commit | 4bd3fa583e75407cabfc099aa8ca64565a6593bd (patch) | |
tree | 1458df53c1590379ecc5929af80fd1eec17a7f74 /clutter/clutter-main.h | |
parent | 15970bba9b35efafd8340c15505c7b164e370934 (diff) | |
download | clutter-4bd3fa583e75407cabfc099aa8ca64565a6593bd.tar.gz |
2007-03-22 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-private.h: Remove inclusion of backend-specific
headers; update the main context object; add the declarations for
the event queue functions.
* clutter/clutter-backend.[ch]: Add the abstract ClutterBackend
object, which holds backend-specific settings, the main stage,
and the event queue. Every backend must implement a subclass of
ClutterBackend and ClutterStage.
* clutter/clutter-feature.c: Protect the GLX specific calls
behing #ifdef HAVE_CLUTTER_GLX.
* clutter/clutter-actor.c:
* clutter/clutter-group.c:
* clutter/clutter-clone-texture.c: Include GL/gl.h
* clutter/clutter-event.[ch]: Update public API and implement the
event queue private API; hold a reference on the event objects;
move out the keysym-to-unicode table; add the new event types.
* clutter/clutter-color.h: Include clutter-fixed.h
* clutter/clutter-main.c: Update API; get the main stage
from the backend object; process the event received from the
queue; lock/unlock the main mutex if we have one; move the
initialisation process sooner in the init sequence, in order to
have the backend object when we check for options; call the
backed vfuncs in the pre/post parse hooks.
* clutter/clutter-stage.c: Make ClutterStage and abstract class,
implemented by the backends.
* clutter/clutter/glx/clutter-glx.h:
* clutter/clutter/glx/clutter-backend-glx.[ch]:
* clutter/clutter/glx/clutter-event-glx.c:
* clutter/clutter/glx/clutter-stage-glx.[ch]:
* clutter/clutter/glx/Makefile.am: Add the GLX backend.
* clutter/clutter/egl/clutter-backend-egl.[ch]:
* clutter/clutter/egl/clutter-event-egl.c:
* clutter/clutter/egl/clutter-stage-egl.[ch]:
* clutter/clutter/egl/Makefile.am: Add the stub for a EGL backend.
* examples/*.c: Update for the new API.
Diffstat (limited to 'clutter/clutter-main.h')
-rw-r--r-- | clutter/clutter-main.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clutter/clutter-main.h b/clutter/clutter-main.h index 8ffc2fec9..003eecede 100644 --- a/clutter/clutter-main.h +++ b/clutter/clutter-main.h @@ -38,8 +38,7 @@ typedef enum { CLUTTER_INIT_ERROR_UNKOWN = 0, CLUTTER_INIT_ERROR_THREADS = -1, CLUTTER_INIT_ERROR_BACKEND = -2, - CLUTTER_INIT_ERROR_INTERNAL = -3, - CLUTTER_INIT_ERROR_OPENGL = -4 + CLUTTER_INIT_ERROR_INTERNAL = -3 } ClutterInitError; GQuark clutter_init_error_quark (void); @@ -58,9 +57,13 @@ GOptionGroup * clutter_get_option_group (void); void clutter_main (void); void clutter_main_quit (void); gint clutter_main_level (void); + void clutter_redraw (void); -gboolean clutter_want_debug (void); -gboolean clutter_want_fps (void); + +gboolean clutter_get_debug_enabled (void); +gboolean clutter_get_show_fps (void); +G_CONST_RETURN gchar *clutter_get_vblank_method (void); + void clutter_threads_enter (void); void clutter_threads_leave (void); |