Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_copy.c50 struct intel_texture_image *intelImage, in intel_copy_texsubimage() argument
57 const GLenum internalFormat = intelImage->base.Base.InternalFormat; in intel_copy_texsubimage()
63 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
66 __FUNCTION__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage()
77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage()
83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage()
91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
101 intel_miptree_get_image_offset(intelImage->mt, in intel_copy_texsubimage()
102 intelImage->base.Base.Level, in intel_copy_texsubimage()
[all …]
Dintel_tex_subimage.c52 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_blit_texsubimage() local
63 if (!intelImage->mt) in intel_blit_texsubimage()
67 if (intelImage->mt->region->tiling == I915_TILING_Y) in intel_blit_texsubimage()
79 if (!drm_intel_bo_busy(intelImage->mt->region->bo)) in intel_blit_texsubimage()
96 intelImage->mt->cpp, in intel_blit_texsubimage()
113 intel_miptree_get_image_offset(intelImage->mt, texImage->Level, in intel_blit_texsubimage()
114 intelImage->base.Base.Face, 0, in intel_blit_texsubimage()
129 unsigned int dst_pitch = intelImage->mt->region->pitch * in intel_blit_texsubimage()
130 intelImage->mt->cpp; in intel_blit_texsubimage()
135 intelImage->mt->cpp, in intel_blit_texsubimage()
[all …]
Dintel_tex_image.c35 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
43 intel_miptree_get_dimensions_for_image(&intelImage->base.Base, in intel_miptree_create_for_teximage()
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
57 firstLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
69 for (i = intelImage->base.Base.Level; i > firstLevel; i--) { in intel_miptree_create_for_teximage()
84 intelImage->base.Base.Level == firstLevel && in intel_miptree_create_for_teximage()
96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
138 struct intel_texture_image *intelImage = intel_texture_image(image); in try_pbo_upload() local
[all …]
Dintel_tex.c142 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
146 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
148 if (intelImage->base.Buffer) { in intel_free_texture_image_buffer()
149 _mesa_align_free(intelImage->base.Buffer); in intel_free_texture_image_buffer()
150 intelImage->base.Buffer = NULL; in intel_free_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c102 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
105 if (intelImage == NULL) in intel_finalize_mipmap_tree()
108 if (intelObj->mt != intelImage->mt) { in intel_finalize_mipmap_tree()
109 intel_miptree_copy_teximage(intel, intelImage, intelObj->mt); in intel_finalize_mipmap_tree()
Dintel_mipmap_tree.c569 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
570 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
745 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
748 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
749 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
750 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
751 GLuint depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
757 intel_miptree_reference(&intelImage->mt, dst_mt); in intel_miptree_copy_teximage()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_copy.c50 struct intel_texture_image *intelImage, in intel_copy_texsubimage() argument
57 const GLenum internalFormat = intelImage->base.Base.InternalFormat; in intel_copy_texsubimage()
63 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
66 __FUNCTION__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage()
77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage()
83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage()
91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
101 intel_miptree_get_image_offset(intelImage->mt, in intel_copy_texsubimage()
102 intelImage->base.Base.Level, in intel_copy_texsubimage()
[all …]
Dintel_tex_subimage.c52 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_blit_texsubimage() local
63 if (!intelImage->mt) in intel_blit_texsubimage()
67 if (intelImage->mt->region->tiling == I915_TILING_Y) in intel_blit_texsubimage()
79 if (!drm_intel_bo_busy(intelImage->mt->region->bo)) in intel_blit_texsubimage()
96 intelImage->mt->cpp, in intel_blit_texsubimage()
113 intel_miptree_get_image_offset(intelImage->mt, texImage->Level, in intel_blit_texsubimage()
114 intelImage->base.Base.Face, 0, in intel_blit_texsubimage()
129 unsigned int dst_pitch = intelImage->mt->region->pitch * in intel_blit_texsubimage()
130 intelImage->mt->cpp; in intel_blit_texsubimage()
135 intelImage->mt->cpp, in intel_blit_texsubimage()
[all …]
Dintel_tex_image.c35 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
43 intel_miptree_get_dimensions_for_image(&intelImage->base.Base, in intel_miptree_create_for_teximage()
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
57 firstLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
69 for (i = intelImage->base.Base.Level; i > firstLevel; i--) { in intel_miptree_create_for_teximage()
84 intelImage->base.Base.Level == firstLevel && in intel_miptree_create_for_teximage()
96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
138 struct intel_texture_image *intelImage = intel_texture_image(image); in try_pbo_upload() local
[all …]
Dintel_tex.c142 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
146 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
148 if (intelImage->base.Buffer) { in intel_free_texture_image_buffer()
149 _mesa_align_free(intelImage->base.Buffer); in intel_free_texture_image_buffer()
150 intelImage->base.Buffer = NULL; in intel_free_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c102 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
105 if (intelImage == NULL) in intel_finalize_mipmap_tree()
108 if (intelObj->mt != intelImage->mt) { in intel_finalize_mipmap_tree()
109 intel_miptree_copy_teximage(intel, intelImage, intelObj->mt); in intel_finalize_mipmap_tree()
Dintel_tex.h55 struct intel_texture_image *intelImage,
82 struct intel_texture_image *intelImage,
Dintel_mipmap_tree.c569 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
570 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
745 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
748 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
749 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
750 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
751 GLuint depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
757 intel_miptree_reference(&intelImage->mt, dst_mt); in intel_miptree_copy_teximage()
Dintel_mipmap_tree.h457 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
57 const GLenum internalFormat = intelImage->base.Base.InternalFormat; in intel_copy_texsubimage()
63 if (!intelImage->mt || !irb || !irb->mt) { in intel_copy_texsubimage()
66 __FUNCTION__, intelImage->mt, irb, internalFormat); in intel_copy_texsubimage()
73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); in intel_copy_texsubimage()
77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { in intel_copy_texsubimage()
83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { in intel_copy_texsubimage()
91 _mesa_get_format_name(intelImage->base.Base.TexFormat), in intel_copy_texsubimage()
101 intel_miptree_get_image_offset(intelImage->mt, in intel_copy_texsubimage()
102 intelImage->base.Base.Level, in intel_copy_texsubimage()
[all …]
Dintel_tex_subimage.c52 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_blit_texsubimage() local
63 if (!intelImage->mt) in intel_blit_texsubimage()
67 if (intelImage->mt->region->tiling == I915_TILING_Y) in intel_blit_texsubimage()
79 if (!drm_intel_bo_busy(intelImage->mt->region->bo)) in intel_blit_texsubimage()
96 intelImage->mt->cpp, in intel_blit_texsubimage()
113 intel_miptree_get_image_offset(intelImage->mt, texImage->Level, in intel_blit_texsubimage()
114 intelImage->base.Base.Face, 0, in intel_blit_texsubimage()
129 unsigned int dst_pitch = intelImage->mt->region->pitch * in intel_blit_texsubimage()
130 intelImage->mt->cpp; in intel_blit_texsubimage()
135 intelImage->mt->cpp, in intel_blit_texsubimage()
[all …]
Dintel_tex_image.c35 struct intel_texture_image *intelImage, in intel_miptree_create_for_teximage() argument
43 intel_miptree_get_dimensions_for_image(&intelImage->base.Base, in intel_miptree_create_for_teximage()
48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && in intel_miptree_create_for_teximage()
57 firstLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
58 lastLevel = intelImage->base.Base.Level; in intel_miptree_create_for_teximage()
63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) in intel_miptree_create_for_teximage()
69 for (i = intelImage->base.Base.Level; i > firstLevel; i--) { in intel_miptree_create_for_teximage()
84 intelImage->base.Base.Level == firstLevel && in intel_miptree_create_for_teximage()
96 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
138 struct intel_texture_image *intelImage = intel_texture_image(image); in try_pbo_upload() local
[all …]
Dintel_tex.c142 struct intel_texture_image *intelImage = intel_texture_image(texImage); in intel_free_texture_image_buffer() local
146 intel_miptree_release(&intelImage->mt); in intel_free_texture_image_buffer()
148 if (intelImage->base.Buffer) { in intel_free_texture_image_buffer()
149 _mesa_align_free(intelImage->base.Buffer); in intel_free_texture_image_buffer()
150 intelImage->base.Buffer = NULL; in intel_free_texture_image_buffer()
153 if (intelImage->base.ImageOffsets) { in intel_free_texture_image_buffer()
154 free(intelImage->base.ImageOffsets); in intel_free_texture_image_buffer()
155 intelImage->base.ImageOffsets = NULL; in intel_free_texture_image_buffer()
Dintel_tex_validate.c102 struct intel_texture_image *intelImage = in intel_finalize_mipmap_tree() local
105 if (intelImage == NULL) in intel_finalize_mipmap_tree()
108 if (intelObj->mt != intelImage->mt) { in intel_finalize_mipmap_tree()
109 intel_miptree_copy_teximage(intel, intelImage, intelObj->mt); in intel_finalize_mipmap_tree()
Dintel_mipmap_tree.c569 struct intel_texture_image *intelImage = intel_texture_image(image); in intel_miptree_match_image() local
570 GLuint level = intelImage->base.Base.Level; in intel_miptree_match_image()
745 struct intel_texture_image *intelImage, in intel_miptree_copy_teximage() argument
748 struct intel_mipmap_tree *src_mt = intelImage->mt; in intel_miptree_copy_teximage()
749 int level = intelImage->base.Base.Level; in intel_miptree_copy_teximage()
750 int face = intelImage->base.Base.Face; in intel_miptree_copy_teximage()
751 GLuint depth = intelImage->base.Base.Depth; in intel_miptree_copy_teximage()
757 intel_miptree_reference(&intelImage->mt, dst_mt); in intel_miptree_copy_teximage()