Searched refs:dst_templ (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_blit.c | 466 struct pipe_surface dst_templ, *dst_view; in r300_resource_copy_region() local 480 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz, src_box); in r300_resource_copy_region() 483 layout = util_format_description(dst_templ.format)->layout; in r300_resource_copy_region() 490 !screen->is_format_supported(screen, dst_templ.format, dst->target, in r300_resource_copy_region() 493 switch (util_format_get_blocksize(dst_templ.format)) { in r300_resource_copy_region() 495 dst_templ.format = PIPE_FORMAT_I8_UNORM; in r300_resource_copy_region() 498 dst_templ.format = PIPE_FORMAT_B4G4R4A4_UNORM; in r300_resource_copy_region() 501 dst_templ.format = PIPE_FORMAT_B8G8R8A8_UNORM; in r300_resource_copy_region() 504 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UNORM; in r300_resource_copy_region() 509 util_format_short_name(dst_templ.format)); in r300_resource_copy_region() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_blitter.c | 990 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ, in util_blitter_default_dst_texture() argument 996 memset(dst_templ, 0, sizeof(*dst_templ)); in util_blitter_default_dst_texture() 997 dst_templ->format = dst->format; in util_blitter_default_dst_texture() 999 dst_templ->usage = PIPE_BIND_DEPTH_STENCIL; in util_blitter_default_dst_texture() 1001 dst_templ->usage = PIPE_BIND_RENDER_TARGET; in util_blitter_default_dst_texture() 1003 dst_templ->format = util_format_linear(dst->format); in util_blitter_default_dst_texture() 1004 dst_templ->u.tex.level = dstlevel; in util_blitter_default_dst_texture() 1005 dst_templ->u.tex.first_layer = dstz; in util_blitter_default_dst_texture() 1006 dst_templ->u.tex.last_layer = dstz + srcbox->depth - 1; in util_blitter_default_dst_texture() 1092 struct pipe_surface *dst_view, dst_templ; in util_blitter_copy_texture() local [all …]
|
D | u_blitter.h | 242 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ,
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 339 struct pipe_surface *dst_view, dst_templ; in r600_copy_first_sample() local 366 util_blitter_default_dst_texture(&dst_templ, info->dst.res, in r600_copy_first_sample() 368 dst_view = ctx->create_surface(ctx, info->dst.res, &dst_templ); in r600_copy_first_sample()
|