/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_blit.c | 483 struct iris_resource *src_res = in iris_blit() local 496 iris_resource_texture_aux_usage(ice, src_res, src_fmt.fmt); in iris_blit() 498 iris_resource_prepare_texture(ice, src_res, src_fmt.fmt, in iris_blit() 501 iris_emit_buffer_barrier_for(batch, src_res->bo, in iris_blit() 513 &src_res->base.b, src_aux_usage, in iris_blit() 525 if (iris_batch_references(batch, src_res->bo)) in iris_blit() 526 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit() 553 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in iris_blit() 661 struct iris_resource *src_res = (void *) src; in iris_copy_region() local 670 get_copy_region_aux_settings(ice, batch, src_res, src_leve in iris_copy_region() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_blit.c | 546 struct crocus_resource *src_res = in crocus_blit() local 556 if (crocus_resource_unfinished_aux_import(src_res)) in crocus_blit() 557 crocus_resource_finish_aux_import(ctx->screen, src_res); in crocus_blit() 564 crocus_resource_texture_aux_usage(src_res); in crocus_blit() 566 crocus_resource_prepare_texture(ice, src_res, src_fmt.fmt, in crocus_blit() 569 // crocus_emit_buffer_barrier_for(batch, src_res->bo, in crocus_blit() 587 &src_res->base.b, src_aux_usage, in crocus_blit() 599 if (crocus_batch_references(batch, src_res->bo)) in crocus_blit() 600 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format); in crocus_blit() 628 tex_cache_flush_hack(batch, src_fmt.fmt, src_res in crocus_blit() 688 struct crocus_resource *src_res = (void *) src; crocus_copy_region() local [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 554 struct pipe_resource *src_res, in fallback_copy_image() 611 src = pipe_texture_map(st->pipe, src_res, 0, src_z, in fallback_copy_image() 649 struct pipe_resource *src_res, *dst_res; in st_CopyImageSubData() local 660 src_res = src->pt; in st_CopyImageSubData() 661 src_level = stObj->pt != src_res ? 0 : src_image->Level; in st_CopyImageSubData() 668 src_res = src_renderbuffer->texture; in st_CopyImageSubData() 692 src_image, src_res, src_x, src_y, orig_src_z, in st_CopyImageSubData() 696 src_res, src_level, &box); in st_CopyImageSubData() 549 fallback_copy_image(struct st_context *st, struct gl_texture_image *dst_image, struct pipe_resource *dst_res, int dst_x, int dst_y, int dst_z, struct gl_texture_image *src_image, struct pipe_resource *src_res, int src_x, int src_y, int src_z, int src_w, int src_h) fallback_copy_image() argument
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | resource.cpp | 60 resource &src_res, const vector &src_origin) { in copy() 64 src_res.pipe, 0, in copy() 65 box(src_res.offset + src_origin, region)); in copy() 59 copy(command_queue &q, const vector &origin, const vector ®ion, resource &src_res, const vector &src_origin) copy() argument
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_blit.c | 270 struct lima_resource *src_res = lima_resource(src_surf->texture); in lima_do_blit() local 273 lima_flush_job_accessing_bo(ctx, src_res->bo, true); in lima_do_blit() 276 lima_job_add_bo(job, LIMA_PIPE_PP, src_res->bo, LIMA_SUBMIT_BO_READ); in lima_do_blit()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_encode.h | 236 struct virgl_resource *src_res, 242 struct virgl_resource *src_res,
|
H A D | virgl_encode.c | 1153 struct virgl_resource *src_res, in virgl_encode_resource_copy_region() 1163 virgl_encoder_write_res(ctx, src_res); in virgl_encode_resource_copy_region() 1176 struct virgl_resource *src_res, in virgl_encode_blit() 1200 virgl_encoder_write_res(ctx, src_res); in virgl_encode_blit() 1149 virgl_encode_resource_copy_region(struct virgl_context *ctx, struct virgl_resource *dst_res, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct virgl_resource *src_res, unsigned src_level, const struct pipe_box *src_box) virgl_encode_resource_copy_region() argument 1174 virgl_encode_blit(struct virgl_context *ctx, struct virgl_resource *dst_res, struct virgl_resource *src_res, const struct pipe_blit_info *blit) virgl_encode_blit() argument
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_blit.c | 463 const VkImageSubresourceLayers *src_res = ®ion->srcSubresource; in blit_image() local 507 assert(src_res->baseArrayLayer == 0); in blit_image() 511 src_start = src_res->baseArrayLayer; in blit_image() 512 src_end = src_start + src_res->layerCount; in blit_image() 593 .subresourceRange = {.aspectMask = src_res->aspectMask, in blit_image() 594 .baseMipLevel = src_res->mipLevel, in blit_image()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_cmd_buffer.c | 1138 ID3D12Resource *src_res; in dzn_cmd_buffer_clear_rects_with_copy() local 1144 &src_res); in dzn_cmd_buffer_clear_rects_with_copy() 1151 ID3D12Resource_Map(src_res, 0, NULL, (void **)&cpu_ptr); in dzn_cmd_buffer_clear_rects_with_copy() 1155 ID3D12Resource_Unmap(src_res, 0, NULL); in dzn_cmd_buffer_clear_rects_with_copy() 1158 .pResource = src_res, in dzn_cmd_buffer_clear_rects_with_copy() 1171 dzn_cmd_buffer_queue_transition_barriers(cmdbuf, src_res, 0, 1, in dzn_cmd_buffer_clear_rects_with_copy() 1279 ID3D12Resource *src_res; in dzn_cmd_buffer_clear_ranges_with_copy() local 1285 &src_res); in dzn_cmd_buffer_clear_ranges_with_copy() 1292 ID3D12Resource_Map(src_res, 0, NULL, (void **)&cpu_ptr); in dzn_cmd_buffer_clear_ranges_with_copy() 1296 ID3D12Resource_Unmap(src_res, in dzn_cmd_buffer_clear_ranges_with_copy() 3307 ID3D12Resource *src_res; dzn_CmdFillBuffer() local 3347 ID3D12Resource *src_res; dzn_CmdUpdateBuffer() local [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | buffer9.c | 380 struct pipe_resource *src_res; in NineBuffer9_Lock() local 388 src_res = nine_upload_buffer_resource_and_offset(This->buf, &offset); in NineBuffer9_Lock() 393 src_res, 0, &src_box); in NineBuffer9_Lock()
|
H A D | device9.c | 1680 struct pipe_resource *dst_res, *src_res; in NineDevice9_StretchRect() local 1701 src_res = NineSurface9_GetResource(src); in NineDevice9_StretchRect() 1717 user_assert(zs || !util_format_is_depth_or_stencil(src_res->format), in NineDevice9_StretchRect() 1721 user_assert(screen->is_format_supported(screen, src_res->format, in NineDevice9_StretchRect() 1722 src_res->target, in NineDevice9_StretchRect() 1723 src_res->nr_samples, in NineDevice9_StretchRect() 1724 src_res->nr_storage_samples, in NineDevice9_StretchRect() 1765 blit.src.resource = src_res; in NineDevice9_StretchRect() 1769 blit.src.format = src_res->format; in NineDevice9_StretchRect()
|
H A D | nine_state.h | 553 struct pipe_resource* src_res,
|
H A D | nine_state.c | 2475 ARG_BIND_RES(struct pipe_resource, src_res), in CSMT_ITEM_NO_WAIT() 2487 src_res, src_level, in CSMT_ITEM_NO_WAIT()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 298 struct pipe_resource *src_res,
|
H A D | vl_compositor.c | 719 struct pipe_resource *src_res, in vl_compositor_convert_rgb_to_yuv() 730 u_sampler_view_default_template(&sv_templ, src_res, src_res->format); in vl_compositor_convert_rgb_to_yuv() 731 sv = s->pipe->create_sampler_view(s->pipe, src_res, &sv_templ); in vl_compositor_convert_rgb_to_yuv() 716 vl_compositor_convert_rgb_to_yuv(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_resource *src_res, struct pipe_video_buffer *dst, struct u_rect *src_rect, struct u_rect *dst_rect) vl_compositor_convert_rgb_to_yuv() argument
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_blorp.c | 650 const VkImageSubresourceLayers *src_res = ®ion->srcSubresource; in blit_image() local 667 assert(anv_image_aspects_compatible(src_res->aspectMask, in blit_image() 670 anv_foreach_image_aspect_bit(aspect_bit, src_image, src_res->aspectMask) { in blit_image() 700 assert(src_res->baseArrayLayer == 0); in blit_image() 704 src_start = src_res->baseArrayLayer; in blit_image() 706 vk_image_subresource_layer_count(&src_image->vk, src_res); in blit_image() 747 blorp_blit(batch, &src, src_res->mipLevel, src_z, in blit_image()
|