mutter/doc/reference/cogl
Robert Bragg 07c0b9f89f Add CoglDepthState API
Instead of simply extending the cogl_pipeline_ namespace to add api for
controlling the depth testing state we now break the api out. This adds
a CoglDepthState type that can be stack allocated. The members of the
structure are private but we have the following API to setup the state:

    cogl_depth_state_init
    cogl_depth_state_set_test_enabled
    cogl_depth_state_get_test_enabled
    cogl_depth_state_set_test_function
    cogl_depth_state_get_test_function
    cogl_depth_state_set_writing_enabled
    cogl_depth_state_get_writing_enabled
    cogl_depth_state_set_range
    cogl_depth_state_get_range

This removes the following experimental API which is now superseded:

    cogl_material_set_depth_test_enabled
    cogl_material_get_depth_test_enabled
    cogl_material_set_depth_test_function
    cogl_material_get_depth_test_function
    cogl_material_set_depth_writing_enabled
    cogl_material_get_depth_writing_enabled
    cogl_material_set_depth_range
    cogl_material_get_depth_range

Once a CoglDepthState structure is setup it can be set on a pipeline
using cogl_pipeline_set_depth_state().
2011-05-16 18:36:44 +01:00
..
blend-strings.xml cogl: Fix gl equivalent of blend string 2010-01-26 17:25:25 +00:00
cogl_ortho.png cogl docs: Improve documentation for cogl_ortho 2010-06-15 15:26:28 +01:00
cogl-docs.xml.in math: Adds an experimental quaternion API 2011-05-16 14:11:47 +01:00
cogl-sections.txt Add CoglDepthState API 2011-05-16 18:36:44 +01:00
fill-rule-even-odd.png cogl-path: Allow changing the fill rule 2010-06-29 20:37:14 +01:00
fill-rule-non-zero.png cogl-path: Allow changing the fill rule 2010-06-29 20:37:14 +01:00
Makefile.am Add CoglDepthState API 2011-05-16 18:36:44 +01:00
quad-indices-order.png Convert the ASCII art documentation in cogl-vertex-buffer to PNGs 2010-07-02 17:29:34 +01:00
quad-indices-triangles.png Convert the ASCII art documentation in cogl-vertex-buffer to PNGs 2010-07-02 17:29:34 +01:00