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() 233 _mesa_set_sampler_srgb_decode(ctx, mipmap->samp_obj, in _mesa_meta_GenerateMipmap() 238 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, mipmap->samp_obj); in _mesa_meta_GenerateMipmap()
|
D | meta_blit.c | 721 fb_tex_blit.samp_obj = _mesa_meta_setup_sampler(ctx, texObj, target, filter, in blitframebuffer_texture() 747 _mesa_set_sampler_srgb_decode(ctx, fb_tex_blit.samp_obj, in blitframebuffer_texture() 881 _mesa_reference_sampler_object(ctx, &blit->samp_obj, NULL); in _mesa_meta_fb_tex_blit_end() 915 struct gl_sampler_object *samp_obj; in _mesa_meta_setup_sampler() local 920 samp_obj = ctx->Driver.NewSamplerObject(ctx, 0xDEADBEEF); in _mesa_meta_setup_sampler() 921 if (samp_obj == NULL) in _mesa_meta_setup_sampler() 924 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj); in _mesa_meta_setup_sampler() 925 _mesa_set_sampler_filters(ctx, samp_obj, tex_filter, tex_filter); in _mesa_meta_setup_sampler() 926 _mesa_set_sampler_wrap(ctx, samp_obj, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, in _mesa_meta_setup_sampler() 927 samp_obj->WrapR); in _mesa_meta_setup_sampler() [all …]
|
D | meta.h | 313 struct gl_sampler_object *samp_obj; member 374 struct gl_sampler_object *samp_obj; member 398 struct gl_sampler_object *samp_obj; member
|
D | meta.c | 2982 _mesa_reference_sampler_object(ctx, &decompress->samp_obj, NULL); in meta_decompress_cleanup() 3116 if (decompress->samp_obj == NULL) { in decompress_texture_image() 3117 decompress->samp_obj = ctx->Driver.NewSamplerObject(ctx, 0xDEADBEEF); in decompress_texture_image() 3118 if (decompress->samp_obj == NULL) { in decompress_texture_image() 3134 _mesa_set_sampler_filters(ctx, decompress->samp_obj, GL_NEAREST, GL_NEAREST); in decompress_texture_image() 3137 _mesa_set_sampler_srgb_decode(ctx, decompress->samp_obj, GL_SKIP_DECODE_EXT); in decompress_texture_image() 3140 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, decompress->samp_obj); in decompress_texture_image()
|