/third_party/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 245 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_copy_test() local 265 src_img.bo[0] = src->handle; in g2d_copy_test() 277 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test() 278 src_img.user_ptr[0].size = size; in g2d_copy_test() 289 src_img.width = img_w; in g2d_copy_test() 290 src_img.height = img_h; in g2d_copy_test() 291 src_img.stride = src_img.width * 4; in g2d_copy_test() 292 src_img.buf_type = type; in g2d_copy_test() 293 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_test() 294 src_img.color = 0xffff0000; in g2d_copy_test() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit2d.c | 105 blit2d_bind_src(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img, in blit2d_bind_src() argument 131 create_iview(cmd_buffer, src_img, &tmp->iview, depth_format, aspects); in blit2d_bind_src() 136 VK_SHADER_STAGE_FRAGMENT_BIT, 16, 4, &src_img->layer); in blit2d_bind_src() 198 struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d_normal_dst() argument 216 else if (src_img) in radv_meta_blit2d_normal_dst() 217 src_aspect_mask = src_img->aspect_mask; in radv_meta_blit2d_normal_dst() 220 blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, in radv_meta_blit2d_normal_dst() 376 radv_meta_blit2d(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d() argument 380 bool use_3d = (src_img && src_img->image->vk.image_type == VK_IMAGE_TYPE_3D); in radv_meta_blit2d() 384 radv_meta_blit2d_normal_dst(cmd_buffer, src_img, src_buf, dst, num_rects, rects, src_type, in radv_meta_blit2d() [all …]
|
D | radv_meta_resolve.c | 594 struct radv_image *src_img = src_iview->image; in radv_cmd_buffer_resolve_subpass_hw() local 633 emit_resolve(cmd_buffer, src_img, dst_img, dest_iview->vk.format, &(VkOffset2D){0, 0}, in radv_cmd_buffer_resolve_subpass_hw() 732 struct radv_image *src_img = src_iview->image; in radv_cmd_buffer_resolve_subpass() local 734 radv_pick_resolve_method_images(cmd_buffer->device, src_img, src_iview->vk.format, dst_img, in radv_cmd_buffer_resolve_subpass()
|
D | radv_meta.h | 157 void radv_meta_blit2d(struct radv_cmd_buffer *cmd_buffer, struct radv_meta_blit2d_surf *src_img,
|
/third_party/skia/tests/ |
D | SerialProcsTest.cpp | 30 auto src_img = GetResourceAsImage("images/mandrill_128.png"); in DEF_TEST() local 58 canvas->drawImage(src_img, 0, 0); in DEF_TEST() 62 State state = { magic_str, src_img.get() }; in DEF_TEST() 79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
D | transfer.cpp | 203 image &src_img, const vector_t &src_orig, in validate_copy() argument 205 if (dst_img.format() != src_img.format()) in validate_copy() 208 if (dst_img == src_img) { in validate_copy() 733 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImage() local 742 validate_object(q, src_img, src_origin, region); in clEnqueueCopyImage() 743 validate_copy(q, dst_img, dst_origin, src_img, src_origin, region); in clEnqueueCopyImage() 748 &src_img, src_origin, in clEnqueueCopyImage() 766 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImageToBuffer() local 771 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer() 773 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer() [all …]
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_cmd_buffer.c | 3426 struct dzn_image *src_img = container_of(src->vk.image, struct dzn_image, vk); in dzn_cmd_buffer_resolve_rendering_attachment() local 3427 D3D12_RESOURCE_STATES src_state = dzn_image_layout_to_state(src_img, src_layout, aspect); in dzn_cmd_buffer_resolve_rendering_attachment() 3447 dzn_cmd_buffer_queue_image_range_state_transition(cmdbuf, src_img, &src_range, in dzn_cmd_buffer_resolve_rendering_attachment() 3459 dzn_image_range_get_subresource_index(src_img, &src_range, aspect, level, layer); in dzn_cmd_buffer_resolve_rendering_attachment() 3465 src_img->res, src_subres, in dzn_cmd_buffer_resolve_rendering_attachment() 3470 dzn_cmd_buffer_queue_image_range_state_transition(cmdbuf, src_img, &src_range, in dzn_cmd_buffer_resolve_rendering_attachment()
|