Searched refs:dst_templ (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_blitter.c40 default_dst_texture(struct pipe_surface *dst_templ, struct pipe_resource *dst, argument
43 memset(dst_templ, 0, sizeof(*dst_templ));
45 dst_templ->format = PIPE_FORMAT_R8_UINT;
47 dst_templ->format = util_format_linear(dst->format);
48 dst_templ->u.tex.level = dstlevel;
49 dst_templ->u.tex.first_layer = dstz;
50 dst_templ->u.tex.last_layer = dstz;
138 struct pipe_surface *dst_view, dst_templ; local in function:fd_blitter_blit
152 default_dst_texture(&dst_templ, ds
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_blitter.c40 default_dst_texture(struct pipe_surface *dst_templ, struct pipe_resource *dst, argument
43 memset(dst_templ, 0, sizeof(*dst_templ));
44 dst_templ->u.tex.level = dstlevel;
45 dst_templ->u.tex.first_layer = dstz;
46 dst_templ->u.tex.last_layer = dstz;
125 struct pipe_surface *dst_view, dst_templ; local in function:fd_blitter_blit
156 default_dst_texture(&dst_templ, dst, info->dst.level, info->dst.box.z);
157 dst_templ.format = info->dst.format;
158 dst_view = pipe->create_surface(pipe, dst, &dst_templ);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_readpixels.c269 struct pipe_resource dst_templ; local in function:blit_to_staging
281 memset(&dst_templ, 0, sizeof(dst_templ));
282 dst_templ.target = PIPE_TEXTURE_2D;
283 dst_templ.format = dst_format;
285 dst_templ.bind |= PIPE_BIND_DEPTH_STENCIL;
287 dst_templ.bind |= PIPE_BIND_RENDER_TARGET;
288 dst_templ.usage = PIPE_USAGE_STAGING;
291 &dst_templ.width0, &dst_templ
[all...]
H A Dst_cb_texture.c1910 struct pipe_resource dst_templ; local in function:st_GetTexSubImage
2087 memset(&dst_templ, 0, sizeof(dst_templ));
2088 dst_templ.target = pipe_target;
2089 dst_templ.format = dst_format;
2090 dst_templ.bind = bind;
2091 dst_templ.usage = PIPE_USAGE_STAGING;
2094 &dst_templ.width0, &dst_templ.height0,
2095 &dst_templ
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_readpixels.c282 struct pipe_resource dst_templ; local in function:blit_to_staging
294 memset(&dst_templ, 0, sizeof(dst_templ));
295 dst_templ.target = PIPE_TEXTURE_2D;
296 dst_templ.format = dst_format;
298 dst_templ.bind |= PIPE_BIND_DEPTH_STENCIL;
300 dst_templ.bind |= PIPE_BIND_RENDER_TARGET;
301 dst_templ.usage = PIPE_USAGE_STAGING;
304 &dst_templ.width0, &dst_templ
[all...]
H A Dst_cb_texture.c164 struct pipe_resource dst_templ; local in function:create_dst_texture
167 memset(&dst_templ, 0, sizeof(dst_templ));
168 dst_templ.target = pipe_target;
169 dst_templ.format = dst_format;
170 dst_templ.bind = bind;
171 dst_templ.usage = PIPE_USAGE_STAGING;
174 &dst_templ.width0, &dst_templ.height0,
175 &dst_templ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_blit.c550 struct pipe_surface dst_templ, *dst_view; local in function:r300_resource_copy_region
569 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
572 layout = util_format_description(dst_templ.format)->layout;
579 !screen->is_format_supported(screen, dst_templ.format, dst->target,
582 switch (util_format_get_blocksize(dst_templ.format)) {
584 dst_templ.format = PIPE_FORMAT_I8_UNORM;
587 dst_templ.format = PIPE_FORMAT_B4G4R4A4_UNORM;
590 dst_templ.format = PIPE_FORMAT_B8G8R8A8_UNORM;
593 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UNORM;
598 util_format_short_name(dst_templ
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_blit.c552 struct pipe_surface dst_templ, *dst_view; local in function:r300_resource_copy_region
571 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
574 layout = util_format_description(dst_templ.format)->layout;
581 !screen->is_format_supported(screen, dst_templ.format, dst->target,
584 switch (util_format_get_blocksize(dst_templ.format)) {
586 dst_templ.format = PIPE_FORMAT_I8_UNORM;
589 dst_templ.format = PIPE_FORMAT_B4G4R4A4_UNORM;
592 dst_templ.format = PIPE_FORMAT_B8G8R8A8_UNORM;
595 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UNORM;
600 util_format_short_name(dst_templ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_blit.c907 struct pipe_surface *dst_view, dst_templ; local in function:si_resource_copy_region
944 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
955 dst_templ.format = src_templ.format;
979 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UINT;
996 dst_templ.format = PIPE_FORMAT_R8_UNORM;
1000 dst_templ.format = PIPE_FORMAT_R8G8_UNORM;
1004 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
1008 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
1012 dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
1027 if (util_format_is_snorm8(dst_templ
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_blit.c910 struct pipe_surface *dst_view, dst_templ; local in function:si_resource_copy_region
949 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
959 dst_templ.format = src_templ.format;
983 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UINT;
1000 dst_templ.format = PIPE_FORMAT_R8_UNORM;
1004 dst_templ.format = PIPE_FORMAT_R8G8_UNORM;
1008 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
1012 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
1016 dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
1030 if (util_format_is_snorm8(dst_templ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_blit.c679 struct pipe_surface *dst_view, dst_templ; local in function:r600_resource_copy_region
712 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
723 dst_templ.format = src_templ.format;
748 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UINT;
765 dst_templ.format = PIPE_FORMAT_R8_UNORM;
769 dst_templ.format = PIPE_FORMAT_R8G8_UNORM;
773 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
777 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
781 dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
792 dst_view = r600_create_surface_custom(ctx, dst, &dst_templ,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_blit.c681 struct pipe_surface *dst_view, dst_templ; local in function:r600_resource_copy_region
714 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
725 dst_templ.format = src_templ.format;
750 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UINT;
767 dst_templ.format = PIPE_FORMAT_R8_UNORM;
771 dst_templ.format = PIPE_FORMAT_R8G8_UNORM;
775 dst_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
779 dst_templ.format = PIPE_FORMAT_R16G16B16A16_UINT;
783 dst_templ.format = PIPE_FORMAT_R32G32B32A32_UINT;
794 dst_view = r600_create_surface_custom(ctx, dst, &dst_templ,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_blitter.c1566 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ, argument
1571 memset(dst_templ, 0, sizeof(*dst_templ));
1572 dst_templ->format = util_format_linear(dst->format);
1573 dst_templ->u.tex.level = dstlevel;
1574 dst_templ->u.tex.first_layer = dstz;
1575 dst_templ->u.tex.last_layer = dstz;
1582 struct pipe_surface dst_templ; local in function:util_blitter_get_next_surface_layer
1584 memset(&dst_templ, 0, sizeof(dst_templ));
1715 struct pipe_surface *dst_view, dst_templ; local in function:util_blitter_copy_texture
2147 struct pipe_surface *dst_view, dst_templ; local in function:util_blitter_blit
2180 struct pipe_surface dst_templ, *dst_view; local in function:util_blitter_generate_mipmap
2851 struct pipe_surface *dst_view, dst_templ; local in function:util_blitter_stencil_fallback
[all...]
H A Du_blitter.h288 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_surface.c91 struct pipe_surface dst_templ, *dst_view; local in function:i915_surface_copy_render
107 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
115 dst_view = i915_create_surface_custom(pipe, dst, &dst_templ, dst_width0, dst_height0);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_blitter.c1469 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ, argument
1474 memset(dst_templ, 0, sizeof(*dst_templ));
1475 dst_templ->format = util_format_linear(dst->format);
1476 dst_templ->u.tex.level = dstlevel;
1477 dst_templ->u.tex.first_layer = dstz;
1478 dst_templ->u.tex.last_layer = dstz;
1485 struct pipe_surface dst_templ; local in function:util_blitter_get_next_surface_layer
1487 memset(&dst_templ, 0, sizeof(dst_templ));
1618 struct pipe_surface *dst_view, dst_templ; local in function:util_blitter_copy_texture
2015 struct pipe_surface *dst_view, dst_templ; local in function:util_blitter_blit
2048 struct pipe_surface dst_templ, *dst_view; local in function:util_blitter_generate_mipmap
[all...]
H A Du_blitter.h283 void util_blitter_default_dst_texture(struct pipe_surface *dst_templ,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_surface.c87 struct pipe_surface dst_templ, *dst_view; local in function:i915_surface_copy_render
103 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
111 dst_view = i915_create_surface_custom(pipe, dst, &dst_templ, dst_width0,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_blit.c418 struct pipe_surface *dst_view, dst_templ; local in function:crocus_blit
419 util_blitter_default_dst_texture(&dst_templ, info->dst.resource, info->dst.level, info->dst.box.z);
420 dst_view = ctx->create_surface(ctx, info->dst.resource, &dst_templ);

Completed in 30 milliseconds