Home
last modified time | relevance | path

Searched refs:dst_mt (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c41 struct intel_mipmap_tree *dst_mt, int dst_level, in copy_image_with_memcpy() argument
64 same_slice = src_mt == dst_mt && src_level == dst_level && src_z == dst_z; in copy_image_with_memcpy()
91 intel_miptree_map(brw, dst_mt, dst_level, dst_z, in copy_image_with_memcpy()
108 intel_miptree_unmap(brw, dst_mt, dst_level, dst_z); in copy_image_with_memcpy()
117 struct intel_mipmap_tree *dst_mt, in copy_miptrees() argument
126 dst_mt, dst_level, dst_z, in copy_miptrees()
140 intel_miptree_all_slices_resolve_hiz(brw, dst_mt); in copy_miptrees()
141 intel_miptree_all_slices_resolve_depth(brw, dst_mt); in copy_miptrees()
142 intel_miptree_all_slices_resolve_color(brw, dst_mt, 0); in copy_miptrees()
158 dst_mt, dst_level, dst_z, dst_x, dst_y, in copy_miptrees()
[all …]
Dintel_blit.c222 struct intel_mipmap_tree *dst_mt, in emit_miptree_blit() argument
242 if (blt_pitch(src_mt) >= 32768 || blt_pitch(dst_mt) >= 32768) { in emit_miptree_blit()
266 get_blit_intratile_offset_el(brw, dst_mt, in emit_miptree_blit()
276 dst_mt->pitch, in emit_miptree_blit()
277 dst_mt->bo, dst_mt->offset + dst_offset, in emit_miptree_blit()
278 dst_mt->tiling, in emit_miptree_blit()
279 dst_mt->tr_mode, in emit_miptree_blit()
314 struct intel_mipmap_tree *dst_mt, in intel_miptree_blit() argument
321 if (src_mt->num_samples > 0 || dst_mt->num_samples > 0) in intel_miptree_blit()
329 mesa_format dst_format = _mesa_get_srgb_format_linear(dst_mt->format); in intel_miptree_blit()
[all …]
Dbrw_blorp.c351 struct intel_mipmap_tree *dst_mt, in brw_blorp_blit_miptrees() argument
363 dst_layer = physical_to_logical_layer(dst_mt, dst_layer); in brw_blorp_blit_miptrees()
370 dst_mt->num_samples, _mesa_get_format_name(dst_mt->format), dst_mt, in brw_blorp_blit_miptrees()
390 src_mt->num_samples > 1 && dst_mt->num_samples <= 1 && in brw_blorp_blit_miptrees()
391 src_mt->format == dst_mt->format && in brw_blorp_blit_miptrees()
402 if (dst_format == dst_mt->format) { in brw_blorp_blit_miptrees()
411 blorp_surf_for_miptree(brw, &dst_surf, dst_mt, true, dst_usage_flags, in brw_blorp_blit_miptrees()
438 struct intel_mipmap_tree *dst_mt, in brw_blorp_copy_miptrees() argument
449 dst_mt->num_samples, _mesa_get_format_name(dst_mt->format), dst_mt, in brw_blorp_copy_miptrees()
458 blorp_surf_for_miptree(brw, &dst_surf, dst_mt, true, in brw_blorp_copy_miptrees()
[all …]
Dbrw_blorp.h41 struct intel_mipmap_tree *dst_mt,
55 struct intel_mipmap_tree *dst_mt,
Dintel_blit.h55 struct intel_mipmap_tree *dst_mt,
65 struct intel_mipmap_tree *dst_mt,
Dintel_mipmap_tree.c1281 struct intel_mipmap_tree *dst_mt, in intel_miptree_copy_slice_sw() argument
1290 int cpp = dst_mt->cpp; in intel_miptree_copy_slice_sw()
1299 intel_miptree_map(brw, dst_mt, in intel_miptree_copy_slice_sw()
1310 _mesa_get_format_name(dst_mt->format), in intel_miptree_copy_slice_sw()
1311 dst_mt, dst, dst_stride, in intel_miptree_copy_slice_sw()
1326 intel_miptree_unmap(brw, dst_mt, level, slice); in intel_miptree_copy_slice_sw()
1334 if (dst_mt->stencil_mt) { in intel_miptree_copy_slice_sw()
1336 intel_miptree_copy_slice_sw(brw, dst_mt->stencil_mt, src_mt->stencil_mt, in intel_miptree_copy_slice_sw()
1343 struct intel_mipmap_tree *dst_mt, in intel_miptree_copy_slice() argument
1361 assert(src_mt->format == dst_mt->format); in intel_miptree_copy_slice()
[all …]
Dintel_mipmap_tree.h836 struct intel_mipmap_tree *dst_mt, bool invalidate);
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.c567 struct intel_mipmap_tree *dst_mt, in intel_miptree_copy_slice_sw() argument
576 int cpp = dst_mt->cpp; in intel_miptree_copy_slice_sw()
585 intel_miptree_map(intel, dst_mt, in intel_miptree_copy_slice_sw()
595 _mesa_get_format_name(dst_mt->format), in intel_miptree_copy_slice_sw()
596 dst_mt, dst, dst_stride, in intel_miptree_copy_slice_sw()
611 intel_miptree_unmap(intel, dst_mt, level, slice); in intel_miptree_copy_slice_sw()
617 struct intel_mipmap_tree *dst_mt, in intel_miptree_copy_slice() argument
635 assert(src_mt->format == dst_mt->format); in intel_miptree_copy_slice()
637 if (dst_mt->compressed) { in intel_miptree_copy_slice()
638 height = ALIGN(height, dst_mt->align_h) / dst_mt->align_h; in intel_miptree_copy_slice()
[all …]
Dintel_blit.c113 struct intel_mipmap_tree *dst_mt, in intel_miptree_blit() argument
124 mesa_format dst_format = _mesa_get_srgb_format_linear(dst_mt->format); in intel_miptree_blit()
162 dst_mt->region->pitch > 32768) { in intel_miptree_blit()
171 dst_y = dst_mt->level[dst_level].height - dst_y - height; in intel_miptree_blit()
184 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_blit()
194 dst_mt->region->pitch, in intel_miptree_blit()
195 dst_mt->region->bo, dst_mt->offset, in intel_miptree_blit()
196 dst_mt->region->tiling, in intel_miptree_blit()
205 dst_mt->format == MESA_FORMAT_B8G8R8A8_UNORM) { in intel_miptree_blit()
206 intel_miptree_set_alpha_to_one(intel, dst_mt, in intel_miptree_blit()
Dintel_blit.h58 struct intel_mipmap_tree *dst_mt,
Dintel_mipmap_tree.h338 struct intel_mipmap_tree *dst_mt, bool invalidate);
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c229 struct nv50_miptree *dst_mt = nv50_miptree(dst); in nvc0_resource_copy_region() local
244 if (dst_mt->layout_3d) in nvc0_resource_copy_region()
247 drect.base += dst_mt->layer_stride; in nvc0_resource_copy_region()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c225 struct nv50_miptree *dst_mt = nv50_miptree(dst); in nv50_resource_copy_region() local
240 if (dst_mt->layout_3d) in nv50_resource_copy_region()
243 drect.base += dst_mt->layer_stride; in nv50_resource_copy_region()