Searched defs:texUnit (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_tex.c53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local
55 if (texUnit->_ReallyEnabled) {
H A Dgen7_sampler_state.c41 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
42 struct gl_texture_object *texObj = texUnit->_Current;
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
H A Dbrw_wm_sampler_state.c87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
88 struct gl_texture_object *texObj = texUnit->_Current;
166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
167 struct gl_texture_object *texObj = texUnit->_Current;
279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_tex.c53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local
55 if (texUnit->_ReallyEnabled) {
H A Dgen7_sampler_state.c41 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
42 struct gl_texture_object *texObj = texUnit->_Current;
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
H A Dbrw_wm_sampler_state.c87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
88 struct gl_texture_object *texObj = texUnit->_Current;
166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
167 struct gl_texture_object *texObj = texUnit->_Current;
279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexgen.c51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, argument
56 ? &texUnit->GenS : NULL;
61 return &texUnit->GenS;
63 return &texUnit->GenT;
65 return &texUnit->GenR;
67 return &texUnit->GenQ;
77 struct gl_texture_unit *texUnit; local
94 texUnit = _mesa_get_current_tex_unit(ctx);
96 texgen = get_texgen(ctx, texUnit, coord);
299 struct gl_texture_unit *texUnit; local
337 struct gl_texture_unit *texUnit; local
383 struct gl_texture_unit *texUnit; local
[all...]
H A Denable.c240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local
242 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
244 if (texUnit->Enabled == newenabled)
248 texUnit->Enabled = newenabled;
691 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
696 if (texUnit) {
698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
701 if (texUnit->TexGenEnabled == newenabled)
704 texUnit
713 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
1210 const struct gl_texture_unit *const texUnit = local
1429 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
1443 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
[all...]
H A Dtexenv.c50 struct gl_texture_unit *texUnit,
55 if (texUnit->EnvMode == mode)
80 texUnit->EnvMode = mode;
90 struct gl_texture_unit *texUnit,
93 if (TEST_EQ_4V(color, texUnit->EnvColorUnclamped))
96 COPY_4FV(texUnit->EnvColorUnclamped, color);
97 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F);
98 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F);
99 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F);
100 texUnit
49 set_env_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum mode) argument
89 set_env_color(struct gl_context *ctx, struct gl_texture_unit *texUnit, const GLfloat *color) argument
106 set_combiner_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum mode) argument
177 set_combiner_source(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument
267 set_combiner_operand(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument
348 set_combiner_scale(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLfloat scale) argument
393 struct gl_texture_unit *texUnit; local
573 get_texenvi(struct gl_context *ctx, const struct gl_texture_unit *texUnit, GLenum pname) argument
668 const struct gl_texture_unit *texUnit; local
732 const struct gl_texture_unit *texUnit; local
827 struct gl_texture_unit *texUnit; local
859 const struct gl_texture_unit *texUnit; local
911 const struct gl_texture_unit *texUnit; local
[all...]
H A Dtexparam.c122 struct gl_texture_unit *texUnit; local
130 texUnit = _mesa_get_current_tex_unit(ctx);
135 return texUnit->CurrentTex[TEXTURE_1D_INDEX];
138 return texUnit->CurrentTex[TEXTURE_2D_INDEX];
141 return texUnit->CurrentTex[TEXTURE_3D_INDEX];
145 return texUnit->CurrentTex[TEXTURE_CUBE_INDEX];
151 return texUnit->CurrentTex[TEXTURE_RECT_INDEX];
158 return texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX];
165 return texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX];
170 return texUnit
1247 const struct gl_texture_unit *texUnit; local
[all...]
H A Dtexstate.c124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; local
126 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_lookup_enum_by_nr(texUnit->EnvMode));
127 printf(" GL_COMBINE_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeRGB));
128 printf(" GL_COMBINE_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeA));
129 printf(" GL_SOURCE0_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[0]));
130 printf(" GL_SOURCE1_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[1]));
131 printf(" GL_SOURCE2_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[2]));
132 printf(" GL_SOURCE0_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[0]));
133 printf(" GL_SOURCE1_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[1]));
134 printf(" GL_SOURCE2_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit
291 const GLuint texUnit = texture - GL_TEXTURE0; local
331 GLuint texUnit = texture - GL_TEXTURE0; local
389 update_tex_combine(struct gl_context *ctx, struct gl_texture_unit *texUnit) argument
534 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
642 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
750 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
870 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_sampler.c129 GLuint texUnit)
135 texobj = ctx->Texture.Unit[texUnit]._Current;
140 msamp = _mesa_get_samplerobj(ctx, texUnit);
154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias;
232 const GLuint texUnit = prog->SamplerUnits[unit]; local
234 convert_sampler(st, sampler, texUnit);
127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument
H A Dst_atom_texture.c190 GLuint texUnit)
200 samp = _mesa_get_samplerobj(ctx, texUnit);
202 texObj = ctx->Texture.Unit[texUnit]._Current;
280 const GLuint texUnit = prog->SamplerUnits[unit]; local
283 retval = update_single_texture(st, &sampler_view, texUnit);
401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; local
403 = ctx->Texture.Unit[texUnit]._Current;
188 update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit) argument
/external/mesa3d/src/mesa/main/
H A Dtexgen.c51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, argument
56 ? &texUnit->GenS : NULL;
61 return &texUnit->GenS;
63 return &texUnit->GenT;
65 return &texUnit->GenR;
67 return &texUnit->GenQ;
77 struct gl_texture_unit *texUnit; local
94 texUnit = _mesa_get_current_tex_unit(ctx);
96 texgen = get_texgen(ctx, texUnit, coord);
299 struct gl_texture_unit *texUnit; local
337 struct gl_texture_unit *texUnit; local
383 struct gl_texture_unit *texUnit; local
[all...]
H A Denable.c240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local
242 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
244 if (texUnit->Enabled == newenabled)
248 texUnit->Enabled = newenabled;
691 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
696 if (texUnit) {
698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
701 if (texUnit->TexGenEnabled == newenabled)
704 texUnit
713 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
1210 const struct gl_texture_unit *const texUnit = local
1429 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
1443 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c129 GLuint texUnit)
135 texobj = ctx->Texture.Unit[texUnit]._Current;
140 msamp = _mesa_get_samplerobj(ctx, texUnit);
154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias;
232 const GLuint texUnit = prog->SamplerUnits[unit]; local
234 convert_sampler(st, sampler, texUnit);
127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Di830_texblend.c392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit]; local
401 tmp_sz = i830SetTexEnvCombine(i830, texUnit->_CurrentCombine, blendUnit,
402 GetTexelOp(unit), tmp, texUnit->EnvColor);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_tex.c303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
316 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_tex.c263 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
274 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_fragprog.c115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
116 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
H A DMaterialLoader.java73 private int texUnit = 0; field in class:MaterialLoader
139 textures[texUnit].setImage(loadedTexture.getImage());
140 textures[texUnit].setMinFilter(loadedTexture.getMinFilter());
141 textures[texUnit].setKey(loadedTexture.getKey());
144 textures[texUnit].setWrap(WrapMode.Repeat);
146 textures[texUnit].setName(texName);
149 textures[texUnit].setName(texKey.getName());
153 textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage());
165 textures[texUnit].setWrap(WrapMode.Repeat);
167 textures[texUnit]
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Di830_texblend.c392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit]; local
401 tmp_sz = i830SetTexEnvCombine(i830, texUnit->_CurrentCombine, blendUnit,
402 GetTexelOp(unit), tmp, texUnit->EnvColor);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_tex.c303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
316 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tex.c263 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
274 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
/external/mesa3d/src/mesa/swrast/
H A Ds_fragprog.c115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local
116 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;

Completed in 867 milliseconds

123