X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmesa%2Fmain%2Fremap.h;h=7199169d3c0c1bdd9d8618402c4a485ebe09fce0;hb=b21ad12485d24565fd7f21addb5c86c77cf64580;hp=a2a55f615d594355e80d9768c12b2a3a40c06856;hpb=443a7e4e9a360acbc3e662c098be436f180bf81d;p=mesa.git diff --git a/src/mesa/main/remap.h b/src/mesa/main/remap.h index a2a55f615d5..7199169d3c0 100644 --- a/src/mesa/main/remap.h +++ b/src/mesa/main/remap.h @@ -1,6 +1,5 @@ /* * Mesa 3-D graphics library - * Version: 7.7 * * Copyright (C) 2009 Chia-I Wu * @@ -29,7 +28,6 @@ #include "main/compiler.h" -#include "main/mfeatures.h" struct gl_function_pool_remap { int pool_index; @@ -42,8 +40,6 @@ struct gl_function_remap { }; -#if FEATURE_remap_table - extern int driDispatchRemapTable[]; @@ -59,84 +55,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 */