mesa: Remove unused functions from perfomance query code.
authorMatt Turner <mattst88@gmail.com>
Sun, 15 Jun 2014 06:15:05 +0000 (23:15 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 17 Jun 2014 17:18:18 +0000 (10:18 -0700)
Perhaps useful for debugging? Never used otherwise. Added by commit
8cf5bdad.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/performance_monitor.c

index 9d1a6b4d807e9a72524969d42944f0582f646657..c26eda4c63b2adc146c371d9401f35236e83fb14 100644 (file)
@@ -164,19 +164,6 @@ counterid_to_index(GLuint counterid)
    return counterid - 1;
 }
 
-static inline GLuint
-index_to_counterid(GLuint index)
-{
-   return index + 1;
-}
-
-static inline bool
-counterid_valid(const struct gl_perf_monitor_group *group_obj,
-                GLuint counterid)
-{
-   return get_counter(group_obj, counterid_to_index(counterid)) != NULL;
-}
-
 /*****************************************************************************/
 
 void GLAPIENTRY