mutter/clutter
Neil Roberts 1626d6132e [clutter-texture] Use a GThreadPool for loading async textures
Instead of creating a separate thread for each texture load, the loads
are now queued in a thread pool which will use at most 3 textures at a
time. This avoids the potentially large overhead of creating and
destroying a thread for every image while still avoiding throttling
the CPU if a large number of textures are loaded at the same time.

If the load is cancelled the old code needed to join the thread which
effectively meant it had to wait for the load to finish. With this
model the threads are owned by the thread pool so there is no need to
wait for them to finish. Instead, each thread is given its own thread
data which we can use to mark the thread as aborted. Once the load is
finished the thread will check whether it is aborted before setting
the texture data. That way the ClutterTexture can just disown threads
that it needs to cancel.
2009-02-25 17:52:14 +00:00
..
cogl Declare the EnumValues for PixelFormat static 2009-02-24 09:29:08 +00:00
eglnative [eglnative] Set the SYNC_MATRICES on stage realization 2009-01-16 22:13:44 +00:00
eglx Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
fruity 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
glx Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
json Add build machinery for gobject-introspection data 2009-02-20 14:39:51 +00:00
osx 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
pango Remove stray fixed point macro usage 2009-02-24 09:29:07 +00:00
sdl 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
win32 [win32] Track mouse leave messages 2009-02-16 12:46:37 +00:00
x11 [build] Reference the headers with their full path 2009-02-19 17:22:21 +00:00
clutter-actor.c [actor] Remove usage of ClutterFixed 2009-02-23 13:00:52 +00:00
clutter-actor.h Add Actor::create_pango_layout() 2009-02-02 12:07:28 +00:00
clutter-alpha.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-alpha.h Merge branch 'cogl-float' 2009-01-20 18:47:50 +00:00
clutter-animatable.c Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animatable.h Add license notice to ClutterAnimation files 2009-01-08 13:18:00 +00:00
clutter-animation.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-animation.h Remove AnimationMode from the Animation API 2009-01-16 14:37:42 +00:00
clutter-backend.c [backend] Update the viewport when updating the GL context 2009-02-20 16:40:57 +00:00
clutter-backend.h Store the default font name inside ClutterBackend 2008-12-23 15:03:11 +00:00
clutter-behaviour-depth.c Fix compiler warnings 2009-01-23 13:08:46 +00:00
clutter-behaviour-depth.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-ellipse.c Whitespace fixes for BehaviourEllipse 2009-01-24 14:32:10 +00:00
clutter-behaviour-ellipse.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-opacity.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-behaviour-opacity.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour-path.h Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-behaviour-rotate.c [ClutterBehaviourRotate] Fix up some breakage from the cogl-float branch merge 2009-02-18 18:30:58 +00:00
clutter-behaviour-rotate.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-scale.c Add a scale center property to ClutterActor 2009-01-23 18:41:40 +00:00
clutter-behaviour-scale.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour.h [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-bezier.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-bezier.h Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline 2008-12-05 13:13:37 +00:00
clutter-binding-pool.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-binding-pool.h Add declaration of clutter_binding_pool_get_type() 2009-01-14 15:03:30 +00:00
clutter-cairo-texture.c [docs] Documentation fixes for CairoTexture 2008-12-19 17:48:30 +00:00
clutter-cairo-texture.h [docs] Documentation warnings 2009-01-09 14:26:35 +00:00
clutter-child-meta.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-child-meta.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-clone.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-clone.h Rename ActorClone to Clone/2 2009-01-27 14:24:31 +00:00
clutter-color.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-color.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-container.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-container.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-debug.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-deprecated.h Undeprecate clutter_actor_set_scale_with_gravity 2009-01-28 16:24:02 +00:00
clutter-enum-types.c.in 2007-12-25 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-25 11:41:10 +00:00
clutter-enum-types.h.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-event.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-event.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-feature.c 2008-06-06 Matthew Allum <mallum@openedhand.com> 2008-06-06 13:44:22 +00:00
clutter-feature.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-fixed.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-fixed.h [Automatic fixed-to-float.sh change] Hand coded changes for clutter-{fixed,units} 2009-01-20 16:20:55 +00:00
clutter-frame-source.c * clutter/clutter-frame-source.c (clutter_frame_source_add) 2008-05-09 16:27:06 +00:00
clutter-frame-source.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-group.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-group.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-id-pool.c 2008-03-09 Matthew Allum <mallum@openedhand.com> 2008-03-09 19:07:17 +00:00
clutter-id-pool.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-interval.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-interval.h [animation] Allow registering custom progress function 2009-01-08 11:15:09 +00:00
clutter-json.h.in 2008-04-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-23 13:58:58 +00:00
clutter-keysyms-table.h 7 small miscellaneous fixes 2008-06-10 06:37:46 +00:00
clutter-keysyms.h 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-05 10:54:40 +00:00
clutter-list-model.c [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-list-model.h [list-model] Make ClutterListModel subclassable 2009-02-14 11:31:00 +00:00
clutter-main.c Use a dynamic array for the actors when delivering events 2009-02-24 09:29:08 +00:00
clutter-main.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-marshal.list [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
clutter-media.c [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-media.h [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-model-private.h 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:18:53 +00:00
clutter-model.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-model.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-path.h [build] Replaces use of #include <cairo/cairo.h> with #include <cairo.h> 2008-12-21 21:52:50 +00:00
clutter-private.h Bug 1440 - Add clutter_get_current_event_time() 2009-02-14 11:38:16 +00:00
clutter-rectangle.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
clutter-rectangle.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-score.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-score.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-script-parser.c 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-04 16:21:27 +00:00
clutter-script-private.h 2008-08-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-04 16:21:27 +00:00
clutter-script.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-script.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-scriptable.c 2007-11-14 Emmanuele Bassi <ebassi@openedhand.com> 2007-11-14 11:32:24 +00:00
clutter-scriptable.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-shader-types.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-shader-types.h Do not use GL types in Clutter headers 2009-02-20 11:47:14 +00:00
clutter-shader.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-shader.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-stage-manager.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-stage-manager.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage-window.c 2008-04-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-04 15:02:11 +00:00
clutter-stage-window.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-stage.h Bug 1361 - Unused ClutterStage::get_resolution() methods 2009-01-23 15:16:21 +00:00
clutter-text.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-text.h [text] Rename :alignment to :line-alignment 2009-02-05 19:54:48 +00:00
clutter-texture.c [clutter-texture] Use a GThreadPool for loading async textures 2009-02-25 17:52:14 +00:00
clutter-texture.h Remove type functions for removed types 2009-02-19 15:00:23 +00:00
clutter-timeline.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-timeline.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-timeout-pool.c 2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com> 2008-09-23 13:25:31 +00:00
clutter-timeout-pool.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-types.h Replace clutter_set_use_mipmapped_text with clutter_set_font_flags 2009-01-27 14:43:44 +00:00
clutter-units.c [units] Fix Units in GValue and ClutterParamSpecUnit 2009-01-22 12:11:25 +00:00
clutter-units.h Add units-from-em conversion 2009-01-21 17:35:47 +00:00
clutter-util.c * clutter/clutter-texture.c: (texture_get_tile_pixbuf), 2008-02-12 17:17:52 +00:00
clutter-util.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-version.h.in 2008-03-31 Matthew Allum <mallum@openedhand.com> 2008-03-31 17:15:02 +00:00
clutter.h Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
Makefile.am [build] Move all the compiler flags to AM_CFLAGS 2009-02-21 13:44:14 +00:00