Home
last modified time | relevance | path

Searched refs:vkImageInfo (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp68 VkImageCreateInfo vkImageInfo = {}; in createBackendTexture() local
69 vkImageInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in createBackendTexture()
70 vkImageInfo.imageType = VK_IMAGE_TYPE_2D; in createBackendTexture()
71 vkImageInfo.format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in createBackendTexture()
72 vkImageInfo.extent = VkExtent3D{width, height, 1}; in createBackendTexture()
73 vkImageInfo.mipLevels = 1; in createBackendTexture()
74 vkImageInfo.arrayLayers = 1; in createBackendTexture()
75 vkImageInfo.samples = VK_SAMPLE_COUNT_1_BIT; in createBackendTexture()
76 vkImageInfo.tiling = VK_IMAGE_TILING_LINEAR; in createBackendTexture()
77 vkImageInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | in createBackendTexture()
[all …]
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp205 VkImageCreateInfo vkImageInfo = {}; in createI420Image() local
206 vkImageInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in createI420Image()
207 vkImageInfo.imageType = VK_IMAGE_TYPE_2D; in createI420Image()
208 vkImageInfo.format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in createI420Image()
209 vkImageInfo.extent = VkExtent3D{kImageWidth, kImageHeight, 1}; in createI420Image()
210 vkImageInfo.mipLevels = 1; in createI420Image()
211 vkImageInfo.arrayLayers = 1; in createI420Image()
212 vkImageInfo.samples = VK_SAMPLE_COUNT_1_BIT; in createI420Image()
213 vkImageInfo.tiling = VK_IMAGE_TILING_LINEAR; in createI420Image()
214 vkImageInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in createI420Image()
[all …]
/third_party/skia/src/gpu/vk/
DGrVkImage.h77 const GrVkImageInfo& vkImageInfo() const { return fInfo; } in vkImageInfo() function
81 this->vkImageInfo().fImageTiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT; in backendFormat()
DGrVkTexture.cpp159 return GrBackendTexture(fTexture->width(), fTexture->height(), fTexture->vkImageInfo(), in getBackendTexture()
DGrVkRenderTarget.cpp489 beAttachment->vkImageInfo(), beAttachment->getMutableState()); in getBackendRenderTarget()