Home
last modified time | relevance | path

Searched refs:intelImage (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_copy.c48 struct intel_texture_image *intelImage, in intel_copy_texsubimage() argument
53 const GLenum internalFormat = intelImage->base.Base.InternalFormat; in intel_copy_texsubimage()
71 assert(intelImage->base.Base.NumSamples == 0); in intel_copy_texsubimage()
73 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
76 __func__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
81 int dst_level = intelImage->base.Base.Level + in intel_copy_texsubimage()
82 intelImage->base.Base.TexObject->MinLevel; in intel_copy_texsubimage()
83 int dst_slice = slice + intelImage->base.Base.Face + in intel_copy_texsubimage()
84 intelImage->base.Base.TexObject->MinLayer; in intel_copy_texsubimage()
86 _mesa_unlock_texture(&brw->ctx, intelImage->base.Base.TexObject); in intel_copy_texsubimage()
[all …]
Dintel_tex_validate.c160 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
163 if (intelImage == NULL) in intel_finalize_mipmap_tree()
166 if (intelObj->mt != intelImage->mt) { in intel_finalize_mipmap_tree()
167 intel_miptree_copy_teximage(brw, intelImage, intelObj->mt, in intel_finalize_mipmap_tree()
175 assert(intel_miptree_match_image(intelObj->mt, &intelImage->base.Base)); in intel_finalize_mipmap_tree()
Dintel_tex_image.c54 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
60 const unsigned level = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
62 intel_get_image_dims(&intelImage->base.Base, &width, &height, &depth); in intel_miptree_create_for_teximage()
101 intelImage->base.Base.Level == 0 && in intel_miptree_create_for_teximage()
111 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
117 intelImage->base.Base.NumSamples, in intel_miptree_create_for_teximage()
128 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intelTexImage() local
131 bool tex_busy = intelImage->mt && drm_intel_bo_busy(intelImage->mt->bo); in intelTexImage()
145 assert(intelImage->mt); in intelTexImage()
147 if (intelImage->mt->format == MESA_FORMAT_S_UINT8) in intelTexImage()
[all …]
Dintel_tex.h51 struct intel_texture_image *intelImage,
Dintel_tex.c187 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
191 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
Dintel_mipmap_tree.c1041 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
1042 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
1415 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
1419 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
1421 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
1422 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
1423 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
1427 depth = intelImage->base.Base.Height; in intel_miptree_copy_teximage()
1429 depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
1437 intel_miptree_reference(&intelImage->mt, dst_mt); in intel_miptree_copy_teximage()
Dintel_mipmap_tree.h835 struct intel_texture_image *intelImage,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_copy.c50 struct intel_texture_image *intelImage, in intel_copy_texsubimage() argument
55 const GLenum internalFormat = intelImage->base.Base.InternalFormat; in intel_copy_texsubimage()
59 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
62 __func__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
70 intelImage->mt, intelImage->base.Base.Level, in intel_copy_texsubimage()
71 intelImage->base.Base.Face + slice, in intel_copy_texsubimage()
Dintel_tex_image.c34 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
42 intel_miptree_get_dimensions_for_image(&intelImage->base.Base, in intel_miptree_create_for_teximage()
47 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
56 firstLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
57 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
62 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
68 for (i = intelImage->base.Base.Level; i > firstLevel; i--) { in intel_miptree_create_for_teximage()
83 intelImage->base.Base.Level == firstLevel) { in intel_miptree_create_for_teximage()
94 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
112 struct intel_texture_image *intelImage = intel_texture_image(image); in try_pbo_upload() local
[all …]
Dintel_tex_subimage.c55 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_blit_texsubimage() local
60 if (!intelImage->mt) in intel_blit_texsubimage()
64 if (intelImage->mt->region->tiling == I915_TILING_Y) in intel_blit_texsubimage()
70 if (!drm_intel_bo_busy(intelImage->mt->region->bo)) in intel_blit_texsubimage()
112 intelImage->mt, texImage->Level, texImage->Face, in intel_blit_texsubimage()
Dintel_tex_validate.c119 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
122 if (intelImage == NULL) in intel_finalize_mipmap_tree()
125 if (intelObj->mt != intelImage->mt) { in intel_finalize_mipmap_tree()
126 intel_miptree_copy_teximage(intel, intelImage, intelObj->mt, in intel_finalize_mipmap_tree()
134 assert(intel_miptree_match_image(intelObj->mt, &intelImage->base.Base)); in intel_finalize_mipmap_tree()
Dintel_mipmap_tree.c434 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
435 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
675 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
679 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
681 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
682 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
683 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
684 GLuint depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
692 intel_miptree_reference(&intelImage->mt, dst_mt); in intel_miptree_copy_teximage()
Dintel_tex.c111 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
115 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
Dintel_tex.h53 struct intel_texture_image *intelImage,
Dintel_mipmap_tree.h337 struct intel_texture_image *intelImage,