Home
last modified time | relevance | path

Searched refs:src_mt (Results 1 – 14 of 14) 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.c375 struct intel_mipmap_tree *src_mt, in emit_miptree_blit() argument
397 if (intel_miptree_blt_pitch(src_mt) >= 32768 || in emit_miptree_blit()
417 get_blit_intratile_offset_el(brw, src_mt, in emit_miptree_blit()
427 src_mt->cpp, in emit_miptree_blit()
428 reverse ? -src_mt->surf.row_pitch_B : in emit_miptree_blit()
429 src_mt->surf.row_pitch_B, in emit_miptree_blit()
430 src_mt->bo, src_mt->offset + src_offset, in emit_miptree_blit()
431 src_mt->surf.tiling, in emit_miptree_blit()
466 struct intel_mipmap_tree *src_mt, in intel_miptree_blit() argument
476 if (src_mt->surf.samples > 1 || dst_mt->surf.samples > 1) in intel_miptree_blit()
[all …]
Dbrw_blorp.c274 struct intel_mipmap_tree *src_mt, in brw_blorp_blit_miptrees() argument
292 src_mt->surf.samples, _mesa_get_format_name(src_mt->format), src_mt, in brw_blorp_blit_miptrees()
299 src_format = src_mt->format; in brw_blorp_blit_miptrees()
320 src_mt->surf.samples > 1 && dst_mt->surf.samples <= 1 && in brw_blorp_blit_miptrees()
321 src_mt->format == dst_mt->format && in brw_blorp_blit_miptrees()
330 if (src_mt->surf.samples > 1 && dst_mt->surf.samples <= 1) { in brw_blorp_blit_miptrees()
350 GLenum base_format = _mesa_get_format_base_format(src_mt->format); in brw_blorp_blit_miptrees()
354 _mesa_is_format_integer(src_mt->format)) { in brw_blorp_blit_miptrees()
389 intel_miptree_texture_aux_usage(brw, src_mt, src_isl_format, in brw_blorp_blit_miptrees()
394 if (src_aux_usage == ISL_AUX_USAGE_HIZ && src_mt->format != src_format) in brw_blorp_blit_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.h34 struct intel_mipmap_tree *src_mt,
44 struct intel_mipmap_tree *src_mt,
Dintel_mipmap_tree.c1263 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice_sw() argument
1273 intel_miptree_map(brw, src_mt, in intel_miptree_copy_slice_sw()
1289 _mesa_get_format_name(src_mt->format), in intel_miptree_copy_slice_sw()
1290 src_mt, src, src_stride, in intel_miptree_copy_slice_sw()
1308 intel_miptree_unmap(brw, src_mt, src_level, src_layer); in intel_miptree_copy_slice_sw()
1316 assert(src_mt->stencil_mt); in intel_miptree_copy_slice_sw()
1318 src_mt->stencil_mt, src_level, src_layer, in intel_miptree_copy_slice_sw()
1326 struct intel_mipmap_tree *src_mt, in intel_miptree_copy_slice() argument
1333 mesa_format format = src_mt->format; in intel_miptree_copy_slice()
1334 unsigned width = minify(src_mt->surf.phys_level0_sa.width, in intel_miptree_copy_slice()
[all …]
Dintel_mipmap_tree.h485 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.c219 struct intel_mipmap_tree *src_mt, in intel_miptree_blit() argument
232 mesa_format src_format = _mesa_get_srgb_format_linear(src_mt->format); in intel_miptree_blit()
270 if (src_mt->region->pitch > 32768 || in intel_miptree_blit()
277 src_y = src_mt->level[src_level].height - src_y - height; in intel_miptree_blit()
282 int src_pitch = src_mt->region->pitch; in intel_miptree_blit()
287 intel_miptree_get_image_offset(src_mt, src_level, src_slice, in intel_miptree_blit()
299 src_mt->cpp, in intel_miptree_blit()
301 src_mt->region->bo, src_mt->offset, in intel_miptree_blit()
302 src_mt->region->tiling, in intel_miptree_blit()
313 if (src_mt->format == MESA_FORMAT_B8G8R8X8_UNORM && in intel_miptree_blit()
Dintel_blit.h39 struct intel_mipmap_tree *src_mt,
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c166 struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); in nv30_resource_resolve() local
189 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve()
190 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve()
202 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve()
203 (x >> src_mt->ms_x) * dst.cpp; in nv30_resource_resolve()
204 dst.x1 = dst.x0 + (w >> src_mt->ms_x); in nv30_resource_resolve()
205 dst.w = w >> src_mt->ms_x; in nv30_resource_resolve()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c235 struct nv50_miptree *src_mt = nv50_miptree(src); in nvc0_resource_copy_region() local
240 << src_mt->ms_x; in nvc0_resource_copy_region()
242 << src_mt->ms_y; in nvc0_resource_copy_region()
256 if (src_mt->layout_3d) in nvc0_resource_copy_region()
259 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()
/external/mesa3d/docs/relnotes/
D11.2.0.rst229 \`src_mt->format == dst_mt->format