From 390678f27daf3349746b47570c9897a3208ae50b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 7 Jun 2016 17:33:38 +0100 Subject: [PATCH] mesa: remove used _mesa_get_function_spec() and gl_function_remap Final user was killed with last commit. Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- src/mesa/main/remap.c | 18 ------------------ src/mesa/main/remap.h | 9 --------- 2 files changed, 27 deletions(-) diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c index c64b8194812..e76293c7f4e 100644 --- a/src/mesa/main/remap.c +++ b/src/mesa/main/remap.c @@ -49,24 +49,6 @@ int driDispatchRemapTable[driDispatchRemapTable_size]; -/** - * Return the spec string associated with the given function index. - * The index is available from including remap_helper.h. - * - * \param func_index an opaque function index. - * - * \return the spec string associated with the function index, or NULL. - */ -const char * -_mesa_get_function_spec(GLint func_index) -{ - if (func_index < ARRAY_SIZE(_mesa_function_pool)) - return _mesa_function_pool + func_index; - else - return NULL; -} - - /** * Map a function by its spec. The function will be added to glapi, * and the dispatch offset will be returned. diff --git a/src/mesa/main/remap.h b/src/mesa/main/remap.h index 2e5955d3806..bd949a1ef8f 100644 --- a/src/mesa/main/remap.h +++ b/src/mesa/main/remap.h @@ -32,18 +32,9 @@ struct gl_function_pool_remap { int remap_index; }; -struct gl_function_remap { - int func_index; - int dispatch_offset; /* for sanity check */ -}; - - extern int driDispatchRemapTable[]; -extern const char * -_mesa_get_function_spec(int func_index); - extern int _mesa_map_function_spec(const char *spec); -- 2.30.2