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.c44 f->EnvMode == GL_COMBINE || in texunit_needs_combiners()
45 f->EnvMode == GL_COMBINE4_NV || in texunit_needs_combiners()
46 f->EnvMode == GL_BLEND || in texunit_needs_combiners()
47 f->EnvMode == GL_ADD; in texunit_needs_combiners()
Dnv04_state_frag.c290 nv04->blend |= get_texenv_mode(ctx->Texture.FixedFuncUnit[0].EnvMode); in nv04_emit_tex_env()
/external/mesa3d/src/mesa/main/
Dtexstate.c108 dst->Texture.FixedFuncUnit[u].EnvMode = src->Texture.FixedFuncUnit[u].EnvMode; in _mesa_copy_texture_state()
130 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_enum_to_string(texUnit->EnvMode)); in _mesa_print_texunit_state()
487 packed->ModeRGB = tex_combine_translate_mode(texUnit->EnvMode, state->ModeRGB); in pack_tex_combine()
488 packed->ModeA = tex_combine_translate_mode(texUnit->EnvMode, state->ModeA); in pack_tex_combine()
526 if (fftexUnit->EnvMode == GL_COMBINE || in update_tex_combine()
527 fftexUnit->EnvMode == GL_COMBINE4_NV) { in update_tex_combine()
537 calculate_derived_texenv(&fftexUnit->_EnvMode, fftexUnit->EnvMode, format); in update_tex_combine()
550 if (fftexUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
582 if (fftexUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
1039 texUnit->EnvMode = GL_MODULATE; in _mesa_init_texture()
Dtexenv.c56 if (texUnit->EnvMode == mode) in set_env_mode()
81 texUnit->EnvMode = mode; in set_env_mode()
642 return texUnit->EnvMode; in get_texenvi()
Dattrib.c823 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit->EnvMode); in pop_texture_group()
Dmtypes.h1213 GLenum16 EnvMode; /**< GL_MODULATE, GL_DECAL, GL_BLEND, etc. */ member
/external/mesa3d/src/mesa/swrast/
Ds_texcombine.c322 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
343 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
457 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine()
472 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.FixedFuncUnit[0].EnvMode; in _swrast_choose_triangle()
1088 && ctx->Texture.FixedFuncUnit[0].EnvMode != GL_COMBINE_EXT in _swrast_choose_triangle()
1089 && ctx->Texture.FixedFuncUnit[0].EnvMode != GL_COMBINE4_NV) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h153 GLuint EnvMode; /* unit[0] only */ member
Dmeta.c653 save->EnvMode = ctx->Texture.FixedFuncUnit[0].EnvMode; in _mesa_meta_begin()
1075 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, save->EnvMode); in _mesa_meta_end()