Home
last modified time | relevance | path

Searched refs:src_img (Results 1 – 9 of 9) sorted by relevance

/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c246 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_copy_test() local
266 src_img.bo[0] = src->handle; in g2d_copy_test()
278 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test()
279 src_img.user_ptr[0].size = size; in g2d_copy_test()
290 src_img.width = img_w; in g2d_copy_test()
291 src_img.height = img_h; in g2d_copy_test()
292 src_img.stride = src_img.width * 4; in g2d_copy_test()
293 src_img.buf_type = type; in g2d_copy_test()
294 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_test()
295 src_img.color = 0xffff0000; in g2d_copy_test()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dtransfer.cpp157 image &src_img, const vector_t &src_orig, in validate_copy() argument
159 if (dst_img.format() != src_img.format()) in validate_copy()
162 if (dst_img == src_img) { in validate_copy()
573 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImage() local
582 validate_object(q, src_img, src_origin, region); in clEnqueueCopyImage()
583 validate_copy(q, dst_img, dst_origin, src_img, src_origin, region); in clEnqueueCopyImage()
588 &src_img, src_origin, in clEnqueueCopyImage()
606 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImageToBuffer() local
611 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer()
613 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer()
[all …]
/external/skqp/tests/
DSerialProcsTest.cpp31 auto src_img = GetResourceAsImage("images/mandrill_128.png"); in DEF_TEST() local
59 canvas->drawImage(src_img, 0, 0, nullptr); in DEF_TEST()
63 State state = { magic_str, src_img.get() }; in DEF_TEST()
80 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
/external/skia/tests/
DSerialProcsTest.cpp31 auto src_img = GetResourceAsImage("images/mandrill_128.png"); in DEF_TEST() local
59 canvas->drawImage(src_img, 0, 0, nullptr); in DEF_TEST()
63 State state = { magic_str, src_img.get() }; in DEF_TEST()
80 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c99 struct radv_meta_blit2d_surf *src_img, in blit2d_bind_src() argument
130 create_iview(cmd_buffer, src_img, &tmp->iview, depth_format, aspects); in blit2d_bind_src()
136 &src_img->layer); in blit2d_bind_src()
226 struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d_normal_dst() argument
244 blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, aspect_mask); in radv_meta_blit2d_normal_dst()
350 struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d() argument
357 (src_img && src_img->image->type == VK_IMAGE_TYPE_3D); in radv_meta_blit2d()
360 radv_meta_blit2d_normal_dst(cmd_buffer, src_img, src_buf, dst, in radv_meta_blit2d()
Dradv_meta.h133 struct radv_meta_blit2d_surf *src_img,
Dradv_meta_resolve.c622 …struct radv_image *src_img = cmd_buffer->state.framebuffer->attachments[src_att.attachment].attach… in radv_cmd_buffer_resolve_subpass() local
624 radv_pick_resolve_method_images(src_img, dst_img, dest_att.layout, cmd_buffer, &resolve_method); in radv_cmd_buffer_resolve_subpass()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp2098 … const IMAGE_STATE *src_img, const IMAGE_STATE *dst_img, in ValidateCopyImageTransferGranularityRequirements() argument
2103 VkExtent3D granularity = GetScaledItg(device_data, cb_node, src_img); in ValidateCopyImageTransferGranularityRequirements()
2106 VkExtent3D subresource_extent = GetImageSubresourceExtent(src_img, &region->srcSubresource); in ValidateCopyImageTransferGranularityRequirements()
2109src_img->createInfo.imageType, i, function, "extent", "VUID-vkCmdCopyImage-srcOffset-01783"); in ValidateCopyImageTransferGranularityRequirements()
2117 GetAdjustedDestImageExtent(src_img->createInfo.format, dst_img->createInfo.format, extent); in ValidateCopyImageTransferGranularityRequirements()
Dcore_validation.h679 … const IMAGE_STATE* src_img, const IMAGE_STATE* dst_img,