| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | intel_copy_image.c | 70 struct gl_texture_image *src_image, 82 if (src_image) { 83 src_mt = intel_texture_image(src_image)->mt; 84 src_level = src_image->Level + src_image->TexObject->MinLevel; 87 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) 88 src_z = src_image->Face; 90 src_z += src_image->TexObject->MinLayer; 94 src_image = src_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
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_copy_image.c | 70 struct gl_texture_image *src_image, 82 if (src_image) { 83 src_mt = brw_texture_image(src_image)->mt; 84 src_level = src_image->Level + src_image->TexObject->Attrib.MinLevel; 87 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) 88 src_z = src_image->Face; 90 src_z += src_image->TexObject->Attrib.MinLayer; 94 src_image = src_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
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_meta_resolve.c | 333 static void radv_pick_resolve_method_images(struct radv_image *src_image, argument 344 if (src_image->vk_format == VK_FORMAT_R16G16_UNORM || 345 src_image->vk_format == VK_FORMAT_R16G16_SNORM) 347 else if (vk_format_is_int(src_image->vk_format)) 349 else if (src_image->info.array_size > 1 || 356 src_image->planes[0].surface.micro_tile_mode) { 401 RADV_FROM_HANDLE(radv_image, src_image, src_image_h); 418 if (regions[0].extent.width != src_image->info.width || 419 regions[0].extent.height != src_image->info.height || 420 regions[0].extent.depth != src_image 715 struct radv_image *src_image = local in function:radv_decompress_resolve_subpass_src 732 radv_decompress_resolve_src(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,uint32_t region_count,const VkImageResolve * regions) argument [all...] |
| H A D | radv_meta_copy.c | 401 RADV_FROM_HANDLE(radv_image, src_image, srcImage); 404 meta_copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, 411 struct radv_image *src_image, 427 assert(src_image->info.samples == dest_image->info.samples); 444 unsigned aspect_count = pRegions[r].srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1; 453 blit_surf_for_image_level_layer(src_image, 468 uint32_t src_queue_mask = radv_image_queue_family_mask(src_image, 471 bool src_compressed = radv_layout_dcc_compressed(src_image, src_image_layout, src_queue_mask); 502 meta_region_offset_el(src_image, &pRegions[r].srcOffset); 514 meta_region_extent_el(src_image, dest_imag 410 meta_copy_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dest_image,VkImageLayout dest_image_layout,uint32_t regionCount,const VkImageCopy * pRegions) argument [all...] |
| H A D | radv_meta_resolve_cs.c | 399 struct radv_image *src_image, 408 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, 424 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, 432 radv_sanitize_image_extent(src_image->type, region->extent); 434 radv_sanitize_image_offset(src_image->type, region->srcOffset); 445 .image = radv_image_to_handle(src_image), 446 .viewType = radv_meta_get_view_type(src_image), 447 .format = src_image->vk_format, 518 struct radv_image *src_image = src_iview->image; local in function:radv_cmd_buffer_resolve_subpass_cs 520 for (uint32_t layer = 0; layer < src_image 398 radv_meta_resolve_compute_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dest_image,VkImageLayout dest_image_layout,uint32_t region_count,const VkImageResolve * regions) argument [all...] |
| H A D | radv_meta_resolve_fs.c | 448 struct radv_image *src_image, 457 const uint32_t samples = src_image->info.samples; 463 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, 489 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, 497 radv_sanitize_image_extent(src_image->type, region->extent); 499 radv_sanitize_image_offset(src_image->type, region->srcOffset); 510 .image = radv_image_to_handle(src_image), 511 .viewType = radv_meta_get_view_type(src_image), 512 .format = src_image->vk_format, 447 radv_meta_resolve_fragment_image(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,struct radv_image * dest_image,VkImageLayout dest_image_layout,uint32_t region_count,const VkImageResolve * regions) argument
|
| H A D | radv_meta.h | 185 struct radv_image *src_image, 193 struct radv_image *src_image, 203 struct radv_image *src_image,
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_meta_resolve.c | 316 emit_resolve(struct radv_cmd_buffer *cmd_buffer, const struct radv_image *src_image, argument 325 radv_src_access_flush(cmd_buffer, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, src_image) | 326 radv_dst_access_flush(cmd_buffer, VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, src_image) | 358 image_hw_resolve_compat(const struct radv_device *device, struct radv_image *src_image, argument 363 src_image->planes[0].surface.u.gfx9.swizzle_mode; 366 src_image->planes[0].surface.micro_tile_mode; 371 radv_pick_resolve_method_images(struct radv_device *device, struct radv_image *src_image, argument 390 } else if (!image_hw_resolve_compat(device, src_image, dest_image)) { 402 else if (src_image->info.array_size > 1 || dest_image->info.array_size > 1) 405 if (src_image 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 877 struct radv_image *src_image = src_iview->image; local in function:radv_decompress_resolve_subpass_src 908 radv_decompress_resolve_src(struct radv_cmd_buffer * cmd_buffer,struct radv_image * src_image,VkImageLayout src_image_layout,const VkImageResolve2KHR * region) argument [all...] |
| H A D | radv_meta_copy.c | 369 RADV_FROM_HANDLE(radv_image, src_image, pCopyImageToBufferInfo->srcImage); 373 copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, 380 copy_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, argument 393 assert(src_image->info.samples == dst_image->info.samples); 440 region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1; 449 src_image, src_image_layout, ®ion->srcSubresource, src_aspects[a]); 460 src_image, cmd_buffer->queue_family_index, cmd_buffer->queue_family_index); 461 bool src_compressed = radv_layout_dcc_compressed(cmd_buffer->device, src_image, 495 const VkOffset3D src_offset_el = meta_region_offset_el(src_image, ®ion->srcOffset); 507 meta_region_extent_el(src_image, dst_imag [all...] |
| H A D | radv_meta_blit.c | 241 meta_emit_blit(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, argument 255 assert(src_image->info.samples == dest_image->info.samples); 303 switch (src_image->type) { 335 switch (src_image->type) { 367 switch (src_image->type) { 390 translate_sampler_dim(src_image->type), fs_key, pipeline); 468 blit_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, argument 484 assert(src_image->info.samples == 1); 519 if (src_image->type == VK_IMAGE_TYPE_3D) { 534 if (src_image [all...] |
| H A D | radv_meta_resolve_fs.c | 932 radv_meta_resolve_fragment_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, argument 938 const uint32_t samples = src_image->info.samples; 944 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, region); 966 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, ®ion->srcOffset); 971 const struct VkExtent3D extent = radv_sanitize_image_extent(src_image->type, region->extent); 973 radv_sanitize_image_offset(src_image->type, region->srcOffset); 983 .image = radv_image_to_handle(src_image), 984 .viewType = radv_meta_get_view_type(src_image), 985 .format = src_image->vk_format, 1138 struct radv_image *src_image local in function:radv_depth_stencil_resolve_subpass_fs [all...] |
| /xsrc/external/mit/xcb-util/dist/image/ |
| H A D | test_swap.c | 153 xcb_image_t *src_image; local in function:main 205 src_image = xcb_image_create (test_width, test_height, src_format, 32, src_bpp, src_bpp, src_unit, 209 convert_test (test_image, src_image); 210 if (!compare_image (test_image, src_image)) { 212 fprintf (stderr, "src format: "); print_format(src_image); 215 xcb_image_convert (src_image, dst_image); 216 if (!compare_image (src_image, dst_image)) { 222 fprintf (stderr, "src format: "); print_format(src_image); 226 xcb_image_destroy (src_image);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_cb_copyimage.c | 542 struct gl_texture_image *src_image, 553 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); 558 if (src_image) 559 _mesa_get_format_block_size(src_image->TexFormat, &src_blk_w, &src_blk_h); 576 if (src_image) 577 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); 594 if (src_image) { 596 st->ctx, src_image, src_z, 619 if (src_image) { 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 D | st_cb_copyimage.c | 542 struct gl_texture_image *src_image, 553 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); 558 if (src_image) 559 _mesa_get_format_block_size(src_image->TexFormat, &src_blk_w, &src_blk_h); 576 if (src_image) 577 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); 594 if (src_image) { 596 st->ctx, src_image, src_z, 619 if (src_image) { 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/pixman/dist/pixman/ |
| H A D | pixman-inlines.h | 453 pixman_fixed_t src_width_fixed = pixman_int_to_fixed (src_image->bits.width); \ 477 PIXMAN_IMAGE_GET_LINE (src_image, 0, 0, src_type_t, src_stride, src_first_line, 1); \ 484 if (!pixman_transform_point_3d (src_image->common.transform, &v)) \ 487 unit_x = src_image->common.transform->matrix[0][0]; \ 488 unit_y = src_image->common.transform->matrix[1][1]; \ 499 max_vy = pixman_int_to_fixed (src_image->bits.height); \ 509 pad_repeat_get_scanline_bounds (src_image->bits.width, vx, unit_x, \ 530 repeat (PIXMAN_REPEAT_PAD, &y, src_image->bits.height); \ 535 src + src_image->bits.width - src_image [all...] |
| H A D | pixman-fast-path.c | 124 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1); 171 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 239 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint8_t, src_stride, src_line, 1); 275 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 323 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 369 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 426 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 481 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 538 src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format); 604 PIXMAN_IMAGE_GET_LINE (src_image, src_ [all...] |
| H A D | pixman-mips-dspr2.h | 69 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \ 107 imp, src_image, dest_image->bits.format); \ 146 imp, src_image, dest_image->bits.format); \ 195 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \ 232 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \
|
| H A D | pixman.c | 244 pixman_image_t * src_image, 309 if (src_image->common.have_clip_region) 311 if (!clip_source_image (region, src_image, dest_x - src_x, dest_y - src_y)) 314 if (src_image->common.alpha_map && src_image->common.alpha_map->common.have_clip_region) 316 if (!clip_source_image (region, (pixman_image_t *)src_image->common.alpha_map, 317 dest_x - (src_x - src_image->common.alpha_origin_x), 318 dest_y - (src_y - src_image->common.alpha_origin_y))) 698 info.src_image = src; 1137 pixman_image_t * src_image, 243 _pixman_compute_composite_region32(pixman_region32_t * region,pixman_image_t * src_image,pixman_image_t * mask_image,pixman_image_t * dest_image,int32_t src_x,int32_t src_y,int32_t mask_x,int32_t mask_y,int32_t dest_x,int32_t dest_y,int32_t width,int32_t height) argument 1136 pixman_compute_composite_region(pixman_region16_t * region,pixman_image_t * src_image,pixman_image_t * mask_image,pixman_image_t * dest_image,int16_t src_x,int16_t src_y,int16_t mask_x,int16_t mask_y,int16_t dest_x,int16_t dest_y,uint16_t width,uint16_t height) argument [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| H A D | affine-bench.c | 51 pixman_image_t *src_image; member in struct:bench_info 183 info->src_image, info->mask_image, info->dest_image, 194 info->src_image, info->mask_image, info->dest_image, 218 info.src_image = bi->src_image; 242 pixman_image_set_transform (bi->src_image, &t); 427 &src, &binfo.src_image);
|
| /xsrc/external/mit/libXcursor/dist/src/ |
| H A D | cursor.c | 227 XImage *src_image; member in struct:XcursorCoreCursor 236 XImage *src_image = core->src_image, *msk_image = core->msk_image; local in function:_XcursorHeckbertMedianCut 328 XPutPixel (src_image, x, y, 0); 330 XPutPixel (src_image, x, y, 1); 335 XPutPixel (src_image, x, y, 0); 381 XPutPixel (core->src_image, x, y, 0); /* white */ 383 XPutPixel (core->src_image, x, y, 1); /* black */ 388 XPutPixel (core->src_image, x, y, 0); 466 XPutPixel (core->src_image, [all...] |
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| H A D | glamor_picture.c | 245 pixman_image_t *src_image; local in function:glamor_get_converted_image 252 src_image = pixman_image_create_bits(src_format, w, h, src_bits, src_stride); 254 if (src_image == NULL) { 259 pixman_image_composite(PictOpSrc, src_image, NULL, dst_image, 262 pixman_image_unref(src_image);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | tu_meta_copy.c | 419 struct tu_image *src_image, 428 uint64_t src_va = src_image->bo->iova + src_image->bo_offset + src_image->layer_size * layer + src_image->levels[copy_info->imageSubresource.mipLevel].offset; 429 unsigned src_pitch = src_image->levels[copy_info->imageSubresource.mipLevel].pitch * 460 A6XX_SP_PS_2D_SRC_INFO_TILE_MODE(src_image->tile_mode) | 463 A6XX_SP_PS_2D_SRC_SIZE_WIDTH(src_image->extent.width) | 465 src_image->extent.height)); /* SP_PS_2D_SRC_SIZE */ 535 struct tu_image *src_image, 418 tu_copy_image_to_buffer_step(struct tu_cmd_buffer * cmdbuf,struct tu_image * src_image,struct tu_buffer * dst_buffer,const VkBufferImageCopy * copy_info,VkFormat format,uint32_t layer,uint64_t dst_va) argument 534 tu_copy_image_to_buffer(struct tu_cmd_buffer * cmdbuf,struct tu_image * src_image,struct tu_buffer * dst_buffer,const VkBufferImageCopy * copy_info) argument 665 meta_copy_image(struct tu_cmd_buffer * cmd_buffer,struct tu_image * src_image,VkImageLayout src_image_layout,struct tu_image * dest_image,VkImageLayout dest_image_layout,uint32_t regionCount,const VkImageCopy * pRegions) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_blorp.c | 262 ANV_FROM_HANDLE(anv_image, src_image, srcImage); 270 anv_sanitize_image_offset(src_image->type, pRegions[r].srcOffset); 274 anv_sanitize_image_extent(src_image->type, pRegions[r].extent); 289 if (src_image->type == VK_IMAGE_TYPE_3D) { 294 anv_get_layerCount(src_image, &pRegions[r].srcSubresource)); 304 anv_foreach_image_aspect_bit(aspect_bit, src_image, src_mask) { 307 src_image, 1UL << aspect_bit, 329 get_blorp_surf_for_anv_image(cmd_buffer->device, src_image, src_mask, 474 ANV_FROM_HANDLE(anv_image, src_image, srcImage); 477 copy_buffer_to_image(cmd_buffer, dst_buffer, src_image, srcImageLayou 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/xwud/dist/ |
| H A D | xwud.c | 56 XImage *src_image, int exp_x, int exp_y, 748 putScaledImage(Display *display, Drawable d, GC gc, XImage *src_image, argument 761 if (dest_width == src_image->width && dest_height == src_image->height) { 763 XPutImage(display, d, gc, src_image, exp_x, exp_y, 768 ratio_x = (double)dest_width / (double)src_image->width; 769 ratio_y = (double)dest_height / (double)src_image->height; 772 if (src_x >= src_image->width) 773 src_x = src_image->width - 1; 775 if (src_y >= src_image [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| H A D | anv_blorp.c | 318 struct anv_image *src_image, 325 anv_sanitize_image_offset(src_image->vk.image_type, region->srcOffset); 329 anv_sanitize_image_extent(src_image->vk.image_type, region->extent); 344 if (src_image->vk.image_type == VK_IMAGE_TYPE_3D) { 349 vk_image_subresource_layer_count(&src_image->vk, 359 anv_foreach_image_aspect_bit(aspect_bit, src_image, src_mask) { 362 src_image, 1UL << aspect_bit, 400 get_blorp_surf_for_anv_image(cmd_buffer->device, src_image, src_mask, 440 ANV_FROM_HANDLE(anv_image, src_image, pCopyImageInfo->srcImage); 448 src_image, pCopyImageInf 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...] |