Home
last modified time | relevance | path

Searched refs:ModeRGB (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp122 GLuint ModeRGB:5; /**< MODE_x */ member
457 key->unit[i].ModeRGB = in make_state_key()
458 translate_mode(texUnit->EnvMode, comb->ModeRGB); in make_state_key()
472 if (key->unit[i].ModeRGB == MODE_BUMP_ENVMAP_ATI) { in make_state_key()
792 if (key->unit[unit].ModeRGB == MODE_BUMP_ENVMAP_ATI) { in emit_texenv()
797 switch (key->unit[unit].ModeRGB) { in emit_texenv()
817 else if (need_saturate(key->unit[unit].ModeRGB)) in emit_texenv()
835 if (key->unit[unit].ModeRGB == key->unit[unit].ModeA && in emit_texenv()
839 key->unit[unit].ModeRGB, in emit_texenv()
847 else if (key->unit[unit].ModeRGB == MODE_DOT3_RGBA_EXT || in emit_texenv()
[all …]
Dtexenv.c156 if (texUnit->Combine.ModeRGB == mode) in set_combiner_mode()
159 texUnit->Combine.ModeRGB = mode; in set_combiner_mode()
581 return texUnit->Combine.ModeRGB; in get_texenvi()
Dtexstate.c127 printf(" GL_COMBINE_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeRGB)); in _mesa_print_texunit_state()
278 state->ModeRGB = (state->SourceRGB[0] != GL_PREVIOUS) in calculate_derived_texenv()
419 switch (combine->ModeRGB) { in update_tex_combine()
Dmtypes.h1313 GLenum ModeRGB; /**< GL_REPLACE, GL_DECAL, GL_ADD, etc. */ member
Dattrib.c734 unit->Combine.ModeRGB); in pop_texture_group()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texblend.c169 switch (combine->ModeRGB) { in i830SetTexEnvCombine()
187 switch (combine->ModeRGB) { in i830SetTexEnvCombine()
273 if (combine->ModeRGB == GL_DOT3_RGBA_EXT || in i830SetTexEnvCombine()
274 combine->ModeRGB == GL_DOT3_RGBA) { in i830SetTexEnvCombine()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c404 switch ( texUnit->_CurrentCombine->ModeRGB ) { in radeonUpdateTextureEnv()
470 if ( (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA_EXT) in radeonUpdateTextureEnv()
471 || (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA) ) { in radeonUpdateTextureEnv()
580 if ( (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGB_EXT) in radeonUpdateTextureEnv()
581 || (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGB) ) { in radeonUpdateTextureEnv()
/external/mesa3d/src/mesa/swrast/
Ds_texcombine.c305 switch (combine->ModeRGB) { in texture_combine()
536 if (combine->ModeRGB == GL_DOT3_RGBA_EXT || in texture_combine()
537 combine->ModeRGB == GL_DOT3_RGBA) { in texture_combine()
649 texUnit->_CurrentCombine->ModeRGB == GL_BUMP_ENVMAP_ATI) { in _swrast_texture_span()
715 texUnit->_CurrentCombine->ModeRGB != GL_BUMP_ENVMAP_ATI) { in _swrast_texture_span()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c535 switch ( texUnit->_CurrentCombine->ModeRGB ) { in r200UpdateTextureEnv()
698 if ( (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA_EXT) in r200UpdateTextureEnv()
699 || (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA) ) { in r200UpdateTextureEnv()
900 const GLboolean isdot3rgba = (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA) || in r200UpdateAllTexEnv()
901 (texUnit->_CurrentCombine->ModeRGB == GL_DOT3_RGBA_EXT); in r200UpdateAllTexEnv()
977 if ( (ctx->Texture.Unit[i]._CurrentCombine->ModeRGB == GL_REPLACE) && in r200UpdateAllTexEnv()