Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c39 struct intel_mipmap_tree *src_mt, in copy_miptrees() argument
55 if (intel_miptree_copy(brw, src_mt, src_level, src_z, src_x, src_y, in copy_miptrees()
62 src_mt, src_level, src_z, in copy_miptrees()
79 struct intel_mipmap_tree *src_mt, *dst_mt; in intel_copy_image_sub_data() local
83 src_mt = intel_texture_image(src_image)->mt; in intel_copy_image_sub_data()
93 src_mt = intel_renderbuffer(src_renderbuffer)->mt; in intel_copy_image_sub_data()
115 copy_miptrees(brw, src_mt, src_x, src_y, src_z, src_level, in intel_copy_image_sub_data()
126 assert((src_mt->stencil_mt != NULL) == (dst_mt->stencil_mt != NULL)); in intel_copy_image_sub_data()
129 copy_miptrees(brw, src_mt->stencil_mt, src_x, src_y, src_z, src_level, in intel_copy_image_sub_data()
Dintel_blit.c225 struct intel_mipmap_tree *src_mt, in emit_miptree_blit() argument
247 if (blt_pitch(src_mt) >= 32768 || blt_pitch(dst_mt) >= 32768) { in emit_miptree_blit()
266 get_blit_intratile_offset_el(brw, src_mt, in emit_miptree_blit()
276 src_mt->cpp, in emit_miptree_blit()
277 reverse ? -src_mt->surf.row_pitch : in emit_miptree_blit()
278 src_mt->surf.row_pitch, in emit_miptree_blit()
279 src_mt->bo, src_mt->offset + src_offset, in emit_miptree_blit()
280 src_mt->surf.tiling, in emit_miptree_blit()
315 struct intel_mipmap_tree *src_mt, in intel_miptree_blit() argument
325 if (src_mt->surf.samples > 1 || dst_mt->surf.samples > 1) in intel_miptree_blit()
[all …]
Dbrw_blorp.c259 struct intel_mipmap_tree *src_mt, in brw_blorp_blit_miptrees() argument
277 src_mt->surf.samples, _mesa_get_format_name(src_mt->format), src_mt, in brw_blorp_blit_miptrees()
299 src_mt->surf.samples > 1 && dst_mt->surf.samples <= 1 && in brw_blorp_blit_miptrees()
300 src_mt->format == dst_mt->format && in brw_blorp_blit_miptrees()
309 intel_miptree_texture_aux_usage(brw, src_mt, src_isl_format); in brw_blorp_blit_miptrees()
316 src_aux_usage != ISL_AUX_USAGE_NONE && src_mt->format == src_format; in brw_blorp_blit_miptrees()
317 intel_miptree_prepare_access(brw, src_mt, src_level, 1, src_layer, 1, in brw_blorp_blit_miptrees()
331 blorp_surf_for_miptree(brw, &src_surf, src_mt, src_aux_usage, false, in brw_blorp_blit_miptrees()
360 struct intel_mipmap_tree *src_mt, in brw_blorp_copy_miptrees() argument
373 src_mt->surf.samples, _mesa_get_format_name(src_mt->format), src_mt, in brw_blorp_copy_miptrees()
[all …]
Dbrw_blorp.h39 struct intel_mipmap_tree *src_mt,
54 struct intel_mipmap_tree *src_mt,
82 struct intel_mipmap_tree *src_mt,
Dintel_blit.h50 struct intel_mipmap_tree *src_mt,
60 struct intel_mipmap_tree *src_mt,
Dintel_mipmap_tree.c1472 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice_sw() argument
1482 intel_miptree_map(brw, src_mt, in intel_miptree_copy_slice_sw()
1498 _mesa_get_format_name(src_mt->format), in intel_miptree_copy_slice_sw()
1499 src_mt, src, src_stride, in intel_miptree_copy_slice_sw()
1517 intel_miptree_unmap(brw, src_mt, src_level, src_layer); in intel_miptree_copy_slice_sw()
1525 assert(src_mt->stencil_mt); in intel_miptree_copy_slice_sw()
1527 src_mt->stencil_mt, src_level, src_layer, in intel_miptree_copy_slice_sw()
1535 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice() argument
1541 mesa_format format = src_mt->format; in intel_miptree_copy_slice()
1542 unsigned width = minify(src_mt->surf.phys_level0_sa.width, in intel_miptree_copy_slice()
[all …]
Dintel_mipmap_tree.h499 struct intel_mipmap_tree *src_mt,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.c535 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice_sw() argument
545 intel_miptree_map(intel, src_mt, in intel_miptree_copy_slice_sw()
560 _mesa_get_format_name(src_mt->format), in intel_miptree_copy_slice_sw()
561 src_mt, src, src_stride, in intel_miptree_copy_slice_sw()
579 intel_miptree_unmap(intel, src_mt, level, slice); in intel_miptree_copy_slice_sw()
585 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice() argument
591 mesa_format format = src_mt->format; in intel_miptree_copy_slice()
592 uint32_t width = src_mt->level[level].width; in intel_miptree_copy_slice()
593 uint32_t height = src_mt->level[level].height; in intel_miptree_copy_slice()
601 assert(depth < src_mt->level[level].depth); in intel_miptree_copy_slice()
[all …]
Dintel_blit.c110 struct intel_mipmap_tree *src_mt, in intel_miptree_blit() argument
123 mesa_format src_format = _mesa_get_srgb_format_linear(src_mt->format); in intel_miptree_blit()
161 if (src_mt->region->pitch > 32768 || in intel_miptree_blit()
168 src_y = src_mt->level[src_level].height - src_y - height; in intel_miptree_blit()
173 int src_pitch = src_mt->region->pitch; in intel_miptree_blit()
178 intel_miptree_get_image_offset(src_mt, src_level, src_slice, in intel_miptree_blit()
190 src_mt->cpp, in intel_miptree_blit()
192 src_mt->region->bo, src_mt->offset, in intel_miptree_blit()
193 src_mt->region->tiling, in intel_miptree_blit()
204 if (src_mt->format == MESA_FORMAT_B8G8R8X8_UNORM && in intel_miptree_blit()
Dintel_blit.h55 struct intel_mipmap_tree *src_mt,
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c152 struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); in nv30_resource_resolve() local
175 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve()
176 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve()
188 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve()
189 (x >> src_mt->ms_x) * dst.cpp; in nv30_resource_resolve()
190 dst.x1 = dst.x0 + (w >> src_mt->ms_x); in nv30_resource_resolve()
191 dst.w = w >> src_mt->ms_x; in nv30_resource_resolve()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c228 struct nv50_miptree *src_mt = nv50_miptree(src); in nvc0_resource_copy_region() local
233 << src_mt->ms_x; in nvc0_resource_copy_region()
235 << src_mt->ms_y; in nvc0_resource_copy_region()
249 if (src_mt->layout_3d) in nvc0_resource_copy_region()
252 srect.base += src_mt->layer_stride; in nvc0_resource_copy_region()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c224 struct nv50_miptree *src_mt = nv50_miptree(src); in nv50_resource_copy_region() local
229 << src_mt->ms_x; in nv50_resource_copy_region()
231 << src_mt->ms_y; in nv50_resource_copy_region()
245 if (src_mt->layout_3d) in nv50_resource_copy_region()
248 srect.base += src_mt->layer_stride; in nv50_resource_copy_region()