Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c65 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_image_buffer() local
82 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_image_buffer()
87 intel_image->mt = intel_miptree_create_for_teximage(intel, intel_texobj, in intel_alloc_texture_image_buffer()
88 intel_image, in intel_alloc_texture_image_buffer()
96 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_alloc_texture_image_buffer()
100 image->Width, image->Height, image->Depth, intel_image->mt); in intel_alloc_texture_image_buffer()
138 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image() local
139 struct intel_mipmap_tree *mt = intel_image->mt; in intel_map_texture_image()
159 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_unmap_texture_image() local
160 struct intel_mipmap_tree *mt = intel_image->mt; in intel_unmap_texture_image()
Dintel_tex_image.c224 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_set_texture_image_region() local
236 intel_image->mt = intel_miptree_create_layout(intel, target, image->TexFormat, in intel_set_texture_image_region()
239 if (intel_image->mt == NULL) in intel_set_texture_image_region()
241 intel_region_reference(&intel_image->mt->region, region); in intel_set_texture_image_region()
242 intel_image->mt->total_width = width; in intel_set_texture_image_region()
243 intel_image->mt->total_height = height; in intel_set_texture_image_region()
244 intel_image->mt->level[0].slice[0].x_offset = tile_x; in intel_set_texture_image_region()
245 intel_image->mt->level[0].slice[0].y_offset = tile_y; in intel_set_texture_image_region()
247 intel_miptree_get_tile_offsets(intel_image->mt, 0, 0, &draw_x, &draw_y); in intel_set_texture_image_region()
256 intel_miptree_release(&intel_image->mt); in intel_set_texture_image_region()
[all …]
Dintel_fbo.c434 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_renderbuffer_update_wrapper() local
435 struct intel_mipmap_tree *mt = intel_image->mt; in intel_renderbuffer_update_wrapper()
480 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_render_texture() local
481 struct intel_mipmap_tree *mt = intel_image->mt; in intel_render_texture()
493 if (!intel_image->mt) { in intel_render_texture()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c67 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_image_buffer() local
91 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_image_buffer()
96 intel_image->mt = intel_miptree_create_for_teximage(brw, intel_texobj, in intel_alloc_texture_image_buffer()
97 intel_image, in intel_alloc_texture_image_buffer()
99 if (!intel_image->mt) in intel_alloc_texture_image_buffer()
107 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_alloc_texture_image_buffer()
111 image->Width, image->Height, image->Depth, intel_image->mt); in intel_alloc_texture_image_buffer()
164 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_alloc_texture_storage() local
172 intel_miptree_reference(&intel_image->mt, intel_texobj->mt); in intel_alloc_texture_storage()
216 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image() local
[all …]
Dintel_tex_image.c138 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_texsubimage_blorp() local
147 return brw_blorp_upload_miptree(brw, intel_image->mt, tex_image->TexFormat, in intel_texsubimage_blorp()
413 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_set_texture_image_mt() local
423 intel_image->base.RowStride = mt->surf.row_pitch_B / mt->cpp; in intel_set_texture_image_mt()
426 intel_miptree_reference(&intel_image->mt, mt); in intel_set_texture_image_mt()
567 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_bind_renderbuffer_tex_image() local
585 intel_miptree_reference(&intel_image->mt, irb->mt); in intel_bind_renderbuffer_tex_image()
588 intel_miptree_reference(&intel_texobj->mt, intel_image->mt); in intel_bind_renderbuffer_tex_image()
704 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_gettexsubimage_blorp() local
713 return brw_blorp_download_miptree(brw, intel_image->mt, in intel_gettexsubimage_blorp()
Dintel_fbo.c536 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_renderbuffer_update_wrapper() local
537 struct intel_mipmap_tree *mt = intel_image->mt; in intel_renderbuffer_update_wrapper()
597 struct intel_texture_image *intel_image = intel_texture_image(image); in intel_render_texture() local
598 struct intel_mipmap_tree *mt = intel_image->mt; in intel_render_texture()
610 if (!intel_image->mt) { in intel_render_texture()
967 struct intel_texture_image *intel_image = intel_texture_image(rb->TexImage); in intel_renderbuffer_move_to_temp() local
975 intel_image->base.Base.TexFormat, in intel_renderbuffer_move_to_temp()
982 intel_miptree_copy_slice(brw, intel_image->mt, in intel_renderbuffer_move_to_temp()
983 intel_image->base.Base.Level, irb->mt_layer, in intel_renderbuffer_move_to_temp()
DMakefile.sources92 intel_image.h \
Dmeson.build111 'intel_image.h',
Dbrw_blorp.c713 struct intel_texture_image *intel_image = intel_texture_image(dst_image); in brw_blorp_copytexsubimage() local
725 struct intel_mipmap_tree *dst_mt = intel_image->mt; in brw_blorp_copytexsubimage()