Neil Roberts
dff84094ff
Bug 918 - Group doesn't clip if it's children are clipped
...
* clutter/cogl/common/cogl-clip-stack.h:
* clutter/cogl/common/cogl-clip-stack.c: Added functions to
maintain a stack of clipping rectangles.
* clutter/cogl/gles/cogl.c:
* clutter/cogl/gl/cogl.c: The cogl_clip_set and unset functions
have moved into cogl-clip-stack.c which calls back to cogl.c to
set the actual rectangles. Multiple clip rectangles are combined
by merging the stencil buffers.
* clutter/cogl/gles/cogl-primitives.c (_cogl_path_fill_nodes):
* clutter/cogl/gl/cogl-primitives.c (_cogl_path_fill_nodes): Merge
the stencil buffer with the contents of the clipping stack after
drawing the path.
* clutter/cogl/gles/cogl-context.h (CoglContext):
* clutter/cogl/gl/cogl-context.h (CoglContext): Store the number
of available stencil bits.
* clutter/cogl/common/Makefile.am
(libclutter_cogl_common_la_SOURCES): Added cogl-clip-stack.c
2008-06-23 14:57:36 +00:00
..
2008-06-23 14:57:36 +00:00
2008-06-16 13:38:46 +00:00
2008-06-23 13:09:08 +00:00
2008-06-23 09:55:42 +00:00
2008-06-23 09:55:42 +00:00
2008-04-09 14:18:42 +00:00
2008-06-11 09:45:22 +00:00
2008-06-23 10:37:43 +00:00
2008-06-11 10:12:44 +00:00
2008-06-12 12:12:25 +00:00
2008-06-23 12:45:20 +00:00
2008-06-23 09:55:42 +00:00
2008-06-23 09:55:42 +00:00
2008-04-18 15:03:30 +00:00
2008-04-18 15:03:30 +00:00
2008-06-12 11:43:25 +00:00
2008-05-28 14:03:28 +00:00
2007-11-19 16:35:46 +00:00
2007-11-13 14:12:51 +00:00
2008-01-21 16:07:28 +00:00
2008-01-21 16:07:28 +00:00
2007-12-17 17:16:49 +00:00
2007-11-27 12:34:28 +00:00
2008-01-18 11:02:34 +00:00
2008-01-18 11:02:34 +00:00
2008-02-08 15:39:41 +00:00
2007-08-07 14:03:58 +00:00
2007-12-17 17:16:49 +00:00
2007-11-13 13:21:56 +00:00
2008-02-11 20:31:16 +00:00
2008-01-30 12:13:26 +00:00
2008-05-01 09:28:41 +00:00
2007-08-07 14:03:58 +00:00
2008-06-10 17:11:14 +00:00
2008-05-28 13:48:11 +00:00
2008-06-10 17:07:52 +00:00
2006-12-12 20:20:04 +00:00
2008-05-28 14:03:28 +00:00
2007-08-07 14:03:58 +00:00
2008-06-10 17:11:14 +00:00
2008-06-12 11:43:25 +00:00
2008-03-28 22:50:55 +00:00
2008-06-10 17:07:52 +00:00
2008-04-30 16:27:18 +00:00
2008-01-30 12:13:26 +00:00
2008-06-23 10:32:43 +00:00
2008-03-06 12:39:24 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-06-23 09:55:42 +00:00
2008-06-23 09:55:42 +00:00
2008-06-06 13:44:22 +00:00
2008-06-10 17:11:14 +00:00
2008-06-12 11:43:25 +00:00
2008-06-02 12:34:10 +00:00
2008-05-09 16:27:06 +00:00
2008-05-09 16:27:06 +00:00
2008-06-23 09:08:27 +00:00
2008-03-28 22:50:55 +00:00
2008-03-09 19:07:17 +00:00
2008-03-07 17:34:40 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-06-13 09:10:39 +00:00
2007-11-19 21:14:16 +00:00
2008-03-19 18:33:33 +00:00
2008-01-09 14:40:31 +00:00
2008-06-23 09:55:42 +00:00
2008-06-23 09:55:42 +00:00
2008-06-15 12:50:05 +00:00
2008-02-15 15:18:02 +00:00
2008-01-09 14:18:53 +00:00
2008-06-01 19:57:42 +00:00
2008-05-15 14:31:43 +00:00
2008-06-23 09:55:42 +00:00
2008-06-10 17:07:52 +00:00
2008-06-17 08:55:54 +00:00
2008-03-19 11:46:57 +00:00
2008-04-25 13:37:36 +00:00
2008-05-09 13:58:04 +00:00
2008-06-19 20:45:28 +00:00
2008-01-18 11:25:47 +00:00
2007-11-14 11:32:24 +00:00
2007-11-23 13:11:10 +00:00
2008-04-29 16:10:37 +00:00
2008-04-11 12:00:50 +00:00
2008-06-03 20:15:11 +00:00
2008-03-28 22:50:55 +00:00
2008-04-04 15:02:11 +00:00
2008-04-25 13:37:36 +00:00
2008-06-23 10:06:02 +00:00
2008-04-25 13:37:36 +00:00
2008-06-17 14:45:33 +00:00
2008-06-12 11:43:25 +00:00
2008-06-15 12:50:05 +00:00
2008-06-10 06:37:46 +00:00
2008-04-17 16:50:23 +00:00
2007-06-09 13:20:06 +00:00
2008-06-10 17:11:14 +00:00
2008-05-09 10:58:26 +00:00
2008-04-17 11:09:27 +00:00
2008-02-12 17:17:52 +00:00
2007-01-23 20:29:11 +00:00
2008-03-31 17:15:02 +00:00
2008-01-09 14:40:31 +00:00
2008-06-09 13:29:17 +00:00