Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/iris/
Diris_blit.c352 struct iris_resource *dst_res = (void *) info->dst.resource; in iris_blit() local
389 if (iris_resource_unfinished_aux_import(dst_res)) in iris_blit()
390 iris_resource_finish_aux_import(ctx->screen, dst_res); in iris_blit()
413 iris_resource_blorp_write_aux_usage(ice, dst_res, dst_fmt.fmt); in iris_blit()
424 iris_resource_prepare_access(ice, dst_res, info->dst.level, 1, in iris_blit()
427 iris_emit_buffer_barrier_for(batch, dst_res->bo, IRIS_DOMAIN_RENDER_WRITE); in iris_blit()
478 if (dst_res->base.target == PIPE_BUFFER) in iris_blit()
479 util_range_add(&dst_res->base, &dst_res->valid_buffer_range, dst_x0, dst_x1); in iris_blit()
580 iris_resource_finish_write(ice, dst_res, info->dst.level, info->dst.box.z, in iris_blit()
662 struct iris_resource *dst_res = (void *) dst; in iris_copy_region() local
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c540 struct pipe_resource *dst_res, in fallback_copy_image() argument
587 dst = pipe_transfer_map(st->pipe, dst_res, 0, dst_z, in fallback_copy_image()
638 struct pipe_resource *src_res, *dst_res; in st_CopyImageSubData() local
665 dst_res = dst->pt; in st_CopyImageSubData()
666 dst_level = stObj->pt != dst_res ? 0 : dst_image->Level; in st_CopyImageSubData()
674 dst_res = dst->texture; in st_CopyImageSubData()
682 fallback_copy_image(st, dst_image, dst_res, dst_x, dst_y, orig_dst_z, in st_CopyImageSubData()
686 copy_image(pipe, dst_res, dst_level, dst_x, dst_y, dst_z, in st_CopyImageSubData()
/external/virglrenderer/src/
Dvrend_blitter.c693 struct vrend_resource *dst_res, in vrend_renderer_blit_gl() argument
713 util_format_description(dst_res->base.format); in vrend_renderer_blit_gl()
731 u_minify(dst_res->base.width0, info->dst.level), in vrend_renderer_blit_gl()
732 u_minify(dst_res->base.height0, info->dst.level)); in vrend_renderer_blit_gl()
778 vrend_fb_bind_texture(dst_res, 0, info->dst.level, info->dst.box.z); in vrend_renderer_blit_gl()
827 uint32_t layer = (dst_res->target == GL_TEXTURE_CUBE_MAP) ? info->dst.box.z : dst_z; in vrend_renderer_blit_gl()
830 vrend_fb_bind_texture(dst_res, 0, info->dst.level, layer); in vrend_renderer_blit_gl()
Dvrend_renderer.c6815 struct vrend_resource *dst_res, in vrend_resource_buffer_copy() argument
6820 glBindBuffer(GL_COPY_WRITE_BUFFER, dst_res->id); in vrend_resource_buffer_copy()
6828 struct vrend_resource *dst_res, in vrend_resource_copy_fallback() argument
6837 int elsize = util_format_get_blocksize(dst_res->base.format); in vrend_resource_copy_fallback()
6838 int compressed = util_format_is_compressed(dst_res->base.format); in vrend_resource_copy_fallback()
6847 if (src_res->base.format != dst_res->base.format) { in vrend_resource_copy_fallback()
6848 …py fallback failed due to mismatched formats %d %d\n", src_res->base.format, dst_res->base.format); in vrend_resource_copy_fallback()
6854 dst_stride = util_format_get_stride(dst_res->base.format, dst_res->base.width0); in vrend_resource_copy_fallback()
6879 dst_offset = dst_res->mipmap_offsets[src_level]; in vrend_resource_copy_fallback()
6888 write_transfer_data(&dst_res->base, dst_res->iov, dst_res->num_iovs, tptr, in vrend_resource_copy_fallback()
[all …]
Dvrend_renderer.h399 struct vrend_resource *dst_res,
/external/virglrenderer/tests/
Dtestvirgl_encode.h207 struct virgl_resource *dst_res,
215 struct virgl_resource *dst_res,
Dtestvirgl_encode.c753 struct virgl_resource *dst_res, in virgl_encode_resource_copy_region() argument
761 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_resource_copy_region()
778 struct virgl_resource *dst_res, in virgl_encode_blit() argument
791 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_blit()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h230 struct virgl_resource *dst_res,
238 struct virgl_resource *dst_res,
Dvirgl_encode.c1080 struct virgl_resource *dst_res, in virgl_encode_resource_copy_region() argument
1088 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_resource_copy_region()
1105 struct virgl_resource *dst_res, in virgl_encode_blit() argument
1120 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_blit()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c539 const VkImageSubresourceLayers *dst_res = &region->dstSubresource; in blit_image() local
576 assert(dst_res->baseArrayLayer == 0); in blit_image()
580 dst_start = dst_res->baseArrayLayer; in blit_image()
581 dst_end = dst_start + dst_res->layerCount; in blit_image()
661 .aspectMask = dst_res->aspectMask, in blit_image()
662 .baseMipLevel = dst_res->mipLevel, in blit_image()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c764 const VkImageSubresourceLayers *dst_res = &region->dstSubresource; in blit_image() local
781 dst_res->aspectMask)); in blit_image()
803 assert(dst_res->baseArrayLayer == 0); in blit_image()
807 dst_start = dst_res->baseArrayLayer; in blit_image()
808 dst_end = dst_start + anv_get_layerCount(dst_image, dst_res); in blit_image()
852 dst_res->mipLevel, in blit_image()
861 &dst, dst_res->mipLevel, dst_z, in blit_image()
/external/mesa3d/src/gallium/frontends/nine/
Ddevice9.c1634 struct pipe_resource *dst_res, *src_res; in NineDevice9_StretchRect() local
1654 dst_res = NineSurface9_GetResource(dst); in NineDevice9_StretchRect()
1656 zs = util_format_is_depth_or_stencil(dst_res->format); in NineDevice9_StretchRect()
1691 blit.dst.resource = dst_res; in NineDevice9_StretchRect()
1695 blit.dst.format = dst_res->format; in NineDevice9_StretchRect()
1801 user_assert(screen->is_format_supported(screen, dst_res->format, in NineDevice9_StretchRect()
1802 dst_res->target, in NineDevice9_StretchRect()
1803 dst_res->nr_samples, in NineDevice9_StretchRect()
1804 dst_res->nr_storage_samples, in NineDevice9_StretchRect()
Dnine_state.h536 struct pipe_resource* dst_res,
Dnine_state.c2430 ARG_BIND_RES(struct pipe_resource, dst_res), in CSMT_ITEM_NO_WAIT() argument
2443 dst_res, dst_level, in CSMT_ITEM_NO_WAIT()