mutter/gl
Neil Roberts 153f5ea73f Bug 1189 - Backface culling
* clutter/cogl/gl/cogl-texture.c (cogl_texture_polygon)
	(_cogl_texture_quad_sw, _cogl_texture_quad_hw):
	* clutter/cogl/gles/cogl-texture.c (cogl_texture_polygon)
	(_cogl_texture_quad_sw, _cogl_texture_quad_hw): Enable backface
	culling in GL if it is requested.

	* clutter/cogl/gles/cogl-texture.c (_cogl_texture_quad_sw)
	(_cogl_texture_quad_hw):
	* clutter/cogl/gl/cogl-texture.c (_cogl_texture_quad_sw)
	(_cogl_texture_quad_hw): Reorder the
	vertices so that they are counter-clockwise.

	* clutter/cogl/gles/cogl-context.h (CoglContext): 
	* clutter/cogl/gl/cogl-context.h (CoglContext): Added a flag to
	store whether backface culling is currently enabled.

	* clutter/cogl/gles/cogl.c (cogl_enable_backface_culling): 
	* clutter/cogl/gl/cogl.c (cogl_enable_backface_culling): New
	function

	* doc/reference/cogl/cogl-sections.txt: Add
	cogl_enable_backface_culling
2008-10-27 14:36:52 +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 1189 - Backface culling 2008-10-27 14:36:52 +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 Bug 945 - Clipping+fbo cloning bugs 2008-08-01 12:23:57 +00:00
cogl-fbo.h Bug 945 - Clipping+fbo cloning bugs 2008-08-01 12:23:57 +00:00
cogl-internal.h Bug 1189 - Backface culling 2008-10-27 14:36:52 +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 Bug 1189 - Backface culling 2008-10-27 14:36:52 +00:00
cogl-texture.h Revert miscommit of unfinished cogl changes in r2920 2008-06-14 22:07:23 +00:00
cogl.c Bug 1189 - Backface culling 2008-10-27 14:36:52 +00:00
Makefile.am * clutter/cogl/common/Makefile.am: 2008-04-30 15:05:17 +00:00