1
0
Fork 0
mutter-performance-source/gl
Neil Roberts 7c69ca2997 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
..
cogl-context.c * clutter/cogl/gl/cogl-context.c (cogl_destroy_context): Fix 2008-06-02 09:35:43 +00:00
cogl-context.h Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
cogl-defines.h.in Revert miscommit of unfinished cogl changes in r2920 2008-06-14 22:07:23 +00:00
cogl-fbo.c 2008-06-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-23 11:01:30 +00:00
cogl-fbo.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-internal.h * clutter/cogl/gl/cogl.c (error_string): 2008-05-21 13:20:33 +00:00
cogl-primitives.c Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
cogl-program.c Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
cogl-program.h Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
cogl-shader.c Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
cogl-shader.h Removed COGLhandle and changed shader and program functions to be 2008-04-29 16:10:37 +00:00
cogl-texture.c 2008-06-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-23 11:01:30 +00:00
cogl-texture.h Revert miscommit of unfinished cogl changes in r2920 2008-06-14 22:07:23 +00:00
cogl.c Bug 918 - Group doesn't clip if it's children are clipped 2008-06-23 14:57:36 +00:00
Makefile.am * clutter/cogl/common/Makefile.am: 2008-04-30 15:05:17 +00:00