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()
55 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
58 __func__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
77 assert(intelImage->base.Base.NumSamples == 0); in intel_copy_texsubimage()
80 int dst_level = intelImage->base.Base.Level + in intel_copy_texsubimage()
81 intelImage->base.Base.TexObject->MinLevel; in intel_copy_texsubimage()
82 int dst_slice = slice + intelImage->base.Base.Face + in intel_copy_texsubimage()
83 intelImage->base.Base.TexObject->MinLayer; in intel_copy_texsubimage()
89 intelImage->mt, dst_level, dst_slice, in intel_copy_texsubimage()
Dintel_tex_validate.c158 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
161 if (intelImage == NULL) in intel_finalize_mipmap_tree()
164 if (intelObj->mt != intelImage->mt) in intel_finalize_mipmap_tree()
165 intel_miptree_copy_teximage(brw, intelImage, intelObj->mt); in intel_finalize_mipmap_tree()
171 assert(intel_miptree_match_image(intelObj->mt, &intelImage->base.Base)); in intel_finalize_mipmap_tree()
Dintel_tex_image.c55 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
62 const unsigned level = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
64 intel_get_image_dims(&intelImage->base.Base, &width, &height, &depth); in intel_miptree_create_for_teximage()
111 intelImage->base.Base.Level == 0 && in intel_miptree_create_for_teximage()
121 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
127 MAX2(intelImage->base.Base.NumSamples, 1), in intel_miptree_create_for_teximage()
Dintel_tex.h50 struct intel_texture_image *intelImage,
Dintel_tex.c189 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
193 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
Dintel_mipmap_tree.c1293 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
1294 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
1604 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
1607 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
1609 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
1610 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
1611 const unsigned face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
1616 assert(intelImage->base.Base.Height); in intel_miptree_copy_teximage()
1618 end_layer = intelImage->base.Base.Height - 1; in intel_miptree_copy_teximage()
1623 assert(intelImage->base.Base.Depth); in intel_miptree_copy_teximage()
[all …]
Dintel_mipmap_tree.h506 struct intel_texture_image *intelImage,
/external/mesa3d/src/mesa/drivers/dri/i915/
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_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_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.c416 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
417 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
642 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
646 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
648 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
649 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
650 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
651 GLuint depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
659 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.h310 struct intel_texture_image *intelImage,