Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_copy_image.c39 struct brw_mipmap_tree *src_mt, in copy_miptrees() argument
55 if (brw_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 brw_mipmap_tree *src_mt, *dst_mt; in brw_copy_image_sub_data() local
83 src_mt = brw_texture_image(src_image)->mt; in brw_copy_image_sub_data()
93 src_mt = brw_renderbuffer(src_renderbuffer)->mt; in brw_copy_image_sub_data()
115 copy_miptrees(brw, src_mt, src_x, src_y, src_z, src_level, in brw_copy_image_sub_data()
126 assert((src_mt->stencil_mt != NULL) == (dst_mt->stencil_mt != NULL)); in brw_copy_image_sub_data()
129 copy_miptrees(brw, src_mt->stencil_mt, src_x, src_y, src_z, src_level, in brw_copy_image_sub_data()
Dbrw_blit.c383 struct brw_mipmap_tree *src_mt, in emit_miptree_blit() argument
405 if (brw_miptree_blt_pitch(src_mt) >= 32768 || in emit_miptree_blit()
426 get_blit_intratile_offset_el(brw, src_mt, in emit_miptree_blit()
437 src_mt->cpp, in emit_miptree_blit()
438 reverse ? -src_mt->surf.row_pitch_B : in emit_miptree_blit()
439 src_mt->surf.row_pitch_B, in emit_miptree_blit()
440 src_mt->bo, src_mt->offset + src_offset, in emit_miptree_blit()
441 src_mt->surf.tiling, in emit_miptree_blit()
476 struct brw_mipmap_tree *src_mt, in brw_miptree_blit() argument
486 if (src_mt->surf.samples > 1 || dst_mt->surf.samples > 1) in brw_miptree_blit()
[all …]
Dbrw_blorp.c274 struct brw_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 brw_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 brw_mipmap_tree *src_mt,
54 struct brw_mipmap_tree *src_mt,
82 struct brw_mipmap_tree *src_mt,
Dbrw_blit.h34 struct brw_mipmap_tree *src_mt,
44 struct brw_mipmap_tree *src_mt,
Dbrw_mipmap_tree.c1220 struct brw_mipmap_tree *src_mt, in brw_miptree_copy_slice_sw() argument
1230 brw_miptree_map(brw, src_mt, in brw_miptree_copy_slice_sw()
1246 _mesa_get_format_name(src_mt->format), in brw_miptree_copy_slice_sw()
1247 src_mt, src, src_stride, in brw_miptree_copy_slice_sw()
1265 brw_miptree_unmap(brw, src_mt, src_level, src_layer); in brw_miptree_copy_slice_sw()
1273 assert(src_mt->stencil_mt); in brw_miptree_copy_slice_sw()
1275 src_mt->stencil_mt, src_level, src_layer, in brw_miptree_copy_slice_sw()
1283 struct brw_mipmap_tree *src_mt, in brw_miptree_copy_slice() argument
1289 mesa_format format = src_mt->format; in brw_miptree_copy_slice()
1290 unsigned width = minify(src_mt->surf.phys_level0_sa.width, in brw_miptree_copy_slice()
[all …]
Dbrw_mipmap_tree.h477 struct brw_mipmap_tree *src_mt,
/third_party/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,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c171 struct nv30_miptree *src_mt = nv30_miptree(info->src.resource); in nv30_resource_resolve() local
194 dst.y1 = dst.y0 + (h >> src_mt->ms_y); in nv30_resource_resolve()
195 dst.h = h >> src_mt->ms_y; in nv30_resource_resolve()
207 dst.offset = (y >> src_mt->ms_y) * dst.pitch + in nv30_resource_resolve()
208 (x >> src_mt->ms_x) * dst.cpp; in nv30_resource_resolve()
209 dst.x1 = dst.x0 + (w >> src_mt->ms_x); in nv30_resource_resolve()
210 dst.w = w >> src_mt->ms_x; in nv30_resource_resolve()
/third_party/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()
/third_party/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()
/third_party/mesa3d/docs/relnotes/
D11.2.0.rst229 \`src_mt->format == dst_mt->format