Lines Matching defs:sampler

65       /* Unreference the old sampler */
89 /* reference new sampler */
92 /* this sampler's being deleted (look just above) */
94 _mesa_problem(NULL, "referencing deleted sampler object");
111 * Initialize the fields of the given sampler object.
184 /* Insert the ID and pointer to new sampler object into hash table */
228 _mesa_IsSampler(GLuint sampler)
235 if (sampler == 0)
238 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
245 _mesa_BindSampler(GLuint unit, GLuint sampler)
255 if (sampler == 0) {
256 /* Use the default sampler object, the one contained in the texture
262 /* user-defined sampler object */
263 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
265 _mesa_error(ctx, GL_INVALID_OPERATION, "glBindSampler(sampler)");
274 /* bind new sampler */
310 * This is called just prior to changing any sampler object state.
603 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param)
609 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
611 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameteri(sampler %u)",
612 sampler);
688 _mesa_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
696 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
698 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameterf(sampler %u)",
699 sampler);
774 _mesa_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params)
780 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
782 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameteriv(sampler %u)",
783 sampler);
866 _mesa_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params)
874 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
876 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameterfv(sampler %u)",
877 sampler);
953 _mesa_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params)
959 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
961 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameterIiv(sampler %u)",
962 sampler);
1039 _mesa_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params)
1045 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
1047 _mesa_error(ctx, GL_INVALID_VALUE, "glSamplerParameterIuiv(sampler %u)",
1048 sampler);
1125 _mesa_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
1130 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
1132 _mesa_error(ctx, GL_INVALID_VALUE, "glGetSamplerParameteriv(sampler %u)",
1133 sampler);
1203 _mesa_GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
1208 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
1210 _mesa_error(ctx, GL_INVALID_VALUE, "glGetSamplerParameterfv(sampler %u)",
1211 sampler);
1281 _mesa_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
1286 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
1289 "glGetSamplerParameterIiv(sampler %u)",
1290 sampler);
1360 _mesa_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
1365 sampObj = _mesa_lookup_samplerobj(ctx, sampler);
1368 "glGetSamplerParameterIuiv(sampler %u)",
1369 sampler);