From 9e25a6d2a47a63fb4e171512d83aa8f1621615f2 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 17 Aug 2012 19:03:34 +0100 Subject: 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 --- cogl/cogl-types.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'cogl/cogl-types.h') 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 @@ -465,40 +465,6 @@ typedef enum { COGL_TEXTURE_NO_ATLAS = 1 << 2 } 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: * -- cgit v1.2.1