[Cogl] [PATCH] pipeline: remove unused _MASK defines

Robert Bragg robert at sixbynine.org
Tue Sep 25 13:18:34 PDT 2012


From: Robert Bragg <robert at linux.intel.com>

The COGL_PIPELINE_FRAGEND_XYZ_MASK and COGL_PIPELINE_VERTEND_XYZ_MASK
defines aren't used any more so this patch simply removes them.
---
 cogl/cogl-pipeline-private.h |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/cogl/cogl-pipeline-private.h b/cogl/cogl-pipeline-private.h
index 3c2f0a5..9a73877 100644
--- a/cogl/cogl-pipeline-private.h
+++ b/cogl/cogl-pipeline-private.h
@@ -75,19 +75,6 @@
 
 #endif /* HAVE_COGL_GL */
 
-#ifdef COGL_PIPELINE_FRAGEND_ARBFP
-#define COGL_PIPELINE_FRAGEND_ARBFP_MASK \
-  (1 << COGL_PIPELINE_FRAGEND_ARBFP)
-#endif
-#ifdef COGL_PIPELINE_FRAGEND_FIXED
-#define COGL_PIPELINE_FRAGEND_FIXED_MASK \
-  (1 << COGL_PIPELINE_FRAGEND_FIXED)
-#endif
-#ifdef COGL_PIPELINE_FRAGEND_GLSL
-#define COGL_PIPELINE_FRAGEND_GLSL_MASK \
-  (1 << COGL_PIPELINE_FRAGEND_GLSL)
-#endif
-
 #define COGL_PIPELINE_FRAGEND_DEFAULT    0
 #define COGL_PIPELINE_FRAGEND_UNDEFINED  3
 
@@ -122,15 +109,6 @@
 
 #endif /* HAVE_COGL_GL */
 
-#ifdef COGL_PIPELINE_VERTEND_FIXED
-#define COGL_PIPELINE_VERTEND_FIXED_MASK \
-  (1 << COGL_PIPELINE_VERTEND_FIXED)
-#endif
-#ifdef COGL_PIPELINE_VERTEND_GLSL
-#define COGL_PIPELINE_VERTEND_GLSL_MASK \
-  (1 << COGL_PIPELINE_VERTEND_GLSL)
-#endif
-
 #define COGL_PIPELINE_VERTEND_DEFAULT    0
 #define COGL_PIPELINE_VERTEND_UNDEFINED  3
 
-- 
1.7.7.6



More information about the Cogl mailing list