HomeSort by relevance Sort by last modified time
    Searched defs:texUnit (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_tex.c 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
55 if (texUnit->_ReallyEnabled) {
gen7_sampler_state.c 41 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
42 struct gl_texture_object *texObj = texUnit->_Current;
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
brw_wm_sampler_state.c 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
88 struct gl_texture_object *texObj = texUnit->_Current;
166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
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/
brw_tex.c 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
55 if (texUnit->_ReallyEnabled) {
gen7_sampler_state.c 41 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
42 struct gl_texture_object *texObj = texUnit->_Current;
146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
brw_wm_sampler_state.c 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
88 struct gl_texture_object *texObj = texUnit->_Current;
166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
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/
texgen.c 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit,
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;
94 texUnit = _mesa_get_current_tex_unit(ctx);
96 texgen = get_texgen(ctx, texUnit, coord);
299 struct gl_texture_unit *texUnit;
    [all...]
enable.c 240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx);
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);
696 if (texUnit) {
698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
701 if (texUnit->TexGenEnabled == newenabled)
704 texUnit->TexGenEnabled = newenabled
    [all...]
texenv.c 50 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->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F)
    [all...]
texstate.c 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit;
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->Combine.SourceA[2]))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_sampler.c 129 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];
234 convert_sampler(st, sampler, texUnit);
st_atom_texture.c 190 GLuint texUnit)
200 samp = _mesa_get_samplerobj(ctx, texUnit);
202 texObj = ctx->Texture.Unit[texUnit]._Current;
280 const GLuint texUnit = prog->SamplerUnits[unit];
283 retval = update_single_texture(st, &sampler_view, texUnit);
401 const GLuint texUnit = fprog->Base.SamplerUnits[su];
403 = ctx->Texture.Unit[texUnit]._Current;
  /external/mesa3d/src/mesa/main/
texgen.c 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit,
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;
94 texUnit = _mesa_get_current_tex_unit(ctx);
96 texgen = get_texgen(ctx, texUnit, coord);
299 struct gl_texture_unit *texUnit;
    [all...]
enable.c 240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx);
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);
696 if (texUnit) {
698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
701 if (texUnit->TexGenEnabled == newenabled)
704 texUnit->TexGenEnabled = newenabled
    [all...]
texenv.c 50 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->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F)
    [all...]
texstate.c 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit;
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->Combine.SourceA[2]))
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_sampler.c 129 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];
234 convert_sampler(st, sampler, texUnit);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
r200_tex.c 303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
316 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_tex.c 263 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
274 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_fragprog.c 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
116 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_tex.c 303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
316 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_tex.c 263 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
274 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor);
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
116 const struct gl_texture_object *texObj = texUnit->_Current;
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
i830_texblend.c 392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit];
401 tmp_sz = i830SetTexEnvCombine(i830, texUnit->_CurrentCombine, blendUnit,
402 GetTexelOp(unit), tmp, texUnit->EnvColor);
  /external/mesa3d/src/mesa/drivers/dri/i915/
i830_texblend.c 392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit];
401 tmp_sz = i830SetTexEnvCombine(i830, texUnit->_CurrentCombine, blendUnit,
402 GetTexelOp(unit), tmp, texUnit->EnvColor);

Completed in 2819 milliseconds

1 2 3