Home
last modified time | relevance | path

Searched refs:EnvColor (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexenv.c97 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F); in set_env_color()
98 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F); in set_env_color()
99 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F); in set_env_color()
100 texUnit->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F); in set_env_color()
686 COPY_4FV( params, texUnit->EnvColor ); in _mesa_GetTexEnvfv()
747 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_GetTexEnviv()
748 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_GetTexEnviv()
749 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_GetTexEnviv()
750 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_GetTexEnviv()
Dtexstate.c83 COPY_4V(dst->Texture.Unit[u].EnvColor, src->Texture.Unit[u].EnvColor); in _mesa_copy_texture_state()
143 …_COLOR = (%f, %f, %f, %f)\n", texUnit->EnvColor[0], texUnit->EnvColor[1], texUnit->EnvColor[2], te… in _mesa_print_texunit_state()
754 ASSIGN_4V( texUnit->EnvColor, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
Dmtypes.h1390 GLclampf EnvColor[4]; member
Dattrib.c704 _mesa_TexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, unit->EnvColor); in pop_texture_group()
/external/mesa3d/src/mesa/swrast/
Ds_triangle.c564 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
565 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
566 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
567 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
830 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
831 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
832 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
833 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
Ds_texcombine.c157 GLfloat red = textureUnit->EnvColor[0]; in texture_combine()
158 GLfloat green = textureUnit->EnvColor[1]; in texture_combine()
159 GLfloat blue = textureUnit->EnvColor[2]; in texture_combine()
160 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine()
253 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_frag.c298 ctx->Texture.Unit[0].EnvColor); in nv04_emit_tex_env()
Dnv10_state_frag.c323 ctx->Texture.Unit[i].EnvColor); in nv10_get_general_combiner()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texblend.c402 GetTexelOp(unit), tmp, texUnit->EnvColor); in emit_texblend()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c274 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor); in radeonTexEnv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c316 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor); in r200TexEnv()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c243 COPY_4V(value, ctx->Texture.Unit[unit].EnvColor); in _mesa_fetch_state()