main: select ES3.2 version when all extensions are available
[mesa.git] / src / mesa / main / remap.h
index a2a55f615d594355e80d9768c12b2a3a40c06856..9d91b83c1c2b0e28c4a208da82fb11f5ba572907 100644 (file)
@@ -1,6 +1,5 @@
 /*
  * Mesa 3-D graphics library
- * Version:  7.7
  *
  * Copyright (C) 2009 Chia-I Wu <olv@0xlab.org>
  *
@@ -28,9 +27,6 @@
 #define REMAP_H
 
 
-#include "main/compiler.h"
-#include "main/mfeatures.h"
-
 struct gl_function_pool_remap {
    int pool_index;
    int remap_index;
@@ -42,8 +38,6 @@ struct gl_function_remap {
 };
 
 
-#if FEATURE_remap_table
-
 extern int
 driDispatchRemapTable[];
 
@@ -59,84 +53,8 @@ _mesa_map_function_array(const struct gl_function_remap *func_array);
 extern void
 _mesa_map_static_functions(void);
 
-extern void
-_mesa_map_static_functions_es1(void);
-
-extern void
-_mesa_map_static_functions_es2(void);
-
-extern void
-_mesa_do_init_remap_table(const char *pool,
-                         int size,
-                         const struct gl_function_pool_remap *remap);
-
 extern void
 _mesa_init_remap_table(void);
 
-extern void
-_mesa_init_remap_table_es1(void);
-
-extern void
-_mesa_init_remap_table_es2(void);
-
-#else /* FEATURE_remap_table */
-
-static INLINE const char *
-_mesa_get_function_spec(int func_index)
-{
-   return NULL;
-}
-
-static INLINE int
-_mesa_map_function_spec(const char *spec)
-{
-   return -1;
-}
-
-static INLINE void
-_mesa_map_function_array(const struct gl_function_remap *func_array)
-{
-}
-
-static INLINE void
-_mesa_map_static_functions(void)
-{
-}
-
-
-static INLINE void
-_mesa_map_static_functions_es1(void)
-{
-}
-
-static INLINE void
-_mesa_map_static_functions_es2(void)
-{
-}
-
-static INLINE void
-_mesa_do_init_remap_table(const char *pool,
-                         int size,
-                         const struct gl_function_pool_remap *remap)
-{
-}
-
-static INLINE void
-_mesa_init_remap_table(void)
-{
-}
-
-static INLINE void
-_mesa_init_remap_table_es1(void)
-{
-}
-
-static INLINE void
-_mesa_init_remap_table_es2(void)
-{
-}
-
-#endif /* FEATURE_remap_table */
-
 
 #endif /* REMAP_H */