Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexenv.c98 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F); in set_env_color()
99 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F); in set_env_color()
100 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F); in set_env_color()
101 texUnit->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F); in set_env_color()
745 COPY_4FV( params, texUnit->EnvColor ); in _mesa_gettexenvfv_indexed()
821 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_gettexenviv_indexed()
822 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_gettexenviv_indexed()
823 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_gettexenviv_indexed()
824 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_gettexenviv_indexed()
Dtexstate.c109 COPY_4V(dst->Texture.FixedFuncUnit[u].EnvColor, src->Texture.FixedFuncUnit[u].EnvColor); in _mesa_copy_texture_state()
147 …_COLOR = (%f, %f, %f, %f)\n", texUnit->EnvColor[0], texUnit->EnvColor[1], texUnit->EnvColor[2], te… in _mesa_print_texunit_state()
1040 ASSIGN_4V( texUnit->EnvColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture()
Dattrib.c824 _mesa_TexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, unit->EnvColor); in pop_texture_group()
Dmtypes.h1214 GLclampf EnvColor[4]; member
/external/mesa3d/src/mesa/swrast/
Ds_triangle.c565 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
566 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
567 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
568 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
831 info.er = FloatToFixed(unit->EnvColor[RCOMP] * CHAN_MAXF); \
832 info.eg = FloatToFixed(unit->EnvColor[GCOMP] * CHAN_MAXF); \
833 info.eb = FloatToFixed(unit->EnvColor[BCOMP] * CHAN_MAXF); \
834 info.ea = FloatToFixed(unit->EnvColor[ACOMP] * CHAN_MAXF); \
Ds_texcombine.c158 GLfloat red = textureUnit->EnvColor[0]; in texture_combine()
159 GLfloat green = textureUnit->EnvColor[1]; in texture_combine()
160 GLfloat blue = textureUnit->EnvColor[2]; in texture_combine()
161 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine()
254 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_frag.c298 ctx->Texture.FixedFuncUnit[0].EnvColor); in nv04_emit_tex_env()
Dnv10_state_frag.c335 ctx->Texture.FixedFuncUnit[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.c272 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor); in radeonTexEnv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c315 _mesa_unclamped_float_rgba_to_ubyte(c, texUnit->EnvColor); in r200TexEnv()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c251 COPY_4V(value, ctx->Texture.FixedFuncUnit[unit].EnvColor); in fetch_state()