Lines Matching refs:samplers
181 create_samplers(struct gl_context *ctx, GLsizei count, GLuint *samplers, in create_samplers() argument
195 if (!samplers) in create_samplers()
207 samplers[i] = first + i; in create_samplers()
214 _mesa_GenSamplers(GLsizei count, GLuint *samplers) in _mesa_GenSamplers() argument
217 create_samplers(ctx, count, samplers, "glGenSamplers"); in _mesa_GenSamplers()
221 _mesa_CreateSamplers(GLsizei count, GLuint *samplers) in _mesa_CreateSamplers() argument
224 create_samplers(ctx, count, samplers, "glCreateSamplers"); in _mesa_CreateSamplers()
229 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers) in _mesa_DeleteSamplers() argument
244 if (samplers[i]) { in _mesa_DeleteSamplers()
247 _mesa_lookup_samplerobj_locked(ctx, samplers[i]); in _mesa_DeleteSamplers()
259 _mesa_HashRemoveLocked(ctx->Shared->SamplerObjects, samplers[i]); in _mesa_DeleteSamplers()
330 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers) in _mesa_BindSamplers() argument
351 if (samplers) { in _mesa_BindSamplers()
379 if (samplers[i] != 0) { in _mesa_BindSamplers()
380 if (currentSampler && currentSampler->Name == samplers[i]) in _mesa_BindSamplers()
383 sampObj = lookup_samplerobj_locked(ctx, samplers[i]); in _mesa_BindSamplers()
395 i, samplers[i]); in _mesa_BindSamplers()