Home
last modified time | relevance | path

Searched refs:CurrentUnit (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c234 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_enable()
235 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_enable()
241 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_enable()
374 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen()
378 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen()
389 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_env()
392 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_tex_env()
410 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter()
417 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter()
Dnouveau_texture.c508 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_teximage()
509 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_teximage()
675 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer()
676 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer()
/external/mesa3d/src/mesa/main/
Dtexenv.c395 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_TexEnvfv()
467 if (ctx->Point.CoordReplace & (1u << ctx->Texture.CurrentUnit)) in _mesa_TexEnvfv()
469 ctx->Point.CoordReplace |= (1u << ctx->Texture.CurrentUnit); in _mesa_TexEnvfv()
471 if (~(ctx->Point.CoordReplace) & (1u << ctx->Texture.CurrentUnit)) in _mesa_TexEnvfv()
473 ctx->Point.CoordReplace &= ~(1u << ctx->Texture.CurrentUnit); in _mesa_TexEnvfv()
640 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnvfv()
680 if (ctx->Point.CoordReplace & (1u << ctx->Texture.CurrentUnit)) in _mesa_GetTexEnvfv()
706 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnviv()
744 if (ctx->Point.CoordReplace & (1u << ctx->Texture.CurrentUnit)) in _mesa_GetTexEnviv()
Dmatrix.c172 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_MatrixMode()
175 ctx->Texture.CurrentUnit); in _mesa_MatrixMode()
179 assert(ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->TextureMatrixStack)); in _mesa_MatrixMode()
180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in _mesa_MatrixMode()
238 ctx->Texture.CurrentUnit); in _mesa_PushMatrix()
297 ctx->Texture.CurrentUnit); in _mesa_PopMatrix()
Dtexgen.c84 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_TexGenfv()
296 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGendv()
333 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGenfv()
378 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGeniv()
Dtexstate.h54 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit()
Dget.c662 unit = ctx->Texture.CurrentUnit; in find_custom_value()
670 unit = ctx->Texture.CurrentUnit; in find_custom_value()
700 unit = ctx->Texture.CurrentUnit; in find_custom_value()
704 unit = ctx->Texture.CurrentUnit; in find_custom_value()
717 v->value_int = GL_TEXTURE0_ARB + ctx->Texture.CurrentUnit; in find_custom_value()
845 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1023 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1030 ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value()
1036 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value()
1044 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler; in find_custom_value()
[all …]
Dtexstate.c74 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state()
295 if (ctx->Texture.CurrentUnit == texUnit) in active_texture()
323 ctx->Texture.CurrentUnit = texUnit; in active_texture()
1040 ctx->Texture.CurrentUnit = 0; /* multitexture */ in _mesa_init_texture()
Deval.c338 if (ctx->Texture.CurrentUnit != 0) { in map1()
431 if (ctx->Texture.CurrentUnit != 0) { in map2()
Denable.c203 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit()
208 return &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; in get_texcoord_unit()
1297 &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; in is_texture_enabled()
Dtexobj.c1716 bind_texture_object(ctx, ctx->Texture.CurrentUnit, tex_obj); in _mesa_bind_texture()
1787 bind_texture_object(ctx, ctx->Texture.CurrentUnit, newTexObj); in bind_texture()
Dtexparam.c130 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in get_texobj_by_target()
1707 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in get_tex_level_parameteriv()
Dattrib.c574 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in pop_enable_group()
903 _mesa_ActiveTexture(GL_TEXTURE0_ARB + texstate->Texture.CurrentUnit); in pop_texture_group()
Dmtypes.h1297 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.cpp2222 for (auto &CurrentUnit : CompileUnits) { in cloneAllCompileUnits() local
2223 auto InputDIE = CurrentUnit->getOrigUnit().getUnitDIE(); in cloneAllCompileUnits()
2224 CurrentUnit->setStartOffset(Linker.OutputDebugInfoSize); in cloneAllCompileUnits()
2226 Linker.OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(); in cloneAllCompileUnits()
2229 if (CurrentUnit->getInfo(0).Keep) { in cloneAllCompileUnits()
2232 CurrentUnit->createOutputDIE(); in cloneAllCompileUnits()
2233 cloneDIE(InputDIE, DMO, *CurrentUnit, StringPool, 0 /* PC offset */, in cloneAllCompileUnits()
2234 11 /* Unit Header size */, 0, CurrentUnit->getOutputUnitDIE()); in cloneAllCompileUnits()
2236 Linker.OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(); in cloneAllCompileUnits()
2244 Linker.patchLineTableForUnit(*CurrentUnit, DwarfContext, Ranges, DMO); in cloneAllCompileUnits()
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c200 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in _mesa_meta_GenerateMipmap()
238 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, mipmap->samp_obj); in _mesa_meta_GenerateMipmap()
367 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj_save); in _mesa_meta_GenerateMipmap()
Dmeta_blit.c836 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in _mesa_meta_fb_tex_blit_begin()
879 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, blit->samp_obj_save); in _mesa_meta_fb_tex_blit_end()
924 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj); in _mesa_meta_setup_sampler()
Dmeta.c635 save->ActiveUnit = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
672 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
1050 assert(ctx->Texture.CurrentUnit == 0); in _mesa_meta_end()
1083 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_end()
3060 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in decompress_texture_image()
3140 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, decompress->samp_obj); in decompress_texture_image()
3234 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj_save); in decompress_texture_image()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp3387 for (auto &CurrentUnit : CompileUnits) { in cloneAllCompileUnits() local
3388 const auto *InputDIE = CurrentUnit.getOrigUnit().getUnitDIE(); in cloneAllCompileUnits()
3389 CurrentUnit.setStartOffset(Linker.OutputDebugInfoSize); in cloneAllCompileUnits()
3390 DIE *OutputDIE = cloneDIE(*InputDIE, CurrentUnit, 0 /* PC offset */, in cloneAllCompileUnits()
3392 CurrentUnit.setOutputUnitDIE(OutputDIE); in cloneAllCompileUnits()
3393 Linker.OutputDebugInfoSize = CurrentUnit.computeNextUnitOffset(); in cloneAllCompileUnits()
3399 Linker.patchLineTableForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3402 Linker.patchRangesForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3403 Linker.Streamer->emitLocationsForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3404 Linker.emitAcceleratorEntriesForUnit(CurrentUnit); in cloneAllCompileUnits()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c259 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexEnv()
395 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexGen()
Dradeon_state.c1726 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in radeonEnable()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c299 GLuint unit = ctx->Texture.CurrentUnit; in r200TexEnv()
451 GLuint unit = ctx->Texture.CurrentUnit; in r200TexGen()
Dr200_state.c1933 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in r200Enable()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1659 const GLuint unit = ctx->Texture.CurrentUnit; in XMesaBindTexImage()