Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c20 intel_update_max_level(struct intel_texture_object *intelObj, in intel_update_max_level() argument
23 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level()
27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
29 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
40 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree() local
53 assert(intelObj->base._BaseComplete); in intel_finalize_mipmap_tree()
57 intel_update_max_level(intelObj, sampler); in intel_finalize_mipmap_tree()
68 if (intelObj->mt && in intel_finalize_mipmap_tree()
69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || in intel_finalize_mipmap_tree()
70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree()
[all …]
Dintel_tex_image.c34 struct intel_texture_object *intelObj, in intel_miptree_create_for_teximage() argument
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
50 (intelObj->base.Target != GL_TEXTURE_1D && height == 1) || in intel_miptree_create_for_teximage()
51 (intelObj->base.Target == GL_TEXTURE_3D && depth == 1))) { in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
87 } else if (intelObj->base.Target == GL_TEXTURE_EXTERNAL_OES) { in intel_miptree_create_for_teximage()
95 intelObj->base.Target, in intel_miptree_create_for_teximage()
[all …]
Dgen7_wm_surface_state.c299 struct intel_texture_object *intelObj = intel_texture_object(tObj); in gen7_update_texture_surface() local
300 struct intel_mipmap_tree *mt = intelObj->mt; in gen7_update_texture_surface()
342 gen7_set_surface_tiling(surf, intelObj->mt->region->tiling); in gen7_update_texture_surface()
352 intelObj->mt->region->bo->offset + intelObj->mt->offset; /* reloc */ in gen7_update_texture_surface()
357 surf->ss3.pitch = (intelObj->mt->region->pitch * intelObj->mt->cpp) - 1; in gen7_update_texture_surface()
362 surf->ss5.mip_count = intelObj->_MaxLevel - tObj->BaseLevel; in gen7_update_texture_surface()
393 intelObj->mt->region->bo, intelObj->mt->offset, in gen7_update_texture_surface()
Dintel_tex.c46 struct intel_texture_object *intelObj = intel_texture_object(texObj); in intelDeleteTextureObject() local
48 intel_miptree_release(&intelObj->mt); in intelDeleteTextureObject()
Dbrw_wm_surface_state.c774 struct intel_texture_object *intelObj = intel_texture_object(tObj); in brw_update_texture_surface() local
775 struct intel_mipmap_tree *mt = intelObj->mt; in brw_update_texture_surface()
800 surf[1] = intelObj->mt->region->bo->offset + intelObj->mt->offset; /* reloc */ in brw_update_texture_surface()
802 surf[2] = ((intelObj->_MaxLevel - tObj->BaseLevel) << BRW_SURFACE_LOD_SHIFT | in brw_update_texture_surface()
806 surf[3] = (brw_get_surface_tiling_bits(intelObj->mt->region->tiling) | in brw_update_texture_surface()
808 ((intelObj->mt->region->pitch * intelObj->mt->cpp) - 1) << in brw_update_texture_surface()
818 intelObj->mt->region->bo, in brw_update_texture_surface()
819 intelObj->mt->offset, in brw_update_texture_surface()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c20 intel_update_max_level(struct intel_texture_object *intelObj, in intel_update_max_level() argument
23 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level()
27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
29 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
40 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree() local
53 assert(intelObj->base._BaseComplete); in intel_finalize_mipmap_tree()
57 intel_update_max_level(intelObj, sampler); in intel_finalize_mipmap_tree()
68 if (intelObj->mt && in intel_finalize_mipmap_tree()
69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || in intel_finalize_mipmap_tree()
70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree()
[all …]
Dintel_tex_image.c34 struct intel_texture_object *intelObj, in intel_miptree_create_for_teximage() argument
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
50 (intelObj->base.Target != GL_TEXTURE_1D && height == 1) || in intel_miptree_create_for_teximage()
51 (intelObj->base.Target == GL_TEXTURE_3D && depth == 1))) { in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
87 } else if (intelObj->base.Target == GL_TEXTURE_EXTERNAL_OES) { in intel_miptree_create_for_teximage()
95 intelObj->base.Target, in intel_miptree_create_for_teximage()
[all …]
Di830_texstate.c123 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i830_update_tex_unit() local
148 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, 0, in i830_update_tex_unit()
151 drm_intel_bo_reference(intelObj->mt->region->bo); in i830_update_tex_unit()
152 i830->state.tex_buffer[unit] = intelObj->mt->region->bo; in i830_update_tex_unit()
153 pitch = intelObj->mt->region->pitch * intelObj->mt->cpp; in i830_update_tex_unit()
158 i830->state.tex_offset[unit] = dst_x * intelObj->mt->cpp + dst_y * pitch; in i830_update_tex_unit()
169 if (intelObj->mt->region->tiling != I915_TILING_NONE) { in i830_update_tex_unit()
171 if (intelObj->mt->region->tiling == I915_TILING_Y) in i830_update_tex_unit()
Di915_texstate.c141 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i915_update_tex_unit() local
166 drm_intel_bo_reference(intelObj->mt->region->bo); in i915_update_tex_unit()
167 i915->state.tex_buffer[unit] = intelObj->mt->region->bo; in i915_update_tex_unit()
168 i915->state.tex_offset[unit] = intelObj->mt->offset; in i915_update_tex_unit()
172 pitch = intelObj->mt->region->pitch * intelObj->mt->cpp; in i915_update_tex_unit()
178 if (intelObj->mt->region->tiling != I915_TILING_NONE) { in i915_update_tex_unit()
180 if (intelObj->mt->region->tiling == I915_TILING_Y) in i915_update_tex_unit()
Dintel_tex.c46 struct intel_texture_object *intelObj = intel_texture_object(texObj); in intelDeleteTextureObject() local
48 intel_miptree_release(&intelObj->mt); in intelDeleteTextureObject()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_validate.c20 intel_update_max_level(struct intel_texture_object *intelObj, in intel_update_max_level() argument
23 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level()
27 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
29 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
40 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree() local
53 assert(intelObj->base._BaseComplete); in intel_finalize_mipmap_tree()
57 intel_update_max_level(intelObj, sampler); in intel_finalize_mipmap_tree()
68 if (intelObj->mt && in intel_finalize_mipmap_tree()
69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || in intel_finalize_mipmap_tree()
70 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree()
[all …]
Dintel_tex_image.c34 struct intel_texture_object *intelObj, in intel_miptree_create_for_teximage() argument
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
50 (intelObj->base.Target != GL_TEXTURE_1D && height == 1) || in intel_miptree_create_for_teximage()
51 (intelObj->base.Target == GL_TEXTURE_3D && depth == 1))) { in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
66 firstLevel = intelObj->base.BaseLevel; in intel_miptree_create_for_teximage()
82 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
83 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
87 } else if (intelObj->base.Target == GL_TEXTURE_EXTERNAL_OES) { in intel_miptree_create_for_teximage()
95 intelObj->base.Target, in intel_miptree_create_for_teximage()
[all …]
Dintel_tex.h54 struct intel_texture_object *intelObj,
61 struct intel_texture_object *intelObj,
66 struct intel_texture_object *intelObj,
70 struct intel_texture_object *intelObj,
74 struct intel_texture_object *intelObj);
Dintel_tex.c46 struct intel_texture_object *intelObj = intel_texture_object(texObj); in intelDeleteTextureObject() local
48 intel_miptree_release(&intelObj->mt); in intelDeleteTextureObject()