Home
last modified time | relevance | path

Searched refs:WrapT (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/mesa/swrast/
Ds_texfilter.c519 *j = clamp_rect_coord_nearest(samp->Attrib.WrapT, texcoord[1], height); in nearest_texcoord()
529 *j = nearest_texel_location(samp->Attrib.WrapT, img, height, texcoord[1]); in nearest_texcoord()
539 *j = nearest_texel_location(samp->Attrib.WrapT, img, height, texcoord[1]); in nearest_texcoord()
570 clamp_rect_coord_linear(samp->Attrib.WrapT, texcoord[1], in linear_texcoord()
579 linear_texel_locations(samp->Attrib.WrapT, img, height, in linear_texcoord()
595 linear_texel_locations(samp->Attrib.WrapT, img, height, in linear_texcoord()
1129 j = nearest_texel_location(samp->Attrib.WrapT, img, height, texcoord[1]); in sample_2d_nearest()
1165 linear_texel_locations(samp->Attrib.WrapT, img, height, texcoord[1], &j0, &j1, &b); in sample_2d_linear()
1231 assert(samp->Attrib.WrapT == GL_REPEAT); in sample_2d_linear_repeat()
1340 assert(samp->Attrib.WrapT == GL_REPEAT); in sample_2d_linear_mipmap_linear_repeat()
[all …]
Ds_triangle.c1078 && samp->Attrib.WrapT == GL_REPEAT in _swrast_choose_triangle()
/third_party/mesa3d/src/mesa/main/
Dsamplerobj.c121 sampObj->Attrib.WrapT = GL_REPEAT; in _mesa_init_sampler_object()
542 if (samp->Attrib.WrapS == s && samp->Attrib.WrapT == t && samp->Attrib.WrapR == r) in _mesa_set_sampler_wrap()
547 samp->Attrib.WrapT = t; in _mesa_set_sampler_wrap()
588 if (samp->Attrib.WrapT == param) in set_sampler_wrap_t()
592 if (is_wrap_gl_clamp(samp->Attrib.WrapT) != is_wrap_gl_clamp(param)) in set_sampler_wrap_t()
594 samp->Attrib.WrapT = param; in set_sampler_wrap_t()
1506 *params = sampObj->Attrib.WrapT; in _mesa_GetSamplerParameteriv()
1604 *params = (GLfloat) sampObj->Attrib.WrapT; in _mesa_GetSamplerParameterfv()
1682 *params = sampObj->Attrib.WrapT; in _mesa_GetSamplerParameterIiv()
1760 *params = sampObj->Attrib.WrapT; in _mesa_GetSamplerParameterIuiv()
Dsamplerobj.h253 samp->Attrib.WrapT, clamp_to_border); in _mesa_lower_gl_clamp()
Dtexparam.c352 if (texObj->Sampler.Attrib.WrapT == params[0]) in set_tex_parameteri()
356 if (is_wrap_gl_clamp(texObj->Sampler.Attrib.WrapT) != is_wrap_gl_clamp(params[0])) in set_tex_parameteri()
358 texObj->Sampler.Attrib.WrapT = params[0]; in set_tex_parameteri()
2220 *params = ENUM_TO_FLOAT(obj->Sampler.Attrib.WrapT); in get_tex_parameterfv()
2465 *params = (GLint) obj->Sampler.Attrib.WrapT; in get_tex_parameteriv()
Dtexobj.c336 obj->Sampler.Attrib.WrapT = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object()
347 obj->Sampler.Attrib.WrapT = GL_REPEAT; in _mesa_initialize_texture_object()
418 obj->Sampler.Attrib.WrapT = GL_CLAMP_TO_EDGE; in finish_texture_init()
Dmtypes.h906 GLenum16 WrapT; /**< T-axis texture image wrap mode */ member
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c88 format |= nvgl_wrap_mode(sa->Attrib.WrapT) << 28 | in nv04_emit_tex_obj()
Dnv10_state_tex.c184 tx_format = nvgl_wrap_mode(sa->Attrib.WrapT) << 28 in nv10_emit_tex_obj()
Dnv20_state_tex.c207 | nvgl_wrap_mode_nv20(sa->Attrib.WrapT) << 8 in nv20_emit_tex_obj()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c320 radeonSetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT); in radeonTexUpdateParameters()
422 radeonSetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT ); in radeonNewTextureObject()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c370 r200SetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT, samp->Attrib.WrapR); in r200TexUpdateParameters()
483 …r200SetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT, t->base.Sampler.Att… in r200NewTextureObject()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c285 GLenum wt = sampler->Attrib.WrapT; in i830_update_tex_unit()
Di915_texstate.c290 GLenum wt = sampler->Attrib.WrapT; in i915_update_tex_unit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c107 if (is_wrap_gl_clamp(msamp->Attrib.WrapT)) in update_gl_clamp()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c238 if (sampler->Attrib.WrapT == GL_CLAMP) in brw_populate_sampler_prog_key_data()
DgenX_state_upload.c5261 unsigned wrap_t = translate_wrap_mode(sampler->Attrib.WrapT, either_nearest);