mutter/clutter/cogl/gl
Neil Roberts 82d43ffe64 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
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
cogl-program.h
cogl-shader.c
cogl-shader.h
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