summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/samplerobj.h
diff options
context:
space:
mode:
authorPauli Nieminen <[email protected]>2012-06-12 21:38:57 +0300
committerEric Anholt <[email protected]>2012-08-01 15:57:12 -0700
commit5a320d5bcfb66afca6fe9fe5da133c2675ab4d27 (patch)
tree2a158c4e3835c2663914fdd4341dd5eb681c6035 /src/mesa/main/samplerobj.h
parentcbdc1d53542b3ecca0085399c4bb3b3371f94809 (diff)
mesa: Allow meta module to call sampler functions
To allow meta module to use sample objects mesa GL functions need to be visible and linkable for meta module. Signed-off-by: Pauli Nieminen <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/samplerobj.h')
-rw-r--r--src/mesa/main/samplerobj.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h
index 0bfda43517b..2b0cd794665 100644
--- a/src/mesa/main/samplerobj.h
+++ b/src/mesa/main/samplerobj.h
@@ -77,5 +77,16 @@ _mesa_init_sampler_object_functions(struct dd_function_table *driver);
extern void
_mesa_init_sampler_object_dispatch(struct _glapi_table *disp);
+extern void GLAPIENTRY
+_mesa_BindSampler(GLuint unit, GLuint sampler);
+
+extern void GLAPIENTRY
+_mesa_GenSamplers(GLsizei count, GLuint *samplers);
+
+extern void GLAPIENTRY
+_mesa_DeleteSamplers(GLsizei count, const GLuint *samplers);
+
+extern void GLAPIENTRY
+_mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
#endif /* SAMPLEROBJ_H */