Home
last modified time | relevance | path

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

/external/virglrenderer/tests/
Dtest_virgl_transfer.c794 struct virgl_resource dst_res = {0}; in START_TEST() local
805 ret = testvirgl_create_backed_simple_buffer(&dst_res, 2, bufsize, VIRGL_BIND_VERTEX_BUFFER); in START_TEST()
807 virgl_renderer_ctx_attach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
810 virgl_encoder_copy_transfer(&ctx, &dst_res, 0, 0, &box, &src_res, 0, synchronized); in START_TEST()
816 virgl_renderer_ctx_detach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
818 testvirgl_destroy_backed_res(&dst_res); in START_TEST()
829 struct virgl_resource dst_res = {0}; in START_TEST() local
840 ret = testvirgl_create_backed_simple_buffer(&dst_res, 2, bufsize, VIRGL_BIND_VERTEX_BUFFER); in START_TEST()
842 virgl_renderer_ctx_attach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
845 virgl_encoder_copy_transfer(&ctx, &dst_res, 0, 0, &box, &src_res, 0, synchronized); in START_TEST()
[all …]
Dtestvirgl_encode.h229 struct virgl_resource *dst_res,
237 struct virgl_resource *dst_res,
Dtestvirgl_encode.c797 struct virgl_resource *dst_res, in virgl_encode_resource_copy_region() argument
805 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_resource_copy_region()
822 struct virgl_resource *dst_res, in virgl_encode_blit() argument
835 virgl_encoder_write_res(ctx, dst_res); in virgl_encode_blit()
/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.c609 struct vrend_resource *dst_res, in blitter_set_points() argument
616 blit_ctx->dst_width = u_minify(dst_res->base.width0, info->dst.level); in blitter_set_points()
617 blit_ctx->dst_height = u_minify(dst_res->base.height0, info->dst.level); in blitter_set_points()
697 struct vrend_resource *dst_res, in vrend_renderer_blit_gl() argument
715 util_format_description(dst_res->base.format); in vrend_renderer_blit_gl()
718 vrend_get_format_table_entry_with_emulation(dst_res->base.bind, info->dst.format); in vrend_renderer_blit_gl()
729 blitter_set_points(blit_ctx, info, src_res, dst_res, &src0, &src1); in vrend_renderer_blit_gl()
751 vrend_fb_bind_texture_id(dst_res, blit_views[1], 0, info->dst.level, info->dst.box.z); in vrend_renderer_blit_gl()
783 uint32_t layer = (dst_res->target == GL_TEXTURE_CUBE_MAP) ? info->dst.box.z : dst_z; in vrend_renderer_blit_gl()
786 vrend_fb_bind_texture_id(dst_res, blit_views[1], 0, info->dst.level, layer); in vrend_renderer_blit_gl()
Dvrend_renderer.c8188 struct vrend_resource *src_res, *dst_res; in vrend_renderer_copy_transfer3d() local
8191 dst_res = vrend_renderer_ctx_res_lookup(ctx, dst_handle); in vrend_renderer_copy_transfer3d()
8198 if (!dst_res) { in vrend_renderer_copy_transfer3d()
8208 if (!check_transfer_bounds(dst_res, info)) { in vrend_renderer_copy_transfer3d()
8213 if (!check_iov_bounds(dst_res, info, src_res->iov, src_res->num_iovs)) { in vrend_renderer_copy_transfer3d()
8219 if (dst_res->gbm_bo) { in vrend_renderer_copy_transfer3d()
8231 if (has_bit(dst_res->storage_bits, VREND_STORAGE_GL_IMMUTABLE)) in vrend_renderer_copy_transfer3d()
8238 return virgl_gbm_transfer(dst_res->gbm_bo, in vrend_renderer_copy_transfer3d()
8247 return vrend_renderer_transfer_write_iov(ctx, dst_res, src_res->iov, in vrend_renderer_copy_transfer3d()
8443 struct vrend_resource *dst_res, in vrend_resource_buffer_copy() argument
[all …]
Dvrend_renderer.h473 struct vrend_resource *dst_res,
/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()