Home
last modified time | relevance | path

Searched refs:tex_unit (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/glx/
Dsingle2.c159 const GLint tex_unit = __glXGetActiveTextureUnit(state); in get_client_data() local
226 __glXGetArrayEnable(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
230 __glXGetArraySize(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
234 __glXGetArrayType(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
238 __glXGetArrayStride(state, GL_TEXTURE_COORD_ARRAY, tex_unit, data); in get_client_data()
303 *data = (GLintptr) (tex_unit + GL_TEXTURE0); in get_client_data()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c286 unsigned tex_unit = prog->SamplerUnits[unit]; in update_shader_samplers() local
292 ctx->Texture.Unit[tex_unit]._Current->Target != GL_TEXTURE_BUFFER) { in update_shader_samplers()
293 st_convert_sampler_from_unit(st, sampler, tex_unit); in update_shader_samplers()