Home
last modified time | relevance | path

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

/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/main/
Dtexstate.c82 dst->Texture.Unit[u].EnvMode = src->Texture.Unit[u].EnvMode; in _mesa_copy_texture_state()
126 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_lookup_enum_by_nr(texUnit->EnvMode)); in _mesa_print_texunit_state()
401 if (texUnit->EnvMode == GL_COMBINE || in update_tex_combine()
402 texUnit->EnvMode == GL_COMBINE4_NV) { in update_tex_combine()
412 calculate_derived_texenv(&texUnit->_EnvMode, texUnit->EnvMode, format); in update_tex_combine()
425 if (texUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
461 if (texUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
753 texUnit->EnvMode = GL_MODULATE; in init_texture_unit()
Dtexenv.c55 if (texUnit->EnvMode == mode) in set_env_mode()
80 texUnit->EnvMode = mode; in set_env_mode()
578 return texUnit->EnvMode; in get_texenvi()
Dff_fragment_shader.cpp458 translate_mode(texUnit->EnvMode, comb->ModeRGB); in make_state_key()
460 translate_mode(texUnit->EnvMode, comb->ModeA); in make_state_key()
Dmtypes.h1389 GLenum EnvMode; /**< GL_MODULATE, GL_DECAL, GL_BLEND, etc. */ member
Dattrib.c703 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit->EnvMode); in pop_texture_group()
/external/mesa3d/src/mesa/swrast/
Ds_triangle.c556 info.envmode = unit->EnvMode; \
823 info.envmode = unit->EnvMode; \
1068 envMode = ctx->Texture.Unit[0].EnvMode; in _swrast_choose_triangle()
1086 && ctx->Texture.Unit[0].EnvMode != GL_COMBINE_EXT in _swrast_choose_triangle()
1087 && ctx->Texture.Unit[0].EnvMode != GL_COMBINE4_NV) { in _swrast_choose_triangle()
Ds_texcombine.c321 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
342 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
466 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
481 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c162 GLuint EnvMode; /* unit[0] only */ member
661 save->EnvMode = ctx->Texture.Unit[0].EnvMode; in _mesa_meta_begin()
1014 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, save->EnvMode); in _mesa_meta_end()