Home
last modified time | relevance | path

Searched refs:MinFilter (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c79 if (sa->MinFilter != GL_NEAREST && in nv04_emit_tex_obj()
80 sa->MinFilter != GL_LINEAR) { in nv04_emit_tex_obj()
98 nvgl_filter_mode(sa->MinFilter) << 24 | in nv04_emit_tex_obj()
Dnv10_state_tex.c190 | nvgl_filter_mode(sa->MinFilter) << 24; in nv10_emit_tex_obj()
206 if (sa->MinFilter != GL_NEAREST && in nv10_emit_tex_obj()
207 sa->MinFilter != GL_LINEAR) { in nv10_emit_tex_obj()
Dnv20_state_tex.c201 | nvgl_filter_mode(sa->MinFilter) << 16 in nv20_emit_tex_obj()
218 if (sa->MinFilter != GL_NEAREST && in nv20_emit_tex_obj()
219 sa->MinFilter != GL_LINEAR) { in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/main/
Dsamplerobj.h47 return samp->MinFilter != GL_NEAREST && samp->MinFilter != GL_LINEAR; in _mesa_is_mipmap_filter()
Dtexobj.h99 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()
100 sampler->MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { in _mesa_is_texture_complete()
Dsamplerobj.c121 sampObj->MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_init_sampler_object()
372 if (samp->MinFilter == param) in set_sampler_min_filter()
383 samp->MinFilter = param; in set_sampler_min_filter()
1148 *params = sampObj->MinFilter; in _mesa_GetSamplerParameteriv()
1226 *params = (GLfloat) sampObj->MinFilter; in _mesa_GetSamplerParameterfv()
1305 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIiv()
1384 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIuiv()
Dtexobj.c132 obj->Sampler.MinFilter = GL_LINEAR; in _mesa_initialize_texture_object()
138 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_initialize_texture_object()
176 obj->Sampler.MinFilter = GL_LINEAR; in finish_texture_init()
249 dest->Sampler.MinFilter = src->Sampler.MinFilter; in _mesa_copy_texture_object()
786 texObj->Sampler.MinFilter = GL_NEAREST; in _mesa_get_fallback_texture()
Dtexparam.c259 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri()
265 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
274 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
1301 *params = ENUM_TO_FLOAT(obj->Sampler.MinFilter); in _mesa_GetTexParameterfv()
1488 *params = (GLint) obj->Sampler.MinFilter; in _mesa_GetTexParameteriv()
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c669 ASSERT(samp->MinFilter != samp->MagFilter); in compute_min_mag_ranges()
673 && (samp->MinFilter == GL_NEAREST_MIPMAP_NEAREST || in compute_min_mag_ranges()
674 samp->MinFilter == GL_NEAREST_MIPMAP_LINEAR)) { in compute_min_mag_ranges()
1050 switch (samp->MinFilter) { in sample_lambda_1d()
1517 switch (samp->MinFilter) { in sample_lambda_2d()
2276 switch (samp->MinFilter) { in sample_lambda_3d()
2610 switch (samp->MinFilter) { in sample_lambda_cube()
2788 if (samp->MinFilter == GL_NEAREST) { in sample_lambda_rect()
3065 switch (samp->MinFilter) { in sample_lambda_2d_array()
3355 switch (samp->MinFilter) { in sample_lambda_1d_array()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c147 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); in convert_sampler()
148 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); in convert_sampler()
Dst_cb_texture.c358 if ((stObj->base.Sampler.MinFilter == GL_NEAREST || in guess_and_alloc_texture()
359 stObj->base.Sampler.MinFilter == GL_LINEAR || in guess_and_alloc_texture()
1191 if (stObj->base.Sampler.MinFilter == GL_LINEAR || in st_finalize_texture()
1192 stObj->base.Sampler.MinFilter == GL_NEAREST) in st_finalize_texture()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c50 switch (gl_sampler->MinFilter) { in gen7_update_sampler_state()
116 (gl_sampler->MinFilter != GL_NEAREST || in gen7_update_sampler_state()
Dintel_tex_validate.c25 if (sampler->MinFilter == GL_NEAREST || in intel_update_max_level()
26 sampler->MinFilter == GL_LINEAR) { in intel_update_max_level()
Dintel_tex_image.c82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
Dbrw_wm_sampler_state.c175 switch (gl_sampler->MinFilter) { in brw_update_sampler_state()
246 (gl_sampler->MinFilter != GL_NEAREST || in brw_update_sampler_state()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c25 if (sampler->MinFilter == GL_NEAREST || in intel_update_max_level()
26 sampler->MinFilter == GL_LINEAR) { in intel_update_max_level()
Di915_texstate.c199 switch (sampler->MinFilter) { in i915_update_tex_unit()
305 (sampler->MinFilter != GL_NEAREST || in i915_update_tex_unit()
Dintel_tex_image.c82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_validate.c25 if (sampler->MinFilter == GL_NEAREST || in intel_update_max_level()
26 sampler->MinFilter == GL_LINEAR) { in intel_update_max_level()
Dintel_tex_image.c82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c321 radeonSetTexFilter(t, samp->MinFilter, samp->MagFilter); in radeonTexUpdateParameters()
425 radeonSetTexFilter( t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter ); in radeonNewTextureObject()
Dradeon_mipmap_tree.c263 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) { in calculate_min_max_lod()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c370 r200SetTexFilter(t, samp->MinFilter, samp->MagFilter); in r200TexUpdateParameters()
486 r200SetTexFilter(t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter); in r200NewTextureObject()
Dradeon_mipmap_tree.c263 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) { in calculate_min_max_lod()
Dradeon_texture.c820 if ((texObj->Sampler.MinFilter == GL_NEAREST || in radeon_miptree_create_for_teximage()
821 texObj->Sampler.MinFilter == GL_LINEAR) && in radeon_miptree_create_for_teximage()

12