diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-08-17 19:03:34 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-08-30 12:30:12 +0100 |
commit | 9e25a6d2a47a63fb4e171512d83aa8f1621615f2 (patch) | |
tree | fb1ffdf0105bbef5a05a93756c5715fb66ac6680 /cogl/cogl-types.h | |
parent | b3831b83784def5c8c1d9f94ffc8a26110069f9d (diff) | |
download | cogl-9e25a6d2a47a63fb4e171512d83aa8f1621615f2.tar.gz |
pipeline: Remove all fog apis and state tracking
This removes the fixed-function fogging support from Cogl and we now
expect applications wanting to use fog like effects to depend on
programmable hardware and use Cogl's GLSL snippet api.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-types.h')
-rw-r--r-- | cogl/cogl-types.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cogl/cogl-types.h b/cogl/cogl-types.h index 5b9c0f86..76844127 100644 --- a/cogl/cogl-types.h +++ b/cogl/cogl-types.h @@ -466,40 +466,6 @@ typedef enum { } CoglTextureFlags; /** - * CoglFogMode: - * @COGL_FOG_MODE_LINEAR: Calculates the fog blend factor as: - * |[ - * f = end - eye_distance / end - start - * ]| - * @COGL_FOG_MODE_EXPONENTIAL: Calculates the fog blend factor as: - * |[ - * f = e ^ -(density * eye_distance) - * ]| - * @COGL_FOG_MODE_EXPONENTIAL_SQUARED: Calculates the fog blend factor as: - * |[ - * f = e ^ -(density * eye_distance)^2 - * ]| - * - * The fog mode determines the equation used to calculate the fogging blend - * factor while fogging is enabled. The simplest %COGL_FOG_MODE_LINEAR mode - * determines f as: - * - * |[ - * f = end - eye_distance / end - start - * ]| - * - * Where eye_distance is the distance of the current fragment in eye - * coordinates from the origin. - * - * Since: 1.0 - */ -typedef enum { - COGL_FOG_MODE_LINEAR, - COGL_FOG_MODE_EXPONENTIAL, - COGL_FOG_MODE_EXPONENTIAL_SQUARED -} CoglFogMode; - -/** * COGL_BLEND_STRING_ERROR: * * #GError domain for blend string parser errors |