Home
last modified time | relevance | path

Searched refs:src_res (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c542 struct pipe_resource *src_res, in fallback_copy_image() argument
593 src = pipe_transfer_map(st->pipe, src_res, 0, src_z, in fallback_copy_image()
631 struct pipe_resource *src_res, *dst_res; in st_CopyImageSubData() local
641 src_res = src->pt; in st_CopyImageSubData()
650 src_res = src->texture; in st_CopyImageSubData()
674 src_image, src_res, src_x, src_y, orig_src_z, in st_CopyImageSubData()
678 src_res, src_level, &box); in st_CopyImageSubData()
/external/virglrenderer/src/
Dvrend_renderer.c6814 struct vrend_resource *src_res, in vrend_resource_buffer_copy() argument
6819 glBindBuffer(GL_COPY_READ_BUFFER, src_res->id); in vrend_resource_buffer_copy()
6827 static void vrend_resource_copy_fallback(struct vrend_resource *src_res, in vrend_resource_copy_fallback() argument
6844 if (src_res->target == GL_TEXTURE_CUBE_MAP) in vrend_resource_copy_fallback()
6847 if (src_res->base.format != dst_res->base.format) { in vrend_resource_copy_fallback()
6848 …fprintf(stderr, "copy fallback failed due to mismatched formats %d %d\n", src_res->base.format, ds… in vrend_resource_copy_fallback()
6853 box.depth = vrend_get_texture_depth(src_res, src_level); in vrend_resource_copy_fallback()
6857 …lice_size = util_format_get_nblocks(src_res->base.format, u_minify(src_res->base.width0, src_level… in vrend_resource_copy_fallback()
6858 util_format_get_blocksize(src_res->base.format); in vrend_resource_copy_fallback()
6859 total_size = slice_size * vrend_get_texture_depth(src_res, src_level); in vrend_resource_copy_fallback()
[all …]
Dvrend_renderer.h398 struct vrend_resource *src_res,
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dresource.cpp59 resource &src_res, const vector &src_origin) { in copy() argument
63 src_res.pipe, 0, in copy()
64 box(src_res.offset + src_origin, region)); in copy()
/external/virglrenderer/tests/
Dtestvirgl_encode.h210 struct virgl_resource *src_res,
216 struct virgl_resource *src_res,
Dtestvirgl_encode.c756 struct virgl_resource *src_res, in virgl_encode_resource_copy_region() argument
766 virgl_encoder_write_res(ctx, src_res); in virgl_encode_resource_copy_region()
779 struct virgl_resource *src_res, in virgl_encode_blit() argument
801 virgl_encoder_write_res(ctx, src_res); in virgl_encode_blit()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h221 struct virgl_resource *src_res,
227 struct virgl_resource *src_res,
Dvirgl_encode.c723 struct virgl_resource *src_res, in virgl_encode_resource_copy_region() argument
733 virgl_encoder_write_res(ctx, src_res); in virgl_encode_resource_copy_region()
746 struct virgl_resource *src_res, in virgl_encode_blit() argument
770 virgl_encoder_write_res(ctx, src_res); in virgl_encode_blit()
/external/mesa3d/src/gallium/state_trackers/nine/
Dbuffer9.c297 struct pipe_resource *src_res; in NineBuffer9_Lock() local
305 src_res = nine_upload_buffer_resource_and_offset(This->buf, &offset); in NineBuffer9_Lock()
310 src_res, 0, &src_box); in NineBuffer9_Lock()
Dnine_state.h532 struct pipe_resource* src_res,
Ddevice9.c1543 struct pipe_resource *src_res = NineSurface9_GetResource(src); in NineDevice9_StretchRect() local
1576 user_assert(zs || !util_format_is_depth_or_stencil(src_res->format), in NineDevice9_StretchRect()
1580 user_assert(screen->is_format_supported(screen, src_res->format, in NineDevice9_StretchRect()
1581 src_res->target, in NineDevice9_StretchRect()
1582 src_res->nr_samples, in NineDevice9_StretchRect()
1623 blit.src.resource = src_res; in NineDevice9_StretchRect()
1627 blit.src.format = src_res->format; in NineDevice9_StretchRect()
Dnine_state.c2581 ARG_BIND_RES(struct pipe_resource, src_res), in CSMT_ITEM_NO_WAIT() argument
2593 src_res, src_level, in CSMT_ITEM_NO_WAIT()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c526 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource; in radv_CmdBlitImage() local
541 assert(src_res->baseArrayLayer == 0); in radv_CmdBlitImage()
545 src_start = src_res->baseArrayLayer; in radv_CmdBlitImage()
546 src_end = src_start + src_res->layerCount; in radv_CmdBlitImage()
622 .aspectMask = src_res->aspectMask, in radv_CmdBlitImage()
623 .baseMipLevel = src_res->mipLevel, in radv_CmdBlitImage()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.h273 struct pipe_resource *src_res,
Dvl_compositor.c1318 struct pipe_resource *src_res, in vl_compositor_convert_rgb_to_yuv() argument
1329 u_sampler_view_default_template(&sv_templ, src_res, src_res->format); in vl_compositor_convert_rgb_to_yuv()
1330 sv = s->pipe->create_sampler_view(s->pipe, src_res, &sv_templ); in vl_compositor_convert_rgb_to_yuv()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c490 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource; in anv_CmdBlitImage() local
494 src_image, src_res->aspectMask, in anv_CmdBlitImage()
502 src_res->aspectMask, src_image->tiling); in anv_CmdBlitImage()
519 assert(src_res->baseArrayLayer == 0); in anv_CmdBlitImage()
523 src_start = src_res->baseArrayLayer; in anv_CmdBlitImage()
524 src_end = src_start + anv_get_layerCount(src_image, src_res); in anv_CmdBlitImage()
553 blorp_blit(&batch, &src, src_res->mipLevel, src_z, in anv_CmdBlitImage()