Searched refs:dst_image (Results 1 - 25 of 32) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_copy_image.c73 struct gl_texture_image *dst_image,
98 if (dst_image) {
99 dst_mt = intel_texture_image(dst_image)->mt;
101 dst_level = dst_image->Level + dst_image->TexObject->MinLevel;
104 if (dst_image->TexObject->Target == GL_TEXTURE_CUBE_MAP)
105 dst_z = dst_image->Face;
107 dst_z += dst_image->TexObject->MinLayer;
111 dst_image = dst_renderbuffer->TexImage;
69 intel_copy_image_sub_data(struct gl_context * ctx,struct gl_texture_image * src_image,struct gl_renderbuffer * src_renderbuffer,int src_x,int src_y,int src_z,struct gl_texture_image * dst_image,struct gl_renderbuffer * dst_renderbuffer,int dst_x,int dst_y,int dst_z,int src_width,int src_height) argument
H A Dbrw_blorp.c694 struct gl_texture_image *dst_image,
702 struct intel_texture_image *intel_image = intel_texture_image(dst_image);
723 if (!brw_blorp_supports_dst_format(brw, dst_image->TexFormat))
749 int dst_slice = slice + dst_image->TexObject->MinLayer + dst_image->Face;
750 int dst_level = dst_image->Level + dst_image->TexObject->MinLevel;
756 dst_image->TexFormat,
767 if (_mesa_get_format_bits(dst_image->TexFormat, GL_STENCIL_BITS) > 0 &&
692 brw_blorp_copytexsubimage(struct brw_context * brw,struct gl_renderbuffer * src_rb,struct gl_texture_image * dst_image,int slice,int srcX0,int srcY0,int dstX0,int dstY0,int width,int height) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_copy_image.c73 struct gl_texture_image *dst_image,
98 if (dst_image) {
99 dst_mt = brw_texture_image(dst_image)->mt;
101 dst_level = dst_image->Level + dst_image->TexObject->Attrib.MinLevel;
104 if (dst_image->TexObject->Target == GL_TEXTURE_CUBE_MAP)
105 dst_z = dst_image->Face;
107 dst_z += dst_image->TexObject->Attrib.MinLayer;
111 dst_image = dst_renderbuffer->TexImage;
69 brw_copy_image_sub_data(struct gl_context * ctx,struct gl_texture_image * src_image,struct gl_renderbuffer * src_renderbuffer,int src_x,int src_y,int src_z,struct gl_texture_image * dst_image,struct gl_renderbuffer * dst_renderbuffer,int dst_x,int dst_y,int dst_z,int src_width,int src_height) argument
H A Dbrw_blorp.c692 struct gl_texture_image *dst_image,
700 struct brw_texture_image *intel_image = brw_texture_image(dst_image);
721 if (!brw_blorp_supports_dst_format(brw, dst_image->TexFormat))
747 int dst_slice = slice + dst_image->TexObject->Attrib.MinLayer + dst_image->Face;
748 int dst_level = dst_image->Level + dst_image->TexObject->Attrib.MinLevel;
754 dst_image->TexFormat,
765 if (_mesa_get_format_bits(dst_image->TexFormat, GL_STENCIL_BITS) > 0 &&
690 brw_blorp_copytexsubimage(struct brw_context * brw,struct gl_renderbuffer * src_rb,struct gl_texture_image * dst_image,int slice,int srcX0,int srcY0,int dstX0,int dstY0,int width,int height) argument
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_copy.c252 RADV_FROM_HANDLE(radv_image, dst_image, pCopyBufferToImageInfo->dstImage);
255 copy_buffer_to_image(cmd_buffer, src_buffer, dst_image,
381 VkImageLayout src_image_layout, struct radv_image *dst_image,
393 assert(src_image->info.samples == dst_image->info.samples);
396 !radv_image_is_renderable(cmd_buffer->device, dst_image);
412 uint32_t queue_mask = radv_image_queue_family_mask(dst_image, cmd_buffer->queue_family_index,
415 if (radv_layout_is_htile_compressed(cmd_buffer->device, dst_image, dst_image_layout,
418 region->extent.width != dst_image->info.width ||
419 region->extent.height != dst_image->info.height ||
420 region->extent.depth != dst_image
380 copy_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dst_image,VkImageLayout dst_image_layout,const VkImageCopy2KHR * region) argument
[all...]
H A Dradv_meta_resolve.c317 const struct radv_image *dst_image, VkFormat vk_format, const VkOffset2D *dest_offset,
327 radv_dst_access_flush(cmd_buffer, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, dst_image);
348 radv_src_access_flush(cmd_buffer, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, dst_image);
359 struct radv_image *dst_image)
362 return dst_image->planes[0].surface.u.gfx9.swizzle_mode ==
365 return dst_image->planes[0].surface.micro_tile_mode ==
445 VkImageLayout src_image_layout, struct radv_image *dst_image,
454 assert(dst_image->info.samples == 1);
456 unsigned fs_key = radv_format_meta_fs_key(device, dst_image->vk_format);
474 radv_meta_get_iview_layer(dst_image,
316 emit_resolve(struct radv_cmd_buffer * cmd_buffer,const struct radv_image * src_image,const struct radv_image * dst_image,VkFormat vk_format,const VkOffset2D * dest_offset,const VkExtent2D * resolve_extent) argument
358 image_hw_resolve_compat(const struct radv_device * device,struct radv_image * src_image,struct radv_image * dst_image) argument
444 radv_meta_resolve_hardware_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dst_image,VkImageLayout dst_image_layout,const VkImageResolve2KHR * region) argument
612 resolve_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dst_image,VkImageLayout dst_image_layout,const VkImageResolve2KHR * region,enum radv_resolve_method resolve_method) argument
[all...]
H A Dradv_meta_copy_vrs_htile.c216 VkExtent2D *extent, struct radv_image *dst_image,
224 assert(radv_image_has_htile(dst_image));
228 &dst_image->planes[0].surface);
287 dst_image->planes[0].surface.meta_pitch, dst_image->planes[0].surface.meta_slice_size,
215 radv_copy_vrs_htile(struct radv_cmd_buffer * cmd_buffer,struct radv_image * vrs_image,VkExtent2D * extent,struct radv_image * dst_image,struct radv_buffer * htile_buffer,bool read_htile_value) argument
H A Dradv_meta_blit.c469 VkImageLayout src_image_layout, struct radv_image *dst_image,
485 assert(dst_image->info.samples == 1);
509 if (dst_image->type == VK_IMAGE_TYPE_3D) {
590 .image = radv_image_to_handle(dst_image),
591 .viewType = radv_meta_get_view_type(dst_image),
592 .format = dst_image->vk_format,
614 src_offset_1, dst_image, &dst_iview, dst_image_layout, dst_offset_0,
634 RADV_FROM_HANDLE(radv_image, dst_image, pBlitImageInfo->dstImage);
637 blit_image(cmd_buffer, src_image, pBlitImageInfo->srcImageLayout, dst_image,
468 blit_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dst_image,VkImageLayout dst_image_layout,const VkImageBlit2KHR * region,VkFilter filter) argument
H A Dradv_meta_resolve_cs.c880 struct radv_image *dst_image = dst_iview->image; local in function:radv_depth_stencil_resolve_subpass_cs
904 .image = radv_image_to_handle(dst_image),
905 .viewType = radv_meta_get_view_type(dst_image),
927 uint32_t queue_mask = radv_image_queue_family_mask(dst_image, cmd_buffer->queue_family_index,
930 if (radv_layout_is_htile_compressed(cmd_buffer->device, dst_image, layout, false, queue_mask)) {
938 uint32_t htile_value = radv_get_htile_initial_value(cmd_buffer->device, dst_image);
940 cmd_buffer->state.flush_bits |= radv_clear_htile(cmd_buffer, dst_image, &range, htile_value);
H A Dradv_meta.h223 VkExtent2D *extent, struct radv_image *dst_image,
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_copyimage.c539 struct gl_texture_image *dst_image,
552 bool dst_is_compressed = dst_image && _mesa_is_format_compressed(dst_image->TexFormat);
556 if (dst_image)
557 _mesa_get_format_block_size(dst_image->TexFormat, &dst_blk_w, &dst_blk_h);
579 line_bytes = _mesa_format_row_stride(dst_image->TexFormat, dst_w);
581 if (dst_image) {
583 st->ctx, dst_image, dst_z,
613 if (dst_image) {
614 st->ctx->Driver.UnmapTextureImage(st->ctx, dst_image, dst_
538 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) argument
627 st_CopyImageSubData(struct gl_context * ctx,struct gl_texture_image * src_image,struct gl_renderbuffer * src_renderbuffer,int src_x,int src_y,int src_z,struct gl_texture_image * dst_image,struct gl_renderbuffer * dst_renderbuffer,int dst_x,int dst_y,int dst_z,int src_width,int src_height) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_copyimage.c539 struct gl_texture_image *dst_image,
552 bool dst_is_compressed = dst_image && _mesa_is_format_compressed(dst_image->TexFormat);
556 if (dst_image)
557 _mesa_get_format_block_size(dst_image->TexFormat, &dst_blk_w, &dst_blk_h);
579 line_bytes = _mesa_format_row_stride(dst_image->TexFormat, dst_w);
581 if (dst_image) {
583 st->ctx, dst_image, dst_z,
613 if (dst_image) {
614 st->ctx->Driver.UnmapTextureImage(st->ctx, dst_image, dst_
538 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) argument
627 st_CopyImageSubData(struct gl_context * ctx,struct gl_texture_image * src_image,struct gl_renderbuffer * src_renderbuffer,int src_x,int src_y,int src_z,struct gl_texture_image * dst_image,struct gl_renderbuffer * dst_renderbuffer,int dst_x,int dst_y,int dst_z,int src_width,int src_height) argument
[all...]
/xsrc/external/mit/xcb-util/dist/image/
H A Dtest_swap.c154 xcb_image_t *dst_image; local in function:main
207 dst_image = xcb_image_create (test_width, test_height, dst_format, 32, dst_bpp, dst_bpp, dst_unit,
215 xcb_image_convert (src_image, dst_image);
216 if (!compare_image (src_image, dst_image)) {
223 fprintf (stderr, "dst format: "); print_format(dst_image);
227 xcb_image_destroy (dst_image);
/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_picture.c244 pixman_image_t *dst_image; local in function:glamor_get_converted_image
247 dst_image = pixman_image_create_bits(dst_format, w, h, NULL, 0);
248 if (dst_image == NULL) {
255 pixman_image_unref(dst_image);
259 pixman_image_composite(PictOpSrc, src_image, NULL, dst_image,
263 return dst_image;
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_blorp.c263 ANV_FROM_HANDLE(anv_image, dst_image, dstImage);
272 anv_sanitize_image_offset(dst_image->type, pRegions[r].dstOffset);
278 if (dst_image->type == VK_IMAGE_TYPE_3D) {
284 anv_get_layerCount(dst_image, &pRegions[r].dstSubresource);
311 dst_image, 1UL << aspect_bit,
314 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image,
332 get_blorp_surf_for_anv_image(cmd_buffer->device, dst_image, dst_mask,
335 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image, dst_mask,
459 ANV_FROM_HANDLE(anv_image, dst_image, dstImage);
461 copy_buffer_to_image(cmd_buffer, src_buffer, dst_image, dstImageLayou
1187 anv_image_msaa_resolve(struct anv_cmd_buffer * cmd_buffer,const struct anv_image * src_image,enum isl_aux_usage src_aux_usage,uint32_t src_level,uint32_t src_base_layer,const struct anv_image * dst_image,enum isl_aux_usage dst_aux_usage,uint32_t dst_level,uint32_t dst_base_layer,VkImageAspectFlagBits aspect,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width,uint32_t height,uint32_t layer_count,enum blorp_filter filter) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_blorp.c320 struct anv_image *dst_image,
327 anv_sanitize_image_offset(dst_image->vk.image_type, region->dstOffset);
333 if (dst_image->vk.image_type == VK_IMAGE_TYPE_3D) {
338 layer_count = vk_image_subresource_layer_count(&dst_image->vk,
367 dst_image, 1UL << aspect_bit,
371 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image,
386 dst_image,
404 get_blorp_surf_for_anv_image(cmd_buffer->device, dst_image, dst_mask,
408 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image, dst_mask,
422 dst_image, dst_mas
316 copy_image(struct anv_cmd_buffer * cmd_buffer,struct blorp_batch * batch,struct anv_image * src_image,VkImageLayout src_image_layout,struct anv_image * dst_image,VkImageLayout dst_image_layout,const VkImageCopy2KHR * region) argument
672 blit_image(struct anv_cmd_buffer * cmd_buffer,struct blorp_batch * batch,struct anv_image * src_image,VkImageLayout src_image_layout,struct anv_image * dst_image,VkImageLayout dst_image_layout,const VkImageBlit2KHR * region,VkFilter filter) argument
1397 anv_image_msaa_resolve(struct anv_cmd_buffer * cmd_buffer,const struct anv_image * src_image,enum isl_aux_usage src_aux_usage,uint32_t src_level,uint32_t src_base_layer,const struct anv_image * dst_image,enum isl_aux_usage dst_aux_usage,uint32_t dst_level,uint32_t dst_base_layer,VkImageAspectFlagBits aspect,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width,uint32_t height,uint32_t layer_count,enum blorp_filter filter) argument
1467 resolve_image(struct anv_cmd_buffer * cmd_buffer,struct anv_image * src_image,VkImageLayout src_image_layout,struct anv_image * dst_image,VkImageLayout dst_image_layout,const VkImageResolve2KHR * region) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_meta_copy.c229 struct tu_image *dst_image,
237 uint64_t dst_va = dst_image->bo->iova + dst_image->bo_offset + dst_image->layer_size * layer + dst_image->levels[copy_info->imageSubresource.mipLevel].offset;
238 unsigned dst_pitch = dst_image->levels[copy_info->imageSubresource.mipLevel].pitch *
293 A6XX_RB_2D_DST_INFO_TILE_MODE(dst_image->tile_mode) |
346 struct tu_image *dst_image,
350 tu_bo_list_add(&cmdbuf->bo_list, dst_image->bo, MSM_SUBMIT_BO_WRITE);
361 VkFormat format = dst_image
227 tu_copy_buffer_to_image_step(struct tu_cmd_buffer * cmdbuf,struct tu_buffer * src_buffer,struct tu_image * dst_image,const VkBufferImageCopy * copy_info,VkFormat format,uint32_t layer,uint64_t src_va) argument
344 tu_copy_buffer_to_image(struct tu_cmd_buffer * cmdbuf,struct tu_buffer * src_buffer,struct tu_image * dst_image,const VkBufferImageCopy * copy_info) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_clear_blit.c1305 struct tu_image *dst_image,
1354 if (dst_image->layout[0].nr_samples > 1 ||
1366 VkFormat format = dst_image->vk_format;
1379 blit_param, false, dst_image->layout[0].ubwc,
1380 dst_image->layout[0].nr_samples);
1403 tu_image_view_blit(&dst, dst_image, &info->dstSubresource,
1430 dst_image->vk_format,
1447 TU_FROM_HANDLE(tu_image, dst_image, dstImage);
1454 dst_image->vk_format == VK_FORMAT_D32_SFLOAT_S8_UINT) {
1459 tu6_blit_image(cmd, src_image, dst_image,
1303 tu6_blit_image(struct tu_cmd_buffer * cmd,struct tu_image * src_image,struct tu_image * dst_image,const VkImageBlit * info,VkFilter filter) argument
1494 tu_copy_buffer_to_image(struct tu_cmd_buffer * cmd,struct tu_buffer * src_buffer,struct tu_image * dst_image,const VkBufferImageCopy * info) argument
1676 tu_copy_image_to_image(struct tu_cmd_buffer * cmd,struct tu_image * src_image,struct tu_image * dst_image,const VkImageCopy * info) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_meta_resolve_cs.c519 struct radv_image *dst_image = dst_iview->image; local in function:radv_cmd_buffer_resolve_subpass_cs
542 .image = radv_image_to_handle(dst_image),
543 .viewType = radv_meta_get_view_type(dst_image),
544 .format = vk_to_non_srgb_format(dst_image->vk_format),
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_glyphs.c1665 pixman_image_t *src_image, *dst_image; local in function:glyphs_fallback
1786 dst_image = image_from_pict(dst, TRUE, &dst_dx, &dst_dy);
1787 if (dst_image == NULL)
1792 pixman_composite_glyphs(op, src_image, dst_image,
1802 pixman_composite_glyphs_no_mask(op, src_image, dst_image,
1810 free_pixman_pict(dst, dst_image);
1824 dst_image = image_from_pict(dst, TRUE, &x, &y);
1825 if (dst_image == NULL)
1867 mask_image = dst_image;
1939 dst_image,
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_glyphs.c1631 pixman_image_t *src_image, *dst_image; local in function:glyphs_fallback
1752 dst_image = image_from_pict(dst, TRUE, &dst_dx, &dst_dy);
1753 if (dst_image == NULL)
1758 pixman_composite_glyphs(op, src_image, dst_image,
1768 pixman_composite_glyphs_no_mask(op, src_image, dst_image,
1776 free_pixman_pict(dst, dst_image);
1790 dst_image = image_from_pict(dst, TRUE, &x, &y);
1791 if (dst_image == NULL)
1833 mask_image = dst_image;
1905 dst_image,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_tgsi.c741 struct ureg_dst dst_image = ureg_dst(image); local in function:si_create_fmask_expand_cs
743 ureg_memory_insn(ureg, TGSI_OPCODE_STORE, &dst_image, 1, srcs, 2, TGSI_MEMORY_RESTRICT,
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_execute.c2207 LVP_FROM_HANDLE(lvp_image, dst_image, copycmd->dstImage);
2232 box.z = dst_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageOffset.z : copycmd->pRegions[i].imageSubresource.baseArrayLayer;
2235 box.depth = dst_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageExtent.depth : copycmd->pRegions[i].imageSubresource.layerCount;
2238 dst_image->bo,
2244 enum pipe_format dst_format = dst_image->bo->format;
2248 src_format = util_format_get_depth_only(dst_image->bo->format);
2292 LVP_FROM_HANDLE(lvp_image, dst_image, copycmd->dstImage);
2310 unsigned dstz = dst_image->bo->target == PIPE_TEXTURE_3D ?
2313 state->pctx->resource_copy_region(state->pctx, dst_image->bo,
2345 LVP_FROM_HANDLE(lvp_image, dst_image, blitcm
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Ddispatch.hpp381 cl_mem dst_image,
403 cl_mem dst_image,
/xsrc/external/mit/MesaLib.old/dist/include/CL/
H A Dcl.h1517 cl_mem dst_image,
1539 cl_mem dst_image,

Completed in 38 milliseconds

12