Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c21 intel_update_max_level(struct intel_texture_object *intelObj, in intel_update_max_level() argument
24 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level()
34 if (intelObj->_MaxLevel != maxlevel) { in intel_update_max_level()
35 intelObj->_MaxLevel = maxlevel; in intel_update_max_level()
36 intelObj->needs_validate = true; in intel_update_max_level()
47 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree() local
60 assert(intelObj->base._BaseComplete); in intel_finalize_mipmap_tree()
64 intel_update_max_level(intelObj, sampler); in intel_finalize_mipmap_tree()
65 if (intelObj->mt && intelObj->mt->first_level != tObj->BaseLevel) in intel_finalize_mipmap_tree()
66 intelObj->needs_validate = true; in intel_finalize_mipmap_tree()
[all …]
Dintel_tex_image.c33 struct intel_texture_object *intelObj, in intel_miptree_create_for_teximage() argument
47 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
49 (intelObj->base.Target != GL_TEXTURE_1D && height == 1) || in intel_miptree_create_for_teximage()
50 (intelObj->base.Target == GL_TEXTURE_3D && depth == 1))) { in intel_miptree_create_for_teximage()
62 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
65 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
81 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
82 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
87 _mesa_get_tex_max_num_levels(intelObj->base.Target, in intel_miptree_create_for_teximage()
93 intelObj->base.Target, in intel_miptree_create_for_teximage()
[all …]
Di830_texstate.c121 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i830_update_tex_unit() local
146 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, in i830_update_tex_unit()
149 drm_intel_bo_reference(intelObj->mt->region->bo); in i830_update_tex_unit()
150 i830->state.tex_buffer[unit] = intelObj->mt->region->bo; in i830_update_tex_unit()
151 pitch = intelObj->mt->region->pitch; in i830_update_tex_unit()
156 i830->state.tex_offset[unit] = dst_x * intelObj->mt->cpp + dst_y * pitch; in i830_update_tex_unit()
167 if (intelObj->mt->region->tiling != I915_TILING_NONE) { in i830_update_tex_unit()
169 if (intelObj->mt->region->tiling == I915_TILING_Y) in i830_update_tex_unit()
Dintel_tex.h52 struct intel_texture_object *intelObj,
59 struct intel_texture_object *intelObj,
64 struct intel_texture_object *intelObj,
Di915_texstate.c146 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i915_update_tex_unit() local
171 drm_intel_bo_reference(intelObj->mt->region->bo); in i915_update_tex_unit()
172 i915->state.tex_buffer[unit] = intelObj->mt->region->bo; in i915_update_tex_unit()
173 i915->state.tex_offset[unit] = intelObj->mt->offset; in i915_update_tex_unit()
182 if (intelObj->mt->region->tiling != I915_TILING_NONE) { in i915_update_tex_unit()
184 if (intelObj->mt->region->tiling == I915_TILING_Y) in i915_update_tex_unit()
194 ((((intelObj->mt->region->pitch / 4) - 1) << MS4_PITCH_SHIFT) | in i915_update_tex_unit()
Dintel_tex.c53 struct intel_texture_object *intelObj = intel_texture_object(texObj); in intelDeleteTextureObject() local
55 intel_miptree_release(&intelObj->mt); in intelDeleteTextureObject()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c46 intel_update_max_level(struct intel_texture_object *intelObj, in intel_update_max_level() argument
49 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level()
55 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
57 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
72 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree() local
86 assert(intelObj->base._BaseComplete); in intel_finalize_mipmap_tree()
88 intel_update_max_level(intelObj, sampler); in intel_finalize_mipmap_tree()
92 int validate_last_level = intelObj->_MaxLevel; in intel_finalize_mipmap_tree()
98 if (!intelObj->needs_validate && in intel_finalize_mipmap_tree()
99 validate_first_level >= intelObj->validated_first_level && in intel_finalize_mipmap_tree()
[all …]
Dintel_tex_image.c54 struct intel_texture_object *intelObj, in intel_miptree_create_for_teximage() argument
61 const struct intel_mipmap_tree *old_mt = intelObj->mt; in intel_miptree_create_for_teximage()
77 switch(intelObj->base.Target) { in intel_miptree_create_for_teximage()
109 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
110 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
112 !intelObj->base.GenerateMipmap) { in intel_miptree_create_for_teximage()
115 lastLevel = _mesa_get_tex_max_num_levels(intelObj->base.Target, in intel_miptree_create_for_teximage()
120 intelObj->base.Target, in intel_miptree_create_for_teximage()
Dintel_tex.h49 struct intel_texture_object *intelObj,
Dintel_tex.c55 struct intel_texture_object *intelObj = intel_texture_object(texObj); in intelDeleteTextureObject() local
57 intel_miptree_release(&intelObj->mt); in intelDeleteTextureObject()