Home
last modified time | relevance | path

Searched refs:EnvMode (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexstate.c82 dst->Texture.Unit[u].EnvMode = src->Texture.Unit[u].EnvMode; in _mesa_copy_texture_state()
127 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_enum_to_string(texUnit->EnvMode)); in _mesa_print_texunit_state()
484 packed->ModeRGB = tex_combine_translate_mode(texUnit->EnvMode, state->ModeRGB); in pack_tex_combine()
485 packed->ModeA = tex_combine_translate_mode(texUnit->EnvMode, state->ModeA); in pack_tex_combine()
521 if (texUnit->EnvMode == GL_COMBINE || in update_tex_combine()
522 texUnit->EnvMode == GL_COMBINE4_NV) { in update_tex_combine()
532 calculate_derived_texenv(&texUnit->_EnvMode, texUnit->EnvMode, format); in update_tex_combine()
545 if (texUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
577 if (texUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
994 texUnit->EnvMode = GL_MODULATE; in init_texture_unit()
Dtexenv.c56 if (texUnit->EnvMode == mode) in set_env_mode()
81 texUnit->EnvMode = mode; in set_env_mode()
555 return texUnit->EnvMode; in get_texenvi()
Dattrib.c776 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit->EnvMode); in pop_texture_group()
Dmtypes.h1245 GLenum EnvMode; /**< GL_MODULATE, GL_DECAL, GL_BLEND, etc. */ member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.c42 u->EnvMode == GL_COMBINE || in texunit_needs_combiners()
43 u->EnvMode == GL_COMBINE4_NV || in texunit_needs_combiners()
44 u->EnvMode == GL_BLEND || in texunit_needs_combiners()
45 u->EnvMode == GL_ADD; in texunit_needs_combiners()
Dnv04_state_frag.c290 nv04->blend |= get_texenv_mode(ctx->Texture.Unit[0].EnvMode); in nv04_emit_tex_env()
/external/mesa3d/src/mesa/swrast/
Ds_texcombine.c321 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
342 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
456 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
471 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
Ds_triangle.c557 info.envmode = unit->EnvMode; \
824 info.envmode = unit->EnvMode; \
1069 envMode = ctx->Texture.Unit[0].EnvMode; in _swrast_choose_triangle()
1088 && ctx->Texture.Unit[0].EnvMode != GL_COMBINE_EXT in _swrast_choose_triangle()
1089 && ctx->Texture.Unit[0].EnvMode != GL_COMBINE4_NV) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h154 GLuint EnvMode; /* unit[0] only */ member
Dmeta.c636 save->EnvMode = ctx->Texture.Unit[0].EnvMode; in _mesa_meta_begin()
1053 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, save->EnvMode); in _mesa_meta_end()