Searched refs:samp_obj (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 135 _mesa_reference_sampler_object(ctx, &mipmap->samp_obj, NULL); in _mesa_meta_glsl_generate_mipmap_cleanup() 209 if (mipmap->samp_obj == NULL) { in _mesa_meta_GenerateMipmap() 210 mipmap->samp_obj = ctx->Driver.NewSamplerObject(ctx, 0xDEADBEEF); in _mesa_meta_GenerateMipmap() 211 if (mipmap->samp_obj == NULL) { in _mesa_meta_GenerateMipmap() 221 _mesa_set_sampler_filters(ctx, mipmap->samp_obj, GL_LINEAR_MIPMAP_LINEAR, in _mesa_meta_GenerateMipmap() 223 _mesa_set_sampler_wrap(ctx, mipmap->samp_obj, GL_CLAMP_TO_EDGE, in _mesa_meta_GenerateMipmap() 232 _mesa_set_sampler_srgb_decode(ctx, mipmap->samp_obj, in _mesa_meta_GenerateMipmap() 237 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, mipmap->samp_obj); in _mesa_meta_GenerateMipmap()
|
D | meta_blit.c | 199 fb_tex_blit.samp_obj = setup_sampler(ctx, texObj, target, filter, srcLevel); in blitframebuffer_texture() 223 _mesa_set_sampler_srgb_decode(ctx, fb_tex_blit.samp_obj, in blitframebuffer_texture() 355 _mesa_reference_sampler_object(ctx, &blit->samp_obj, NULL); in _mesa_meta_fb_tex_blit_end() 387 struct gl_sampler_object *samp_obj = in setup_sampler() local 390 if (samp_obj == NULL) in setup_sampler() 393 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj); in setup_sampler() 394 _mesa_set_sampler_filters(ctx, samp_obj, filter, filter); in setup_sampler() 395 _mesa_set_sampler_wrap(ctx, samp_obj, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, in setup_sampler() 396 samp_obj->WrapR); in setup_sampler() 407 return samp_obj; in setup_sampler()
|
D | meta.h | 253 struct gl_sampler_object *samp_obj; member 313 struct gl_sampler_object *samp_obj; member 337 struct gl_sampler_object *samp_obj; member
|
D | meta.c | 2960 _mesa_reference_sampler_object(ctx, &decompress->samp_obj, NULL); in meta_decompress_cleanup() 3095 if (decompress->samp_obj == NULL) { in decompress_texture_image() 3096 decompress->samp_obj = ctx->Driver.NewSamplerObject(ctx, 0xDEADBEEF); in decompress_texture_image() 3097 if (decompress->samp_obj == NULL) { in decompress_texture_image() 3113 _mesa_set_sampler_filters(ctx, decompress->samp_obj, GL_NEAREST, GL_NEAREST); in decompress_texture_image() 3116 _mesa_set_sampler_srgb_decode(ctx, decompress->samp_obj, GL_SKIP_DECODE_EXT); in decompress_texture_image() 3119 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, decompress->samp_obj); in decompress_texture_image()
|