Home
last modified time | relevance | path

Searched refs:src_templ (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c51 default_src_texture(struct pipe_sampler_view *src_templ, in default_src_texture() argument
57 memset(src_templ, 0, sizeof(*src_templ)); in default_src_texture()
61 src_templ->target = PIPE_TEXTURE_2D_ARRAY; in default_src_texture()
63 src_templ->target = src->target; in default_src_texture()
66 src_templ->target = PIPE_TEXTURE_1D; in default_src_texture()
67 src_templ->format = PIPE_FORMAT_R8_UINT; in default_src_texture()
69 src_templ->format = util_format_linear(src->format); in default_src_texture()
71 src_templ->u.tex.first_level = srclevel; in default_src_texture()
72 src_templ->u.tex.last_level = srclevel; in default_src_texture()
73 src_templ->u.tex.first_layer = 0; in default_src_texture()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c882 struct pipe_sampler_view src_templ, *src_view; in si_resource_copy_region() local
908 util_blitter_default_src_texture(sctx->blitter, &src_templ, src, src_level); in si_resource_copy_region()
915 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in si_resource_copy_region()
917 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in si_resource_copy_region()
918 dst_templ.format = src_templ.format; in si_resource_copy_region()
941 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in si_resource_copy_region()
960 src_templ.format = PIPE_FORMAT_R8_UNORM; in si_resource_copy_region()
964 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in si_resource_copy_region()
968 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in si_resource_copy_region()
972 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in si_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c680 struct pipe_sampler_view src_templ, *src_view; in r600_resource_copy_region() local
713 util_blitter_default_src_texture(rctx->blitter, &src_templ, src, src_level); in r600_resource_copy_region()
720 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in r600_resource_copy_region()
722 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in r600_resource_copy_region()
723 dst_templ.format = src_templ.format; in r600_resource_copy_region()
747 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in r600_resource_copy_region()
766 src_templ.format = PIPE_FORMAT_R8_UNORM; in r600_resource_copy_region()
770 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in r600_resource_copy_region()
774 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in r600_resource_copy_region()
778 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in r600_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c1470 struct pipe_sampler_view *src_templ, in util_blitter_default_src_texture() argument
1476 memset(src_templ, 0, sizeof(*src_templ)); in util_blitter_default_src_texture()
1481 src_templ->target = PIPE_TEXTURE_2D_ARRAY; in util_blitter_default_src_texture()
1483 src_templ->target = src->target; in util_blitter_default_src_texture()
1485 src_templ->format = util_format_linear(src->format); in util_blitter_default_src_texture()
1486 src_templ->u.tex.first_level = srclevel; in util_blitter_default_src_texture()
1487 src_templ->u.tex.last_level = srclevel; in util_blitter_default_src_texture()
1488 src_templ->u.tex.first_layer = 0; in util_blitter_default_src_texture()
1489 src_templ->u.tex.last_layer = in util_blitter_default_src_texture()
1492 src_templ->swizzle_r = PIPE_SWIZZLE_X; in util_blitter_default_src_texture()
[all …]
Du_blitter.h287 struct pipe_sampler_view *src_templ,
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c549 struct pipe_sampler_view src_templ, *src_view; in r300_resource_copy_region() local
570 util_blitter_default_src_texture(r300->blitter, &src_templ, src, src_level); in r300_resource_copy_region()
576 (!screen->is_format_supported(screen, src_templ.format, src->target, in r300_resource_copy_region()
600 src_templ.format = dst_templ.format; in r300_resource_copy_region()
606 assert(src_templ.format == dst_templ.format); in r300_resource_copy_region()
635 src_templ.format = dst_templ.format; in r300_resource_copy_region()
648 !screen->is_format_supported(screen, src_templ.format, in r300_resource_copy_region()
666 src_view = r300_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); in r300_resource_copy_region()
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c90 struct pipe_sampler_view src_templ, *src_view; in i915_surface_copy_render() local
108 util_blitter_default_src_texture(i915->blitter, &src_templ, src, src_level); in i915_surface_copy_render()
116 src_view = i915_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); in i915_surface_copy_render()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1385 struct pipe_resource src_templ; in st_TexSubImage() local
1519 memset(&src_templ, 0, sizeof(src_templ)); in st_TexSubImage()
1520 src_templ.target = gl_target_to_pipe(gl_target); in st_TexSubImage()
1521 src_templ.format = src_format; in st_TexSubImage()
1522 src_templ.bind = PIPE_BIND_SAMPLER_VIEW; in st_TexSubImage()
1523 src_templ.usage = PIPE_USAGE_STAGING; in st_TexSubImage()
1526 &src_templ.width0, &src_templ.height0, in st_TexSubImage()
1527 &src_templ.depth0, &src_templ.array_size); in st_TexSubImage()
1531 (!util_is_power_of_two(src_templ.width0) || in st_TexSubImage()
1532 !util_is_power_of_two(src_templ.height0) || in st_TexSubImage()
[all …]