Home
last modified time | relevance | path

Searched refs:imageCreateInfo (Results 1 – 25 of 27) sorted by relevance

12

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_win32_keyed_mutex.adoc48 VkImageCreateInfo imageCreateInfo;
91 memset(&imageCreateInfo, 0, sizeof(imageCreateInfo));
92 imageCreateInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO;
93 imageCreateInfo.pNext = &externalMemoryImageCreateInfo;
94 imageCreateInfo.format = format;
95 imageCreateInfo.extent.width = 64;
96 imageCreateInfo.extent.height = 64;
97 imageCreateInfo.extent.depth = 1;
98 imageCreateInfo.mipLevels = 1;
99 imageCreateInfo.arrayLayers = 1;
[all …]
DVK_NV_optical_flow.adoc72 VkImageCreateInfo imageCreateInfo = { VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, &ofFormatInfo };
73 imageCreateInfo.imageType = VK_IMAGE_TYPE_2D;
74 imageCreateInfo.format = inputFormat;
75 imageCreateInfo.extent = { width, height, (uint32_t)1};
76 imageCreateInfo.mipLevels = 1;
77 imageCreateInfo.arrayLayers = 1;
78 imageCreateInfo.samples = VK_SAMPLE_COUNT_1_BIT;
79 imageCreateInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT;;
80 imageCreateInfo.tiling = VK_IMAGE_TILING_OPTIMAL;
82 vkCreateImage(device, &imageCreateInfo, NULL, &input);
DVK_NV_external_memory_win32.adoc95 VkImageCreateInfo imageCreateInfo;
148 memset(&imageCreateInfo, 0, sizeof(imageCreateInfo));
149 imageCreateInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO;
150 imageCreateInfo.pNext = &externalMemoryImageCreateInfo;
151 imageCreateInfo.format = format;
152 imageCreateInfo.extent.width = 64;
153 imageCreateInfo.extent.height = 64;
154 imageCreateInfo.extent.depth = 1;
155 imageCreateInfo.mipLevels = 1;
156 imageCreateInfo.arrayLayers = 1;
[all …]
DVK_NV_dedicated_allocation.adoc50 VkImageCreateInfo imageCreateInfo =
60 &imageCreateInfo,
DVK_QCOM_fragment_density_map_offset.adoc40 VkImageCreateInfo imageCreateInfo =
56 vkCreateImage(device, &imageCreateInfo, nullptr, &fdmImage);
DVK_KHR_dedicated_allocation.adoc59 VkImageCreateInfo imageCreateInfo =
67 &imageCreateInfo,
DVK_EXT_fragment_density_map.adoc77 VkImageCreateInfo imageCreateInfo =
93 vkCreateImage(device, &imageCreateInfo, nullptr, &fdmImage);
/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshotUtils.cpp135 const VkImageCreateInfo& imageCreateInfo = imageInfo->imageCreateInfoShallow; in saveImageContent() local
153 imageCreateInfo.extent.width * imageCreateInfo.extent.height * in saveImageContent()
154 imageCreateInfo.extent.depth * bytes_per_pixel(imageCreateInfo.format)), in saveImageContent()
200 VkExtent3D mipmapExtent = getMipmapExtent(imageCreateInfo.extent, mipLevel); in saveImageContent()
202 imageCreateInfo.usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT in saveImageContent()
268 bytes_per_pixel(imageCreateInfo.format); in saveImageContent()
286 const VkImageCreateInfo& imageCreateInfo = imageInfo->imageCreateInfoShallow; in loadImageContent() local
305 imageCreateInfo.usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT in loadImageContent()
351 imageCreateInfo.extent.width * imageCreateInfo.extent.height * in loadImageContent()
352 imageCreateInfo.extent.depth * bytes_per_pixel(imageCreateInfo.format)), in loadImageContent()
[all …]
DBorrowedImageVk.h29 VkImageCreateInfo imageCreateInfo = {}; member
DCompositorVk.cpp549 const VkImageCreateInfo imageCreateInfo = { in setUpDefaultImage() local
572 VK_CHECK(m_vk.vkCreateImage(m_vkDevice, &imageCreateInfo, nullptr, &image)); in setUpDefaultImage()
886 auto formatResourcesIt = m_formatResources.find(imageInfo.imageCreateInfo.format); in getOrCreateRenderTargetInfo()
894 imageInfo.imageCreateInfo.extent.width, in getOrCreateRenderTargetInfo()
895 imageInfo.imageCreateInfo.extent.height, formatResources.m_vkRenderPass); in getOrCreateRenderTargetInfo()
943 auto formatResourcesIt = m_formatResources.find(targetImage->imageCreateInfo.format); in buildCompositionVk()
947 << targetImage->imageCreateInfo.format; in buildCompositionVk()
971 if (!canCompositeFrom(sourceImage->imageCreateInfo)) { in buildCompositionVk()
1177 .width = compositionVk.targetImage->imageCreateInfo.extent.width, in compose()
1178 .height = compositionVk.targetImage->imageCreateInfo.extent.height, in compose()
[all …]
DDisplayVk.cpp359 if (!canPost(sourceImageInfoVk->imageCreateInfo)) { in postImpl()
451 {static_cast<int32_t>(sourceImageInfoVk->imageCreateInfo.extent.width), in postImpl()
452 static_cast<int32_t>(sourceImageInfoVk->imageCreateInfo.extent.height), 1}}, in postImpl()
461 VkFormat displayBufferFormat = sourceImageInfoVk->imageCreateInfo.format; in postImpl()
462 VkImageTiling displayBufferTiling = sourceImageInfoVk->imageCreateInfo.tiling; in postImpl()
DVkDecoderGlobalState.cpp6490 VkImageCreateInfo& imageCreateInfo = in transformImpl_VkImageCreateInfo_tohost() local
6493 vk_find_struct<VkExternalMemoryImageCreateInfo>(&imageCreateInfo); in transformImpl_VkImageCreateInfo_tohost()
6499 vk_find_struct<VkNativeBufferANDROID>(&imageCreateInfo); in transformImpl_VkImageCreateInfo_tohost()
6517 switch (imageCreateInfo.format) { in transformImpl_VkImageCreateInfo_tohost()
6531 resolvedFormat = imageCreateInfo.format; in transformImpl_VkImageCreateInfo_tohost()
6538 resolvedFormat, imageCreateInfo.extent.width, imageCreateInfo.extent.height, in transformImpl_VkImageCreateInfo_tohost()
6539 imageCreateInfo.tiling); in transformImpl_VkImageCreateInfo_tohost()
6556 imageCreateInfo.format = resolvedFormat; in transformImpl_VkImageCreateInfo_tohost()
6557 if (imageCreateInfo.flags & (~colorBufferVkImageCi->flags)) { in transformImpl_VkImageCreateInfo_tohost()
6563 string_VkImageCreateFlags(imageCreateInfo.flags).c_str()?:""); in transformImpl_VkImageCreateInfo_tohost()
[all …]
DVkCommonOperations.cpp3583 compositorInfo->imageCreateInfo = colorBufferInfo->imageCreateInfoShallow; in borrowColorBufferForComposition()
3623 compositorInfo->imageCreateInfo = colorBufferInfo->imageCreateInfoShallow; in borrowColorBufferForDisplay()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkSnapshotImageTests.cpp41 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
57 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
123 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
139 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
169 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
185 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
244 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
260 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
289 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
305 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
[all …]
DGfxstreamEnd2EndVkTests.cpp68 const vkhpp::ImageCreateInfo imageCreateInfo = { in DoAcquireImageAndroidWithSync() local
84 auto image = device->createImageUnique(imageCreateInfo).value; in DoAcquireImageAndroidWithSync()
147 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
164 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
266 const vkhpp::ImageCreateInfo imageCreateInfo = { in TEST_P() local
283 auto image = device->createImageUnique(imageCreateInfo).value; in TEST_P()
DGfxstreamEnd2EndVkSnapshotPipelineTests.cpp289 const vkhpp::ImageCreateInfo imageCreateInfo = { in createColorAttachment() local
305 res->image = device.createImageUnique(imageCreateInfo).value; in createColorAttachment()
/hardware/google/gfxstream/common/detector/
DVulkan.cpp307 const vkhpp::ImageCreateInfo imageCreateInfo = { in CreateImage() local
323 auto image = VK_EXPECT_RV(mDevice->createImageUnique(imageCreateInfo)); in CreateImage()
554 const vkhpp::ImageCreateInfo imageCreateInfo = { in CreateYuvImage() local
570 auto image = VK_EXPECT_RV(mDevice->createImageUnique(imageCreateInfo)); in CreateYuvImage()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_fuchsia.h207 VkImageCreateInfo imageCreateInfo; member
Dvulkansc_hash.hpp1811 …std::size_t operator()(VULKAN_HPP_NAMESPACE::ImageCreateInfo const & imageCreateInfo) const VULKAN… in operator ()()
1814 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.sType ); in operator ()()
1815 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.pNext ); in operator ()()
1816 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.flags ); in operator ()()
1817 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.imageType ); in operator ()()
1818 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.format ); in operator ()()
1819 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.extent ); in operator ()()
1820 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.mipLevels ); in operator ()()
1821 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.arrayLayers ); in operator ()()
1822 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.samples ); in operator ()()
[all …]
Dvulkan_hash.hpp3477 …std::size_t operator()(VULKAN_HPP_NAMESPACE::ImageCreateInfo const & imageCreateInfo) const VULKAN… in operator ()()
3480 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.sType ); in operator ()()
3481 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.pNext ); in operator ()()
3482 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.flags ); in operator ()()
3483 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.imageType ); in operator ()()
3484 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.format ); in operator ()()
3485 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.extent ); in operator ()()
3486 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.mipLevels ); in operator ()()
3487 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.arrayLayers ); in operator ()()
3488 VULKAN_HPP_HASH_COMBINE( seed, imageCreateInfo.samples ); in operator ()()
[all …]
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_fuchsia.h207 VkImageCreateInfo imageCreateInfo; member
/hardware/google/gfxstream/host/tests/
DDisplayVk_unittest.cpp79 info->imageCreateInfo = texture->m_vkImageCreateInfo; in createBorrowedImageInfo()
DCompositorVk_unittest.cpp236 ret->imageCreateInfo = image->m_vkImageCreateInfo; in createBorrowedImageInfo()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp523 .imageCreateInfo = createInfo, in setBufferCollectionConstraintsFUCHSIA()
532 .imageCreateInfo = *pImageInfo, in setBufferCollectionConstraintsFUCHSIA()
565 auto createInfo = &formatConstraints->imageCreateInfo; in addImageBufferCollectionConstraintsFUCHSIA()
2512 &pImageConstraintsInfo->pFormatConstraints[i].imageCreateInfo; in setBufferCollectionImageConstraintsImpl()
3764 VkImageCreateInfo imageCreateInfo; in on_vkAllocateMemory() local
3773 imageCreateInfo = imageInfo.createInfo; in on_vkAllocateMemory()
3793 uint32_t virglFormat = gfxstream::vk::getVirglFormat(imageCreateInfo.format); in on_vkAllocateMemory()
3796 imageCreateInfo.format); in on_vkAllocateMemory()
3801 if (VK_IMAGE_TILING_LINEAR == imageCreateInfo.tiling) { in on_vkAllocateMemory()
3805 imageCreateInfo.extent.width, imageCreateInfo.extent.height, in on_vkAllocateMemory()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_KHR_video_decode_queue.adoc479 VkImageCreateInfo imageCreateInfo = {
487 vkCreateImage(device, &imageCreateInfo, NULL, &outputImage);
536 VkImageCreateInfo imageCreateInfo = {
545 vkCreateImage(device, &imageCreateInfo, NULL, &dpbImage);

12