Refactor ImageInfo 2/n

Change-Id: I5e6081a75b802cc98fd89e384d550a219353728b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-01-08 17:29:15 +01:00
committed by sys_ocldev
parent 0a39140284
commit 81e9591c31
56 changed files with 599 additions and 578 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2019 Intel Corporation
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -471,7 +471,7 @@ HWTEST_P(MipMapWriteImageTest, GivenImageWithMipLevelNonZeroWhenReadImageIsCalle
EXPECT_NE(nullptr, image.get());
auto hostPtrSize = Image::calculateHostPtrSize(region, image->getHostPtrRowPitch(), image->getHostPtrSlicePitch(),
image->getSurfaceFormatInfo().ImageElementSizeInBytes, image_type);
image->getSurfaceFormatInfo().surfaceFormat.ImageElementSizeInBytes, image_type);
std::unique_ptr<uint32_t[]> ptr = std::unique_ptr<uint32_t[]>(new uint32_t[hostPtrSize]);
retVal = pCmdQ->enqueueWriteImage(image.get(),