Searched refs:texUnit (Results 1 - 25 of 56) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexenv.c51 struct gl_fixedfunc_texture_unit *texUnit,
56 if (texUnit->EnvMode == mode)
81 texUnit->EnvMode = mode;
91 struct gl_fixedfunc_texture_unit *texUnit,
94 if (TEST_EQ_4V(color, texUnit->EnvColorUnclamped))
97 COPY_4FV(texUnit->EnvColorUnclamped, color);
98 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F);
99 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F);
100 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F);
101 texUnit
50 set_env_mode(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum mode) argument
90 set_env_color(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,const GLfloat * color) argument
107 set_combiner_mode(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum mode) argument
176 set_combiner_source(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum param) argument
268 set_combiner_operand(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum param) argument
351 set_combiner_scale(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLfloat scale) argument
409 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_texenvfv_indexed
466 struct gl_texture_unit *texUnit = local in function:_mesa_texenvfv_indexed
638 get_texenvi(struct gl_context * ctx,const struct gl_fixedfunc_texture_unit * texUnit,GLenum pname) argument
733 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_gettexenvfv_indexed
759 const struct gl_texture_unit *texUnit = _mesa_get_tex_unit(ctx, texunit); local in function:_mesa_gettexenvfv_indexed
809 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_gettexenviv_indexed
835 const struct gl_texture_unit *texUnit = _mesa_get_tex_unit(ctx, texunit); local in function:_mesa_gettexenviv_indexed
[all...]
H A Dtexstate.c132 const struct gl_fixedfunc_texture_unit *texUnit = ctx->Texture.FixedFuncUnit + unit; local in function:_mesa_print_texunit_state
134 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_enum_to_string(texUnit->EnvMode));
135 printf(" GL_COMBINE_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.ModeRGB));
136 printf(" GL_COMBINE_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.ModeA));
137 printf(" GL_SOURCE0_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[0]));
138 printf(" GL_SOURCE1_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[1]));
139 printf(" GL_SOURCE2_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[2]));
140 printf(" GL_SOURCE0_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceA[0]));
141 printf(" GL_SOURCE1_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceA[1]));
142 printf(" GL_SOURCE2_ALPHA = %s\n", _mesa_enum_to_string(texUnit
294 const GLuint texUnit = texture - GL_TEXTURE0; local in function:active_texture
357 GLuint texUnit = texture - GL_TEXTURE0; local in function:_mesa_ClientActiveTexture
490 pack_tex_combine(struct gl_fixedfunc_texture_unit * texUnit) argument
522 update_tex_combine(struct gl_context * ctx,struct gl_texture_unit * texUnit,struct gl_fixedfunc_texture_unit * fftexUnit) argument
623 struct gl_fixedfunc_texture_unit *texUnit = local in function:update_texgen
660 struct gl_texture_unit *texUnit; local in function:update_single_program_texture
781 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:update_ff_texture_state
1051 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local in function:_mesa_init_texture
1064 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_init_texture
1157 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local in function:_mesa_update_default_objects_texture
[all...]
H A Drastpos.c291 const struct gl_fixedfunc_texture_unit *texUnit = local in function:compute_texgen
308 if (texUnit->TexGenEnabled & S_BIT) {
309 switch (texUnit->GenS.Mode) {
311 texcoord[0] = DOT4(vObj, texUnit->ObjectPlane[GEN_S]);
314 texcoord[0] = DOT4(vEye, texUnit->EyePlane[GEN_S]);
331 if (texUnit->TexGenEnabled & T_BIT) {
332 switch (texUnit->GenT.Mode) {
334 texcoord[1] = DOT4(vObj, texUnit->ObjectPlane[GEN_T]);
337 texcoord[1] = DOT4(vEye, texUnit->EyePlane[GEN_T]);
354 if (texUnit
[all...]
H A Dtexobj.c150 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local in function:_mesa_get_current_tex_object
155 return texUnit->CurrentTex[TEXTURE_1D_INDEX];
159 return texUnit->CurrentTex[TEXTURE_2D_INDEX];
163 return texUnit->CurrentTex[TEXTURE_3D_INDEX];
174 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL;
180 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL;
186 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL;
191 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL;
195 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL;
201 texUnit
234 struct gl_texture_unit *texUnit; local in function:_mesa_get_texobj_by_target_and_texunit
1400 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:unbind_textures_from_unit
1623 struct gl_texture_unit *texUnit; local in function:bind_texture_object
1954 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[first + i]; local in function:bind_textures
[all...]
H A Denable.c326 struct gl_fixedfunc_texture_unit *texUnit = local in function:enable_texture
328 if (!texUnit)
332 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
334 if (texUnit->Enabled == newenabled)
338 texUnit->Enabled = newenabled;
931 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx); local in function:_mesa_set_enable
936 if (texUnit) {
938 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
941 if (texUnit
954 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx); local in function:_mesa_set_enable
1549 const struct gl_fixedfunc_texture_unit *const texUnit = local in function:is_texture_enabled
1771 const struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_IsEnabled
1785 const struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_IsEnabled
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexenv.c51 struct gl_fixedfunc_texture_unit *texUnit,
56 if (texUnit->EnvMode == mode)
81 texUnit->EnvMode = mode;
91 struct gl_fixedfunc_texture_unit *texUnit,
94 if (TEST_EQ_4V(color, texUnit->EnvColorUnclamped))
97 COPY_4FV(texUnit->EnvColorUnclamped, color);
98 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F);
99 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F);
100 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F);
101 texUnit
50 set_env_mode(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum mode) argument
90 set_env_color(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,const GLfloat * color) argument
107 set_combiner_mode(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum mode) argument
176 set_combiner_source(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum param) argument
268 set_combiner_operand(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLenum param) argument
351 set_combiner_scale(struct gl_context * ctx,struct gl_fixedfunc_texture_unit * texUnit,GLenum pname,GLfloat scale) argument
410 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_TexEnvfv
467 struct gl_texture_unit *texUnit = local in function:_mesa_TexEnvfv
576 get_texenvi(struct gl_context * ctx,const struct gl_fixedfunc_texture_unit * texUnit,GLenum pname) argument
672 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_GetTexEnvfv
700 const struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local in function:_mesa_GetTexEnvfv
749 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_GetTexEnviv
775 const struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local in function:_mesa_GetTexEnviv
[all...]
H A Dtexstate.c128 const struct gl_fixedfunc_texture_unit *texUnit = ctx->Texture.FixedFuncUnit + unit; local in function:_mesa_print_texunit_state
130 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_enum_to_string(texUnit->EnvMode));
131 printf(" GL_COMBINE_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.ModeRGB));
132 printf(" GL_COMBINE_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.ModeA));
133 printf(" GL_SOURCE0_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[0]));
134 printf(" GL_SOURCE1_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[1]));
135 printf(" GL_SOURCE2_RGB = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceRGB[2]));
136 printf(" GL_SOURCE0_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceA[0]));
137 printf(" GL_SOURCE1_ALPHA = %s\n", _mesa_enum_to_string(texUnit->Combine.SourceA[1]));
138 printf(" GL_SOURCE2_ALPHA = %s\n", _mesa_enum_to_string(texUnit
290 const GLuint texUnit = texture - GL_TEXTURE0; local in function:active_texture
353 GLuint texUnit = texture - GL_TEXTURE0; local in function:_mesa_ClientActiveTexture
480 pack_tex_combine(struct gl_fixedfunc_texture_unit * texUnit) argument
512 update_tex_combine(struct gl_context * ctx,struct gl_texture_unit * texUnit,struct gl_fixedfunc_texture_unit * fftexUnit) argument
613 struct gl_fixedfunc_texture_unit *texUnit = local in function:update_texgen
650 struct gl_texture_unit *texUnit; local in function:update_single_program_texture
769 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:update_ff_texture_state
1019 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local in function:_mesa_init_texture
1032 struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_init_texture
1126 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local in function:_mesa_update_default_objects_texture
[all...]
H A Dtexgen.c46 get_texgen(struct gl_context *ctx, struct gl_fixedfunc_texture_unit *texUnit, argument
51 ? &texUnit->GenS : NULL;
56 return &texUnit->GenS;
58 return &texUnit->GenT;
60 return &texUnit->GenR;
62 return &texUnit->GenQ;
72 struct gl_fixedfunc_texture_unit *texUnit; local in function:_mesa_TexGenfv
88 texUnit = _mesa_get_current_fixedfunc_tex_unit(ctx);
90 texgen = get_texgen(ctx, texUnit, coord);
291 struct gl_fixedfunc_texture_unit *texUnit; local in function:_mesa_GetTexGendv
328 struct gl_fixedfunc_texture_unit *texUnit; local in function:_mesa_GetTexGenfv
373 struct gl_fixedfunc_texture_unit *texUnit; local in function:_mesa_GetTexGeniv
[all...]
H A Drastpos.c287 const struct gl_fixedfunc_texture_unit *texUnit = local in function:compute_texgen
304 if (texUnit->TexGenEnabled & S_BIT) {
305 switch (texUnit->GenS.Mode) {
307 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
310 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
327 if (texUnit->TexGenEnabled & T_BIT) {
328 switch (texUnit->GenT.Mode) {
330 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane);
333 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane);
350 if (texUnit
[all...]
H A Dtexobj.c147 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local in function:_mesa_get_current_tex_object
152 return texUnit->CurrentTex[TEXTURE_1D_INDEX];
156 return texUnit->CurrentTex[TEXTURE_2D_INDEX];
160 return texUnit->CurrentTex[TEXTURE_3D_INDEX];
171 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL;
177 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL;
183 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL;
188 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL;
192 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL;
198 texUnit
1438 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:unbind_textures_from_unit
1657 struct gl_texture_unit *texUnit; local in function:bind_texture_object
1935 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[first + i]; local in function:bind_textures
[all...]
H A Denable.c211 struct gl_fixedfunc_texture_unit *texUnit = local in function:enable_texture
213 if (!texUnit)
217 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
219 if (texUnit->Enabled == newenabled)
223 texUnit->Enabled = newenabled;
766 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx); local in function:_mesa_set_enable
771 if (texUnit) {
773 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
776 if (texUnit
787 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx); local in function:_mesa_set_enable
1331 const struct gl_fixedfunc_texture_unit *const texUnit = local in function:is_texture_enabled
1553 const struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_IsEnabled
1567 const struct gl_fixedfunc_texture_unit *texUnit = local in function:_mesa_IsEnabled
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_texgen.c341 const struct gl_fixedfunc_texture_unit *texUnit = local in function:texgen
352 if (texUnit->_GenFlags & TEXGEN_NEED_M) {
354 } else if (texUnit->_GenFlags & TEXGEN_NEED_F) {
360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled;
363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled);
367 if (texUnit->TexGenEnabled & S_BIT) {
369 switch (texUnit->GenS.Mode) {
373 texUnit->GenS.ObjectPlane );
378 texUnit->GenS.EyePlane );
400 if (texUnit
494 struct gl_fixedfunc_texture_unit *texUnit = local in function:run_texgen_stage
518 struct gl_fixedfunc_texture_unit *texUnit = local in function:validate_texgen_stage
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_texgen.c341 const struct gl_fixedfunc_texture_unit *texUnit = local in function:texgen
352 if (texUnit->_GenFlags & TEXGEN_NEED_M) {
354 } else if (texUnit->_GenFlags & TEXGEN_NEED_F) {
360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled;
363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled);
367 if (texUnit->TexGenEnabled & S_BIT) {
369 switch (texUnit->GenS.Mode) {
373 texUnit->ObjectPlane[GEN_S] );
378 texUnit->EyePlane[GEN_S] );
400 if (texUnit
494 struct gl_fixedfunc_texture_unit *texUnit = local in function:run_texgen_stage
518 struct gl_fixedfunc_texture_unit *texUnit = local in function:validate_texgen_stage
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c221 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200UpdateTextureEnv
259 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB;
260 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA;
261 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB;
262 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA;
274 GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR;
275 const GLint srcRGBi = texUnit->_CurrentCombine->SourceRGB[i];
361 GLint op = texUnit->_CurrentCombine->OperandA[i] - GL_SRC_ALPHA;
362 const GLint srcAi = texUnit->_CurrentCombine->SourceA[i];
445 switch ( texUnit
777 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200UpdateAllTexEnv
1093 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200_validate_texgen
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c221 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200UpdateTextureEnv
259 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB;
260 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA;
261 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB;
262 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA;
274 GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR;
275 const GLint srcRGBi = texUnit->_CurrentCombine->SourceRGB[i];
361 GLint op = texUnit->_CurrentCombine->OperandA[i] - GL_SRC_ALPHA;
362 const GLint srcAi = texUnit->_CurrentCombine->SourceA[i];
445 switch ( texUnit
771 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200UpdateAllTexEnv
1087 const struct gl_fixedfunc_texture_unit *texUnit = local in function:r200_validate_texgen
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c212 const struct gl_fixedfunc_texture_unit *texUnit = local in function:radeonUpdateTextureEnv
246 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB;
247 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA;
248 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB;
249 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA;
256 const GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR;
257 const GLuint srcRGBi = texUnit->_CurrentCombine->SourceRGB[i];
301 const GLint op = texUnit->_CurrentCombine->OperandA[i] - GL_SRC_ALPHA;
302 const GLuint srcAi = texUnit->_CurrentCombine->SourceA[i];
345 switch ( texUnit
803 struct gl_fixedfunc_texture_unit *texUnit = local in function:radeon_validate_texgen
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c211 const struct gl_fixedfunc_texture_unit *texUnit = local in function:radeonUpdateTextureEnv
245 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB;
246 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA;
247 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB;
248 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA;
255 const GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR;
256 const GLuint srcRGBi = texUnit->_CurrentCombine->SourceRGB[i];
300 const GLint op = texUnit->_CurrentCombine->OperandA[i] - GL_SRC_ALPHA;
301 const GLuint srcAi = texUnit->_CurrentCombine->SourceA[i];
344 switch ( texUnit
796 struct gl_fixedfunc_texture_unit *texUnit = local in function:radeon_validate_texgen
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_texture.h238 const GLuint texUnit = prog->SamplerUnits[unit]; local in function:st_get_texture_object
239 struct gl_texture_object *texObj = ctx->Texture.Unit[texUnit]._Current;
348 GLuint texUnit);
353 GLuint texUnit, bool glsl130_or_later,
H A Dst_atom_texture.c61 GLuint texUnit, bool glsl130_or_later,
69 samp = _mesa_get_samplerobj(ctx, texUnit);
71 texObj = ctx->Texture.Unit[texUnit]._Current;
127 const GLuint texUnit = prog->SamplerUnits[unit]; local in function:update_textures
156 st_update_single_texture(st, &sampler_view, texUnit, glsl130,
59 st_update_single_texture(struct st_context * st,struct pipe_sampler_view ** sampler_view,GLuint texUnit,bool glsl130_or_later,bool ignore_srgb_decode) argument
H A Dst_atom_sampler.c229 GLuint texUnit)
235 texobj = ctx->Texture.Unit[texUnit]._Current;
239 msamp = _mesa_get_samplerobj(ctx, texUnit);
241 st_convert_sampler(st, texobj, msamp, ctx->Texture.Unit[texUnit].LodBias,
227 st_convert_sampler_from_unit(const struct st_context * st,struct pipe_sampler_state * sampler,GLuint texUnit) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_texture.h262 const GLuint texUnit = prog->SamplerUnits[unit]; local in function:st_get_texture_object
263 struct gl_texture_object *texObj = ctx->Texture.Unit[texUnit]._Current;
376 GLuint texUnit);
380 GLuint texUnit, bool glsl130_or_later,
H A Dst_atom_sampler.c150 GLuint texUnit)
156 texobj = ctx->Texture.Unit[texUnit]._Current;
159 msamp = _mesa_get_samplerobj(ctx, texUnit);
161 st_convert_sampler(st, texobj, msamp, ctx->Texture.Unit[texUnit].LodBiasQuantized,
148 st_convert_sampler_from_unit(const struct st_context * st,struct pipe_sampler_state * sampler,GLuint texUnit) argument
H A Dst_atom_texture.c60 GLuint texUnit, bool glsl130_or_later,
67 texObj = ctx->Texture.Unit[texUnit]._Current;
84 _mesa_get_samplerobj(ctx, texUnit),
59 st_update_single_texture(struct st_context * st,GLuint texUnit,bool glsl130_or_later,bool ignore_srgb_decode,bool get_reference) argument
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_fragprog.c116 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:fetch_texel_deriv
117 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_fragprog.c116 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local in function:fetch_texel_deriv
117 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->Attrib.LodBias;

Completed in 41 milliseconds

123