mutter/doc/reference/cogl
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-docs.sgml 2008-07-01 Emmanuele Bassi <ebassi@openedhand.com> 2008-07-01 10:15:07 +00:00
cogl-sections.txt Bug 1189 - Backface culling 2008-10-27 14:36:52 +00:00
Makefile.am 2008-06-24 Matthew Allum <mallum@openedhand.com> 2008-06-24 10:38:18 +00:00
version.xml.in 2008-07-30 Ross Burton <ross@openedhand.com> 2008-07-30 09:17:57 +00:00