Lines Matching refs:samplers
157 create_samplers(struct gl_context *ctx, GLsizei count, GLuint *samplers, in create_samplers() argument
163 if (!samplers) in create_samplers()
183 samplers[i] = name; in create_samplers()
190 create_samplers_err(struct gl_context *ctx, GLsizei count, GLuint *samplers, in create_samplers_err() argument
202 create_samplers(ctx, count, samplers, caller); in create_samplers_err()
206 _mesa_GenSamplers_no_error(GLsizei count, GLuint *samplers) in _mesa_GenSamplers_no_error() argument
209 create_samplers(ctx, count, samplers, "glGenSamplers"); in _mesa_GenSamplers_no_error()
213 _mesa_GenSamplers(GLsizei count, GLuint *samplers) in _mesa_GenSamplers() argument
216 create_samplers_err(ctx, count, samplers, "glGenSamplers"); in _mesa_GenSamplers()
220 _mesa_CreateSamplers_no_error(GLsizei count, GLuint *samplers) in _mesa_CreateSamplers_no_error() argument
223 create_samplers(ctx, count, samplers, "glCreateSamplers"); in _mesa_CreateSamplers_no_error()
227 _mesa_CreateSamplers(GLsizei count, GLuint *samplers) in _mesa_CreateSamplers() argument
230 create_samplers_err(ctx, count, samplers, "glCreateSamplers"); in _mesa_CreateSamplers()
235 delete_samplers(struct gl_context *ctx, GLsizei count, const GLuint *samplers) in delete_samplers() argument
242 if (samplers[i]) { in delete_samplers()
245 lookup_samplerobj_locked(ctx, samplers[i]); in delete_samplers()
257 _mesa_HashRemoveLocked(ctx->Shared->SamplerObjects, samplers[i]); in delete_samplers()
269 _mesa_DeleteSamplers_no_error(GLsizei count, const GLuint *samplers) in _mesa_DeleteSamplers_no_error() argument
272 delete_samplers(ctx, count, samplers); in _mesa_DeleteSamplers_no_error()
277 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers) in _mesa_DeleteSamplers() argument
286 delete_samplers(ctx, count, samplers); in _mesa_DeleteSamplers()
358 const GLuint *samplers, bool no_error) in bind_samplers() argument
364 if (samplers) { in bind_samplers()
392 if (samplers[i] != 0) { in bind_samplers()
393 if (currentSampler && currentSampler->Name == samplers[i]) in bind_samplers()
396 sampObj = lookup_samplerobj_locked(ctx, samplers[i]); in bind_samplers()
408 i, samplers[i]); in bind_samplers()
442 _mesa_BindSamplers_no_error(GLuint first, GLsizei count, const GLuint *samplers) in _mesa_BindSamplers_no_error() argument
445 bind_samplers(ctx, first, count, samplers, true); in _mesa_BindSamplers_no_error()
450 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers) in _mesa_BindSamplers() argument
468 bind_samplers(ctx, first, count, samplers, false); in _mesa_BindSamplers()