Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp119 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in GetBackendFormat() local
120 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in GetBackendFormat()
121 hwbProps.pNext = &hwbFormatProps; in GetBackendFormat()
125 &hwbProps)); in GetBackendFormat()
333 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in make_vk_backend_texture() local
334 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in make_vk_backend_texture()
335 hwbProps.pNext = &hwbFormatProps; in make_vk_backend_texture()
337 err = VK_CALL(GetAndroidHardwareBufferProperties(device, hardwareBuffer, &hwbProps)); in make_vk_backend_texture()
423 if (hwbProps.memoryTypeBits & (1 << i)) { in make_vk_backend_texture()
452 hwbProps.allocationSize, // allocationSize in make_vk_backend_texture()
[all …]
/third_party/skia/tests/
DVkHardwareBufferTest.cpp659 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in importHardwareBuffer() local
660 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in importHardwareBuffer()
661 hwbProps.pNext = &hwbFormatProps; in importHardwareBuffer()
663 err = fVkGetAndroidHardwareBufferPropertiesANDROID(fDevice, buffer, &hwbProps); in importHardwareBuffer()
734 if (hwbProps.memoryTypeBits & (1 << i)) { in importHardwareBuffer()
764 hwbProps.allocationSize, // allocationSize in importHardwareBuffer()
790 alloc.fSize = hwbProps.allocationSize; in importHardwareBuffer()