Home
last modified time | relevance | path

Searched refs:msImageDesc (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp41 GrVkImage::ImageDesc msImageDesc; in Create() local
42 msImageDesc.fImageType = VK_IMAGE_TYPE_2D; in Create()
43 msImageDesc.fFormat = pixelFormat; in Create()
44 msImageDesc.fWidth = desc.fWidth; in Create()
45 msImageDesc.fHeight = desc.fHeight; in Create()
46 msImageDesc.fLevels = 1; in Create()
47 msImageDesc.fSamples = desc.fSampleCnt; in Create()
48 msImageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in Create()
49 msImageDesc.fUsageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in Create()
50 msImageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in Create()
[all …]
DGrVkRenderTarget.cpp128 GrVkImage::ImageDesc msImageDesc; in Create() local
129 msImageDesc.fImageType = VK_IMAGE_TYPE_2D; in Create()
130 msImageDesc.fFormat = pixelFormat; in Create()
131 msImageDesc.fWidth = desc.fWidth; in Create()
132 msImageDesc.fHeight = desc.fHeight; in Create()
133 msImageDesc.fLevels = 1; in Create()
134 msImageDesc.fSamples = desc.fSampleCnt; in Create()
135 msImageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in Create()
136 msImageDesc.fUsageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in Create()
137 msImageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in Create()
[all …]