Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/mesa/main/
Dtexstate.c106 dst->Texture.FixedFuncUnit[u].EnvMode = src->Texture.FixedFuncUnit[u].EnvMode; in _mesa_copy_texture_state()
134 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_enum_to_string(texUnit->EnvMode)); in _mesa_print_texunit_state()
497 packed->ModeRGB = tex_combine_translate_mode(texUnit->EnvMode, state->ModeRGB); in pack_tex_combine()
498 packed->ModeA = tex_combine_translate_mode(texUnit->EnvMode, state->ModeA); in pack_tex_combine()
536 if (fftexUnit->EnvMode == GL_COMBINE || in update_tex_combine()
537 fftexUnit->EnvMode == GL_COMBINE4_NV) { in update_tex_combine()
547 calculate_derived_texenv(&fftexUnit->_EnvMode, fftexUnit->EnvMode, format); in update_tex_combine()
560 if (fftexUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
592 if (fftexUnit->EnvMode == GL_COMBINE4_NV) in update_tex_combine()
1067 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()
644 return texUnit->EnvMode; in get_texenvi()
Dattrib.c591 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit->EnvMode); in pop_texture_group()
Dmtypes.h1217 GLenum16 EnvMode; /**< GL_MODULATE, GL_DECAL, GL_BLEND, etc. */ member
/third_party/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()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.h153 GLuint EnvMode; /* unit[0] only */ member
Dmeta.c654 save->EnvMode = ctx->Texture.FixedFuncUnit[0].EnvMode; in _mesa_meta_begin()
1077 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, save->EnvMode); in _mesa_meta_end()