Home
last modified time | relevance | path

Searched refs:intel_image (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c122 struct intel_texture_image *intel_image, in intel_tex_map_image_for_swrast() argument
130 if (!intel_image || !intel_image->mt) in intel_tex_map_image_for_swrast()
133 level = intel_image->base.Base.Level; in intel_tex_map_image_for_swrast()
134 face = intel_image->base.Base.Face; in intel_tex_map_image_for_swrast()
135 mt = intel_image->mt; in intel_tex_map_image_for_swrast()
150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
155 intel_image->base.Map = intel_region_map(intel, mt->region, mode); in intel_tex_map_image_for_swrast()
157 assert(intel_image->base.Base.Depth == 1); in intel_tex_map_image_for_swrast()
163 intel_image->base.Map = intel_region_map(intel, mt->region, mode) + in intel_tex_map_image_for_swrast()
167 intel_image->base.RowStride = mt->region->pitch; in intel_tex_map_image_for_swrast()
[all …]
Dintel_tex.c57 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_image_buffer() local
82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
89 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_image_buffer()
94 intel_image->mt = intel_miptree_create_for_teximage(intel, intel_texobj, in intel_alloc_texture_image_buffer()
95 intel_image, in intel_alloc_texture_image_buffer()
103 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_alloc_texture_image_buffer()
107 image->Width, image->Height, image->Depth, intel_image->mt); in intel_alloc_texture_image_buffer()
176 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image() local
177 struct intel_mipmap_tree *mt = intel_image->mt; in intel_map_texture_image()
[all …]
Dintel_blit.c531 struct intel_texture_image *intel_image) in intel_set_teximage_alpha_to_one() argument
539 struct intel_region *region = intel_image->mt->region; in intel_set_teximage_alpha_to_one()
543 intel_miptree_get_dimensions_for_image(&intel_image->base.Base, in intel_set_teximage_alpha_to_one()
547 assert(intel_image->base.Base.TexFormat == MESA_FORMAT_ARGB8888); in intel_set_teximage_alpha_to_one()
550 intel_miptree_get_image_offset(intel_image->mt, in intel_set_teximage_alpha_to_one()
551 intel_image->base.Base.Level, in intel_set_teximage_alpha_to_one()
552 intel_image->base.Base.Face, in intel_set_teximage_alpha_to_one()
566 intel_image->mt->region->bo, (pitch * cpp), in intel_set_teximage_alpha_to_one()
Dintel_tex_image.c244 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_set_texture_image_region() local
254 intel_image->mt = intel_miptree_create_for_region(intel, target, in intel_set_texture_image_region()
257 if (intel_image->mt == NULL) in intel_set_texture_image_region()
260 intel_image->mt->offset = offset; in intel_set_texture_image_region()
261 intel_image->base.RowStride = region->pitch; in intel_set_texture_image_region()
264 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_set_texture_image_region()
Dintel_fbo.c519 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_renderbuffer_update_wrapper() local
520 struct intel_mipmap_tree *mt = intel_image->mt; in intel_renderbuffer_update_wrapper()
606 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_render_texture() local
607 struct intel_mipmap_tree *mt = intel_image->mt; in intel_render_texture()
619 if (!intel_image->mt) { in intel_render_texture()
Dbrw_wm_surface_state.c1140 struct intel_texture_image *intel_image = in brw_update_renderbuffer_surface() local
1148 intel_image->base.Base.TexFormat, in brw_update_renderbuffer_surface()
1149 intel_image->base.Base.Level, in brw_update_renderbuffer_surface()
1150 intel_image->base.Base.Level, in brw_update_renderbuffer_surface()
1156 intel_miptree_copy_teximage(intel, intel_image, new_mt); in brw_update_renderbuffer_surface()
1157 intel_miptree_reference(&irb->mt, intel_image->mt); in brw_update_renderbuffer_surface()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c122 struct intel_texture_image *intel_image, in intel_tex_map_image_for_swrast() argument
130 if (!intel_image || !intel_image->mt) in intel_tex_map_image_for_swrast()
133 level = intel_image->base.Base.Level; in intel_tex_map_image_for_swrast()
134 face = intel_image->base.Base.Face; in intel_tex_map_image_for_swrast()
135 mt = intel_image->mt; in intel_tex_map_image_for_swrast()
150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
155 intel_image->base.Map = intel_region_map(intel, mt->region, mode); in intel_tex_map_image_for_swrast()
157 assert(intel_image->base.Base.Depth == 1); in intel_tex_map_image_for_swrast()
163 intel_image->base.Map = intel_region_map(intel, mt->region, mode) + in intel_tex_map_image_for_swrast()
167 intel_image->base.RowStride = mt->region->pitch; in intel_tex_map_image_for_swrast()
[all …]
Dintel_tex.c57 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_image_buffer() local
82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
89 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_image_buffer()
94 intel_image->mt = intel_miptree_create_for_teximage(intel, intel_texobj, in intel_alloc_texture_image_buffer()
95 intel_image, in intel_alloc_texture_image_buffer()
103 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_alloc_texture_image_buffer()
107 image->Width, image->Height, image->Depth, intel_image->mt); in intel_alloc_texture_image_buffer()
176 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image() local
177 struct intel_mipmap_tree *mt = intel_image->mt; in intel_map_texture_image()
[all …]
Dintel_blit.c531 struct intel_texture_image *intel_image) in intel_set_teximage_alpha_to_one() argument
539 struct intel_region *region = intel_image->mt->region; in intel_set_teximage_alpha_to_one()
543 intel_miptree_get_dimensions_for_image(&intel_image->base.Base, in intel_set_teximage_alpha_to_one()
547 assert(intel_image->base.Base.TexFormat == MESA_FORMAT_ARGB8888); in intel_set_teximage_alpha_to_one()
550 intel_miptree_get_image_offset(intel_image->mt, in intel_set_teximage_alpha_to_one()
551 intel_image->base.Base.Level, in intel_set_teximage_alpha_to_one()
552 intel_image->base.Base.Face, in intel_set_teximage_alpha_to_one()
566 intel_image->mt->region->bo, (pitch * cpp), in intel_set_teximage_alpha_to_one()
Dintel_tex_image.c244 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_set_texture_image_region() local
254 intel_image->mt = intel_miptree_create_for_region(intel, target, in intel_set_texture_image_region()
257 if (intel_image->mt == NULL) in intel_set_texture_image_region()
260 intel_image->mt->offset = offset; in intel_set_texture_image_region()
261 intel_image->base.RowStride = region->pitch; in intel_set_texture_image_region()
264 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_set_texture_image_region()
Dintel_fbo.c519 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_renderbuffer_update_wrapper() local
520 struct intel_mipmap_tree *mt = intel_image->mt; in intel_renderbuffer_update_wrapper()
606 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_render_texture() local
607 struct intel_mipmap_tree *mt = intel_image->mt; in intel_render_texture()
619 if (!intel_image->mt) { in intel_render_texture()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_validate.c122 struct intel_texture_image *intel_image, in intel_tex_map_image_for_swrast() argument
130 if (!intel_image || !intel_image->mt) in intel_tex_map_image_for_swrast()
133 level = intel_image->base.Base.Level; in intel_tex_map_image_for_swrast()
134 face = intel_image->base.Base.Face; in intel_tex_map_image_for_swrast()
135 mt = intel_image->mt; in intel_tex_map_image_for_swrast()
150 intel_image->base.ImageOffsets[i] = x + y * mt->region->pitch; in intel_tex_map_image_for_swrast()
155 intel_image->base.Map = intel_region_map(intel, mt->region, mode); in intel_tex_map_image_for_swrast()
157 assert(intel_image->base.Base.Depth == 1); in intel_tex_map_image_for_swrast()
163 intel_image->base.Map = intel_region_map(intel, mt->region, mode) + in intel_tex_map_image_for_swrast()
167 intel_image->base.RowStride = mt->region->pitch; in intel_tex_map_image_for_swrast()
[all …]
Dintel_tex.c57 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_image_buffer() local
82 assert(!intel_image->base.ImageOffsets); in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
89 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_image_buffer()
94 intel_image->mt = intel_miptree_create_for_teximage(intel, intel_texobj, in intel_alloc_texture_image_buffer()
95 intel_image, in intel_alloc_texture_image_buffer()
103 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_alloc_texture_image_buffer()
107 image->Width, image->Height, image->Depth, intel_image->mt); in intel_alloc_texture_image_buffer()
176 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image() local
177 struct intel_mipmap_tree *mt = intel_image->mt; in intel_map_texture_image()
[all …]
Dintel_blit.c531 struct intel_texture_image *intel_image) in intel_set_teximage_alpha_to_one() argument
539 struct intel_region *region = intel_image->mt->region; in intel_set_teximage_alpha_to_one()
543 intel_miptree_get_dimensions_for_image(&intel_image->base.Base, in intel_set_teximage_alpha_to_one()
547 assert(intel_image->base.Base.TexFormat == MESA_FORMAT_ARGB8888); in intel_set_teximage_alpha_to_one()
550 intel_miptree_get_image_offset(intel_image->mt, in intel_set_teximage_alpha_to_one()
551 intel_image->base.Base.Level, in intel_set_teximage_alpha_to_one()
552 intel_image->base.Base.Face, in intel_set_teximage_alpha_to_one()
566 intel_image->mt->region->bo, (pitch * cpp), in intel_set_teximage_alpha_to_one()
Dintel_tex_image.c244 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_set_texture_image_region() local
254 intel_image->mt = intel_miptree_create_for_region(intel, target, in intel_set_texture_image_region()
257 if (intel_image->mt == NULL) in intel_set_texture_image_region()
260 intel_image->mt->offset = offset; in intel_set_texture_image_region()
261 intel_image->base.RowStride = region->pitch; in intel_set_texture_image_region()
264 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_set_texture_image_region()
Dintel_fbo.c519 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_renderbuffer_update_wrapper() local
520 struct intel_mipmap_tree *mt = intel_image->mt; in intel_renderbuffer_update_wrapper()
606 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_render_texture() local
607 struct intel_mipmap_tree *mt = intel_image->mt; in intel_render_texture()
619 if (!intel_image->mt) { in intel_render_texture()
Dintel_blit.h73 struct intel_texture_image *intel_image);