mutter/clutter
Emmanuele Bassi 71498a6376 [cogl] Remove max_waste argument from Texture ctors
The CoglTexture constructors expose the "max-waste" argument for
controlling the maximum amount of wasted areas for slicing or,
if set to -1, disables slicing.

Slicing is really relevant only for large images that are never
repeated, so it's a useful feature only in controlled use cases.
Specifying the amount of wasted area is, on the other hand, just
a way to mess up this feature; 99% the times, you either pull this
number out of thin air, hoping it's right, or you try to do the
right thing and you choose the wrong number anyway.

Instead, we can use the CoglTextureFlags to control whether the
texture should not be sliced (useful for Clutter-GST and for the
texture-from-pixmap actors) and provide a reasonable value for
enabling the slicing ourself. At some point, we might even
provide a way to change the default at compile time or at run time,
for particular platforms.

Since max_waste is gone, the :tile-waste property of ClutterTexture
becomes read-only, and it proxies the cogl_texture_get_max_waste()
function.

Inside Clutter, the only cases where the max_waste argument was
not set to -1 are in the Pango glyph cache (which is a POT texture
anyway) and inside the test cases where we want to force slicing;
for the latter we can create larger textures that will be bigger than
the threshold we set.

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Signed-off-by: Robert Bragg <robert@linux.intel.com>
Signed-off-by: Neil Roberts <neil@linux.intel.com>
2009-05-23 19:35:19 +01:00
..
cogl [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
eglnative Remove Units from the public API 2009-05-06 16:44:47 +01:00
eglx Enforce invariants on mapped, realized, visibility states 2009-04-24 15:27:19 +01:00
fruity Remove Units from the public API 2009-05-06 16:44:47 +01:00
glx [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
json [json] Avoid leaks on error code paths 2009-04-15 12:18:55 +01:00
osx Remove Units from the public API 2009-05-06 16:44:47 +01:00
pango [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
sdl Remove Units from the public API 2009-05-06 16:44:47 +01:00
win32 Remove Units from the public API 2009-05-06 16:44:47 +01:00
x11 Merge commit 'origin/master' into 1.0-integration 2009-05-20 16:49:22 +01:00
clutter-actor.c Merge branch 'master' into 1.0-integration 2009-05-22 12:00:33 +01:00
clutter-actor.h [actor] Rename focus-in and focus-out signals 2009-05-06 17:56:40 +01:00
clutter-alpha.c [alpha] Sanitize easing equations 2009-04-23 11:35:10 +01:00
clutter-alpha.h
clutter-animatable.c
clutter-animatable.h
clutter-animation.c [animation] Do not leak timelines 2009-05-14 16:20:12 +01:00
clutter-animation.h [animation] Remove InitiallyUnowned from Animation 2009-05-14 16:12:36 +01:00
clutter-backend.c [backend] Abstract the GL context creation 2009-05-13 22:21:48 +01:00
clutter-backend.h [backend] Abstract the GL context creation 2009-05-13 22:21:48 +01:00
clutter-behaviour-depth.c
clutter-behaviour-depth.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-ellipse.c [docs] Remove ClutterFixed from the documentation 2009-03-10 12:38:04 +00:00
clutter-behaviour-ellipse.h Move ClutterBehaviourEllipse to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-opacity.c
clutter-behaviour-opacity.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-path.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-behaviour-path.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-behaviour-rotate.c Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-rotate.h Move ClutterBehaviourRotate to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.c Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour-scale.h Move BehaviourScale to CoglFixed 2009-03-10 12:38:03 +00:00
clutter-behaviour.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
clutter-behaviour.h
clutter-bezier.c
clutter-bezier.h
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 Merge commit 'origin/master' into 1.0-integration 2009-05-20 16:49:22 +01:00
clutter-cairo-texture.h [cairo-texture] Document redrawing behavior 2009-05-14 15:53:59 +01:00
clutter-child-meta.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-child-meta.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-clone.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
clutter-clone.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-color.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-color.h Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
clutter-container.c Add ClutterContainer::foreach_with_internals() 2009-04-24 15:25:08 +01:00
clutter-container.h Add ClutterContainer::foreach_with_internals() 2009-04-24 15:25:08 +01:00
clutter-debug.h Add debug annotations for the layout process 2009-04-15 17:25:50 +01:00
clutter-deprecated.h Remove Units from the public API 2009-05-06 16:44:47 +01:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c Merge commit 'origin/master' into 1.0-integration 2009-05-20 16:49:22 +01:00
clutter-event.h Remove Units from the public API 2009-05-06 16:44:47 +01:00
clutter-feature.c
clutter-feature.h
clutter-fixed.c [docs] Remove ClutterFixed from the documentation 2009-03-10 12:38:04 +00:00
clutter-fixed.h [fixed] Remove ClutterFixed API 2009-03-10 12:38:04 +00:00
clutter-frame-source.c Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-frame-source.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-group.c [group] Implement pick 2009-05-07 19:25:24 +01:00
clutter-group.h [group] avoid double evaluation of arguments in clutter_group_add 2009-04-08 18:19:46 +01:00
clutter-id-pool.c
clutter-id-pool.h
clutter-interval.c [interval] Update fixed-point handling 2009-03-10 12:38:03 +00:00
clutter-interval.h
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-list-model.c Fix chain-up in clutter_list_model_dispose() 2009-05-12 16:31:41 +01:00
clutter-list-model.h
clutter-main.c Add repaint functions 2009-05-23 19:33:04 +01:00
clutter-main.h Add repaint functions 2009-05-23 19:33:04 +01:00
clutter-marshal.list [texture] size-change closure is now VOID:FLOAT,FLOAT 2009-05-22 09:09:31 +01:00
clutter-master-clock.c [clock] Rework the master clock 2009-05-07 19:25:24 +01:00
clutter-master-clock.h Use a single master "clock" to drive timelines 2009-04-24 15:28:15 +01:00
clutter-media.c [media] Add sub-second resolution for the duration 2009-02-24 16:22:02 +00:00
clutter-media.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-model-private.h [model] Add a private row mutator to ClutterModelIter 2009-05-05 20:18:28 +01:00
clutter-model.c [model] Add a private row mutator to ClutterModelIter 2009-05-05 20:18:28 +01:00
clutter-model.h Add more padding in Model and ModelIter classes 2009-05-20 16:06:09 +01:00
clutter-path.c Prevent a possible zero division 2009-04-16 17:16:31 +01:00
clutter-path.h
clutter-private.h Add repaint functions 2009-05-23 19:33:04 +01:00
clutter-rectangle.c
clutter-rectangle.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-score.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-score.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +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
clutter-script.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
clutter-script.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-scriptable.c Intern the ClutterScriptable type name 2009-02-26 14:57:58 +00:00
clutter-scriptable.h
clutter-shader-types.c [cogl] Remove the COGL{enum,int,uint} typedefs 2009-05-12 14:53:44 +01:00
clutter-shader-types.h [cogl] Remove the COGL{enum,int,uint} typedefs 2009-05-12 14:53:44 +01:00
clutter-shader.c [cogl] Remove the COGL{enum,int,uint} typedefs 2009-05-12 14:53:44 +01:00
clutter-shader.h [shader] Remove deprecated set_uniform_1f() 2009-04-03 12:47:21 +01:00
clutter-stage-manager.c Add gobject-introspection annotations 2009-02-20 12:09:07 +00:00
clutter-stage-manager.h
clutter-stage-window.c
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 repaint functions 2009-05-23 19:33:04 +01:00
clutter-stage.h Allow passing the pick mode to get_actor_at_pos() 2009-04-24 15:25:58 +01:00
clutter-text.c Merge commit 'origin/master' into 1.0-integration 2009-05-20 16:49:22 +01:00
clutter-text.h [text] Expose position_to_coords() 2009-05-14 16:19:15 +01:00
clutter-texture.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
clutter-texture.h [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
clutter-timeline.c [docs] Document the destructor for Timeline 2009-05-14 16:11:38 +01:00
clutter-timeline.h [timeline] Expose the msec advancement 2009-05-01 15:05:51 +01:00
clutter-timeout-interval.c Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-timeout-interval.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-timeout-pool.c [docs] Fix naming of the interval parameter 2009-03-16 16:56:51 +00:00
clutter-timeout-pool.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-types.h Remove Units from the public API 2009-05-06 16:44:47 +01:00
clutter-units.c Allow specifying the font for the em conversion 2009-05-07 19:25:18 +01:00
clutter-units.h Allow specifying the font for the em conversion 2009-05-07 19:25:18 +01:00
clutter-util.c
clutter-util.h
clutter-version.h.in
clutter.h Add more deprecation notices 2009-03-13 14:29:27 +00:00
Makefile.am Merge commit 'origin/master' into 1.0-integration 2009-05-20 16:49:22 +01:00