Lines Matching refs:dst_res
794 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()
851 virgl_renderer_ctx_detach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
853 testvirgl_destroy_backed_res(&dst_res); in START_TEST()
864 struct virgl_resource dst_res = {0}; in START_TEST() local
875 ret = testvirgl_create_unbacked_simple_buffer(&dst_res, 2, bufsize, VIRGL_BIND_STAGING); in START_TEST()
877 virgl_renderer_ctx_attach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
879 virgl_encoder_copy_transfer(&ctx, &dst_res, 0, 0, &box, &src_res, 0, synchronized); in START_TEST()
885 virgl_renderer_ctx_detach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
887 virgl_renderer_resource_unref(dst_res.handle); in START_TEST()
898 struct virgl_resource dst_res = {0}; in START_TEST() local
909 ret = testvirgl_create_backed_simple_buffer(&dst_res, 2, bufsize, VIRGL_BIND_STAGING); in START_TEST()
911 virgl_renderer_ctx_attach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
913 virgl_encoder_copy_transfer(&ctx, &dst_res, 0, 0, &box, &src_res, 0, synchronized); in START_TEST()
919 virgl_renderer_ctx_detach_resource(ctx.ctx_id, dst_res.handle); in START_TEST()
921 testvirgl_destroy_backed_res(&dst_res); in START_TEST()