Mesa (master): mesa: Remove unused functions from perfomance query code.
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Jun 17 17:18:54 UTC 2014
Module: Mesa
Branch: master
Commit: 52a4065493febf9a7f7ed7801c90a1515526c9ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52a4065493febf9a7f7ed7801c90a1515526c9ad
Author: Matt Turner <mattst88 at gmail.com>
Date: Sat Jun 14 23:15:05 2014 -0700
mesa: Remove unused functions from perfomance query code.
Perhaps useful for debugging? Never used otherwise. Added by commit
8cf5bdad.
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Petri Latvala <petri.latvala at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/main/performance_monitor.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/mesa/main/performance_monitor.c b/src/mesa/main/performance_monitor.c
index 9d1a6b4..c26eda4 100644
--- a/src/mesa/main/performance_monitor.c
+++ b/src/mesa/main/performance_monitor.c
@@ -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
More information about the mesa-commit
mailing list