Searched refs:hwbProps (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 119 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() 299 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in make_vk_backend_texture() local 300 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in make_vk_backend_texture() 301 hwbProps.pNext = &hwbFormatProps; in make_vk_backend_texture() 303 err = VK_CALL(GetAndroidHardwareBufferProperties(device, hardwareBuffer, &hwbProps)); in make_vk_backend_texture() 388 if (hwbProps.memoryTypeBits & (1 << i)) { in make_vk_backend_texture() 418 hwbProps.allocationSize, // allocationSize in make_vk_backend_texture() [all …]
|
/external/skqp/src/gpu/ |
D | GrAHardwareBufferImageGenerator.cpp | 182 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in make_vk_backend_texture() local 183 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in make_vk_backend_texture() 184 hwbProps.pNext = &hwbFormatProps; in make_vk_backend_texture() 186 err = VK_CALL(GetAndroidHardwareBufferProperties(device, hardwareBuffer, &hwbProps)); in make_vk_backend_texture() 268 if (hwbProps.memoryTypeBits & (1 << i)) { in make_vk_backend_texture() 298 hwbProps.allocationSize, // allocationSize in make_vk_backend_texture() 327 imageInfo.fAlloc = GrVkAlloc(memory, 0, hwbProps.allocationSize, 0); in make_vk_backend_texture() 500 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in get_backend_format() local 501 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in get_backend_format() 502 hwbProps.pNext = &hwbFormatProps; in get_backend_format() [all …]
|
/external/skia/tests/ |
D | VkHardwareBufferTest.cpp | 654 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in importHardwareBuffer() local 655 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in importHardwareBuffer() 656 hwbProps.pNext = &hwbFormatProps; in importHardwareBuffer() 658 err = fVkGetAndroidHardwareBufferPropertiesANDROID(fDevice, buffer, &hwbProps); in importHardwareBuffer() 729 if (hwbProps.memoryTypeBits & (1 << i)) { in importHardwareBuffer() 759 hwbProps.allocationSize, // allocationSize in importHardwareBuffer() 783 outImageInfo->fAlloc = GrVkAlloc(fMemory, 0, hwbProps.allocationSize, 0); in importHardwareBuffer()
|
/external/skqp/tests/ |
D | VkHardwareBufferTest.cpp | 648 VkAndroidHardwareBufferPropertiesANDROID hwbProps; in importHardwareBuffer() local 649 hwbProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in importHardwareBuffer() 650 hwbProps.pNext = &hwbFormatProps; in importHardwareBuffer() 652 err = fVkGetAndroidHardwareBufferPropertiesANDROID(fDevice, buffer, &hwbProps); in importHardwareBuffer() 741 if (hwbProps.memoryTypeBits & (1 << i)) { in importHardwareBuffer() 771 hwbProps.allocationSize, // allocationSize in importHardwareBuffer() 795 outImageInfo->fAlloc = GrVkAlloc(fMemory, 0, hwbProps.allocationSize, 0); in importHardwareBuffer()
|