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/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.cpp30 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()
/external/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp179 image &src_img, const vector_t &src_orig, in validate_copy() argument
181 if (dst_img.format() != src_img.format()) in validate_copy()
184 if (dst_img == src_img) { in validate_copy()
696 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImage() local
705 validate_object(q, src_img, src_origin, region); in clEnqueueCopyImage()
706 validate_copy(q, dst_img, dst_origin, src_img, src_origin, region); in clEnqueueCopyImage()
711 &src_img, src_origin, in clEnqueueCopyImage()
729 auto &src_img = obj<image>(d_src_mem); in clEnqueueCopyImageToBuffer() local
734 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer()
736 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c115 struct radv_meta_blit2d_surf *src_img, in blit2d_bind_src() argument
147 create_iview(cmd_buffer, src_img, &tmp->iview, depth_format, aspects); in blit2d_bind_src()
153 &src_img->layer); in blit2d_bind_src()
246 struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d_normal_dst() argument
265 else if (src_img) in radv_meta_blit2d_normal_dst()
266 src_aspect_mask = src_img->aspect_mask; in radv_meta_blit2d_normal_dst()
269 …blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, src_aspect_mask,… in radv_meta_blit2d_normal_dst()
411 struct radv_meta_blit2d_surf *src_img, in radv_meta_blit2d() argument
418 (src_img && src_img->image->type == VK_IMAGE_TYPE_3D); in radv_meta_blit2d()
421 radv_meta_blit2d_normal_dst(cmd_buffer, src_img, src_buf, dst, in radv_meta_blit2d()
[all …]
Dradv_meta.h165 struct radv_meta_blit2d_surf *src_img,
Dradv_meta_resolve.c830 struct radv_image *src_img = src_iview->image; in radv_cmd_buffer_resolve_subpass() local
832 radv_pick_resolve_method_images(cmd_buffer->device, src_img, in radv_cmd_buffer_resolve_subpass()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp2132 …pyImageTransferGranularityRequirements(const CMD_BUFFER_STATE *cb_node, const IMAGE_STATE *src_img, in ValidateCopyImageTransferGranularityRequirements() argument
2137 VkExtent3D granularity = GetScaledItg(cb_node, src_img); in ValidateCopyImageTransferGranularityRequirements()
2140 VkExtent3D subresource_extent = GetImageSubresourceExtent(src_img, &region->srcSubresource); in ValidateCopyImageTransferGranularityRequirements()
2142 …cb_node, &extent, &region->srcOffset, &granularity, &subresource_extent, src_img->createInfo.image… in ValidateCopyImageTransferGranularityRequirements()
2151 GetAdjustedDestImageExtent(src_img->createInfo.format, dst_img->createInfo.format, extent); in ValidateCopyImageTransferGranularityRequirements()
Dcore_validation.h1286 …pyImageTransferGranularityRequirements(const CMD_BUFFER_STATE* cb_node, const IMAGE_STATE* src_img,