1
0
Fork 0
mutter-performance-source/clutter
Neil Roberts 89e7552ca3 Bug 1172 - Disjoint paths and clip to path
* clutter/cogl/cogl-path.h:
	* clutter/cogl/common/cogl-primitives.c:
	* clutter/cogl/common/cogl-primitives.h:
	* clutter/cogl/gl/cogl-primitives.c:
	* clutter/cogl/gles/cogl-primitives.c: Changed the semantics of
	cogl_path_move_to. Previously this always started a new path but
	now it instead starts a new disjoint sub path. The path isn't
	cleared until you call either cogl_path_stroke, cogl_path_fill or
	cogl_path_new. There are also cogl_path_stroke_preserve and
	cogl_path_fill_preserve functions.

	* clutter/cogl/gl/cogl-context.c:
	* clutter/cogl/gl/cogl-context.h:
	* clutter/cogl/gles/cogl-context.c:
	* clutter/cogl/gles/cogl-context.h: Convert the path nodes array
	to a GArray.

	* clutter/cogl/gl/cogl-texture.c:
	* clutter/cogl/gles/cogl-texture.c: Call cogl_clip_ensure

	* clutter/cogl/common/cogl-clip-stack.c:
	* clutter/cogl/common/cogl-clip-stack.h: Simplified the clip
	stack code quite a bit to make it more maintainable.  Previously
	whenever you added a new clip it would go through a separate route
	to immediately intersect with the current clip and when you
	removed it again it would immediately rebuild the entire clip. Now
	when you add or remove a clip it doesn't do anything immediately
	but just sets a dirty flag instead.

	* clutter/cogl/gl/cogl.c:
	* clutter/cogl/gles/cogl.c: Taken away the code to intersect
	stencil clips when there is exactly one stencil bit. It won't work
	with path clips and I don't know of any platform that doesn't have
	eight or zero stencil bits. It needs at least three bits to
	intersect a path with an existing clip. cogl_features_init now
	just decides you don't have a stencil buffer at all if you have
	less than three bits.

	* clutter/cogl/cogl.h.in: New functions and documentation.

	* tests/interactive/test-clip.c: Replaced with a different test
	that lets you add and remove clips. The three different mouse
	buttons add clips in different shapes. This makes it easier to
	test multiple levels of clipping.

	* tests/interactive/test-cogl-primitives.c: Use
	cogl_path_stroke_preserve when using the same path again.

	* doc/reference/cogl/cogl-sections.txt: Document the new
	functions.
2008-12-04 13:45:09 +00:00
..
cogl Bug 1172 - Disjoint paths and clip to path 2008-12-04 13:45:09 +00:00
eglnative 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
eglx 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
fruity 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
glx Bug 1303 - clutter_glx_texture_pixmap_using_extension doesn't check if 2008-12-03 18:00:05 +00:00
json 2008-04-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-09 14:18:42 +00:00
osx 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
pango * clutter/pango/cogl-pango.h: Include pango/pango.h to get 2008-11-21 16:18:31 +00:00
sdl 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
win32 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
x11 2008-11-07 Matthew Allum <mallum@linux.intel.com> 2008-11-07 16:31:56 +00:00
clutter-actor.c 2008-11-20 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-20 10:52:09 +00:00
clutter-actor.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-alpha.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-alpha.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-animation.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-animation.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-backend.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:11:29 +00:00
clutter-backend.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-bspline.c Bug 1195 - ClutterBehaviourBspline only works for very short paths 2008-10-20 09:43:12 +00:00
clutter-behaviour-bspline.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-depth.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +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 2008-11-13 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-13 10:54:06 +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 2008-01-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-18 11:02:34 +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 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-behaviour-path.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-behaviour-rotate.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +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 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +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 2008-05-01 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-01 09:28:41 +00:00
clutter-behaviour.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-child-meta.c 2008-08-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-08-06 10:20:57 +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-texture.c 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00
clutter-clone-texture.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-color.c * clutter/clutter-color.c (clutter_color_new): Remove CLAMP macros 2008-11-05 12:16:15 +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 2008-10-16 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-16 10:28:17 +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 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-effect.c 2008-04-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-30 16:27:18 +00:00
clutter-effect.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-entry.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-17 14:21:49 +00:00
clutter-entry.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +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 Bug 1108 - Enter/Leave events logics wrt. skipped motion events 2008-10-01 13:46:33 +00:00
clutter-event.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +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 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 16:37:55 +00:00
clutter-fixed.h Fix a typo 2008-10-31 12:07:01 +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 2008-11-26 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-26 16:46:48 +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 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-interval.h 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +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-label.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-17 14:21:49 +00:00
clutter-label.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-list-model.c 2008-03-19 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-19 18:33:33 +00:00
clutter-list-model.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-main.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 09:50:03 +00:00
clutter-main.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:11:29 +00:00
clutter-marshal.list 2008-06-15 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-15 12:50:05 +00:00
clutter-media.c Bug 1269 - mingw32 building failed at clutter-media.c 2008-11-21 16:18:38 +00:00
clutter-media.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +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 * clutter/clutter-model.c (clutter_model_set_sorting_column): This 2008-07-30 10:32:25 +00:00
clutter-model.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-private.h 2008-11-07 Matthew Allum <mallum@linux.intel.com> 2008-11-07 16:31:56 +00:00
clutter-rectangle.c 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-17 14:21:49 +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 Bug 1299 - clutter_score_remove will segmentation fault if 2008-11-25 13:19:48 +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 Fixed some trivial compiler warnings 2008-11-18 18:53:10 +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 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00
clutter-shader-types.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +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 Applied patch from bug #947 2008-06-03 20:15:11 +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 2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-17 14:21:49 +00:00
clutter-stage.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-texture.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 13:52:22 +00:00
clutter-texture.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-timeline.c Bug 1207 - Timelines sometime miss markers 2008-11-03 12:42:17 +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 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 12:42:05 +00:00
clutter-units.c 2008-05-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-09 10:58:26 +00:00
clutter-units.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +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 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:35:20 +00:00
Makefile.am 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:08:40 +00:00