Home | History | Annotate | Download | only in main

Lines Matching full:samp

60                                 struct gl_sampler_object *samp)
62 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */
88 if (samp) {
90 /*_glthread_LOCK_MUTEX(samp->Mutex);*/
91 if (samp->RefCount == 0) {
98 samp->RefCount++;
101 (void *) samp, samp->Name, samp->RefCount);
103 *ptr = samp;
105 /*_glthread_UNLOCK_MUTEX(samp->Mutex);*/
324 set_sampler_wrap_s(struct gl_context *ctx, struct gl_sampler_object *samp,
327 if (samp->WrapS == param)
331 samp->WrapS = param;
339 set_sampler_wrap_t(struct gl_context *ctx, struct gl_sampler_object *samp,
342 if (samp->WrapT == param)
346 samp->WrapT = param;
354 set_sampler_wrap_r(struct gl_context *ctx, struct gl_sampler_object *samp,
357 if (samp->WrapR == param)
361 samp->WrapR = param;
369 set_sampler_min_filter(struct gl_context *ctx, struct gl_sampler_object *samp,
372 if (samp->MinFilter == param)
383 samp->MinFilter = param;
392 set_sampler_mag_filter(struct gl_context *ctx, struct gl_sampler_object *samp,
395 if (samp->MagFilter == param)
402 samp->MagFilter = param;
411 set_sampler_lod_bias(struct gl_context *ctx, struct gl_sampler_object *samp,
414 if (samp->LodBias == param)
418 samp->LodBias = param;
425 struct gl_sampler_object *samp,
429 samp->BorderColor.f[RCOMP] = params[0];
430 samp->BorderColor.f[GCOMP] = params[1];
431 samp->BorderColor.f[BCOMP] = params[2];
432 samp->BorderColor.f[ACOMP] = params[3];
439 struct gl_sampler_object *samp,
443 samp->BorderColor.i[RCOMP] = params[0];
444 samp->BorderColor.i[GCOMP] = params[1];
445 samp->BorderColor.i[BCOMP] = params[2];
446 samp->BorderColor.i[ACOMP] = params[3];
453 struct gl_sampler_object *samp,
457 samp->BorderColor.ui[RCOMP] = params[0];
458 samp->BorderColor.ui[GCOMP] = params[1];
459 samp->BorderColor.ui[BCOMP] = params[2];
460 samp->BorderColor.ui[ACOMP] = params[3];
466 set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp,
469 if (samp->MinLod == param)
473 samp->MinLod = param;
479 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp,
482 if (samp->MaxLod == param)
486 samp->MaxLod = param;
493 struct gl_sampler_object *samp, GLint param)
498 if (samp->CompareMode == param)
504 samp->CompareMode = param;
514 struct gl_sampler_object *samp, GLint param)
519 if (samp->CompareFunc == param)
526 samp->CompareFunc = param;
536 samp->CompareFunc = param;
548 struct gl_sampler_object *samp, GLfloat param)
553 if (samp->MaxAnisotropy == param)
561 samp->MaxAnisotropy = MIN2(param, ctx->Const.MaxTextureMaxAnisotropy);
568 struct gl_sampler_object *samp, GLboolean param)
573 if (samp->CubeMapSeamless == param)
580 samp->CubeMapSeamless = param;
586 struct gl_sampler_object *samp, GLenum param)
591 if (samp->sRGBDecode == param)
598 samp->sRGBDecode = param;