diff options
author | Brian Paul <[email protected]> | 2011-05-26 19:25:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-05-26 19:25:44 -0600 |
commit | 919e260bff53b9ea79347c4a3b88b373443494bf (patch) | |
tree | 32a186010a2c9ce28854a0e24c908d3136b0a67f | |
parent | 848bcd2e8c0232b7ab50da75059cd1dacbdb3db3 (diff) |
mesa: make query object API functions static
Only directly referenced by the _mesa_init_queryobj_dispatch() function.
-rw-r--r-- | src/mesa/main/queryobj.c | 12 | ||||
-rw-r--r-- | src/mesa/main/queryobj.h | 18 |
2 files changed, 6 insertions, 24 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c index e9cf5f64d08..f0a9a7922b2 100644 --- a/src/mesa/main/queryobj.c +++ b/src/mesa/main/queryobj.c @@ -173,7 +173,7 @@ get_query_binding_point(struct gl_context *ctx, GLenum target) } -void GLAPIENTRY +static void GLAPIENTRY _mesa_GenQueriesARB(GLsizei n, GLuint *ids) { GLuint first; @@ -212,7 +212,7 @@ _mesa_GenQueriesARB(GLsizei n, GLuint *ids) } -void GLAPIENTRY +static void GLAPIENTRY _mesa_DeleteQueriesARB(GLsizei n, const GLuint *ids) { GLint i; @@ -248,7 +248,7 @@ _mesa_DeleteQueriesARB(GLsizei n, const GLuint *ids) } -GLboolean GLAPIENTRY +static GLboolean GLAPIENTRY _mesa_IsQueryARB(GLuint id) { GET_CURRENT_CONTEXT(ctx); @@ -352,7 +352,7 @@ _mesa_EndQueryARB(GLenum target) } -void GLAPIENTRY +static void GLAPIENTRY _mesa_GetQueryivARB(GLenum target, GLenum pname, GLint *params) { struct gl_query_object *q, **bindpt; @@ -386,7 +386,7 @@ _mesa_GetQueryivARB(GLenum target, GLenum pname, GLint *params) } -void GLAPIENTRY +static void GLAPIENTRY _mesa_GetQueryObjectivARB(GLuint id, GLenum pname, GLint *params) { struct gl_query_object *q = NULL; @@ -437,7 +437,7 @@ _mesa_GetQueryObjectivARB(GLuint id, GLenum pname, GLint *params) } -void GLAPIENTRY +static void GLAPIENTRY _mesa_GetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params) { struct gl_query_object *q = NULL; diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h index e4ad96ba5a3..16962e55a1b 100644 --- a/src/mesa/main/queryobj.h +++ b/src/mesa/main/queryobj.h @@ -42,24 +42,6 @@ _mesa_lookup_query_object(struct gl_context *ctx, GLuint id) } -extern void GLAPIENTRY -_mesa_GenQueriesARB(GLsizei n, GLuint *ids); - -extern void GLAPIENTRY -_mesa_DeleteQueriesARB(GLsizei n, const GLuint *ids); - -extern GLboolean GLAPIENTRY -_mesa_IsQueryARB(GLuint id); - -extern void GLAPIENTRY -_mesa_GetQueryivARB(GLenum target, GLenum pname, GLint *params); - -extern void GLAPIENTRY -_mesa_GetQueryObjectivARB(GLuint id, GLenum pname, GLint *params); - -extern void GLAPIENTRY -_mesa_GetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params); - extern void _mesa_init_query_object_functions(struct dd_function_table *driver); |