Searched refs:ahb_props (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | vklayertests_others.cpp | 3154 VkAndroidHardwareBufferPropertiesANDROID ahb_props = {}; in TEST_F() local 3155 ahb_props.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in TEST_F() 3156 ahb_props.pNext = &ahb_fmt_props; in TEST_F() 3160 pfn_GetAHBProps(dev, ahb, &ahb_props); in TEST_F() 3338 VkAndroidHardwareBufferPropertiesANDROID ahb_props = {}; in TEST_F() local 3339 ahb_props.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in TEST_F() 3340 ahb_props.pNext = &ahb_fmt_props; in TEST_F() 3345 auto recreate_ahb = [&ahb, &iahbi, &ahb_desc, &ahb_props, dev, pfn_GetAHBProps]() { in TEST_F() 3350 pfn_GetAHBProps(dev, ahb, &ahb_props); in TEST_F() 3386 mai.allocationSize = ahb_props.allocationSize; in TEST_F() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 3590 VkAndroidHardwareBufferPropertiesANDROID ahb_props = {}; in ValidateAllocateMemoryANDROID() local 3591 ahb_props.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID; in ValidateAllocateMemoryANDROID() 3592 ahb_props.pNext = &ahb_format_props; in ValidateAllocateMemoryANDROID() 3593 … DispatchGetAndroidHardwareBufferPropertiesANDROID(device, import_ahb_info->buffer, &ahb_props); in ValidateAllocateMemoryANDROID() 3596 if (alloc_info->allocationSize != ahb_props.allocationSize) { in ValidateAllocateMemoryANDROID() 3602 alloc_info->allocationSize, ahb_props.allocationSize); in ValidateAllocateMemoryANDROID() 3608 if (0 == (mem_type_bitmask & ahb_props.memoryTypeBits)) { in ValidateAllocateMemoryANDROID() 3615 alloc_info->memoryTypeIndex, ahb_props.memoryTypeBits); in ValidateAllocateMemoryANDROID()
|