Searched refs:ahb_desc (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/tests/ |
D | vklayertests_others.cpp | 3142 AHardwareBuffer_Desc ahb_desc = {}; in TEST_F() local 3143 ahb_desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM; in TEST_F() 3144 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F() 3145 ahb_desc.width = 64; in TEST_F() 3146 ahb_desc.height = 64; in TEST_F() 3147 ahb_desc.layers = 1; in TEST_F() 3149 AHardwareBuffer_allocate(&ahb_desc, &ahb); in TEST_F() 3335 AHardwareBuffer_Desc ahb_desc = {}; in TEST_F() local 3345 auto recreate_ahb = [&ahb, &iahbi, &ahb_desc, &ahb_props, dev, pfn_GetAHBProps]() { in TEST_F() 3348 AHardwareBuffer_allocate(&ahb_desc, &ahb); in TEST_F() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 3436 AHardwareBuffer_Desc ahb_desc; in PreCallValidateGetAndroidHardwareBufferPropertiesANDROID() local 3437 AHardwareBuffer_describe(buffer, &ahb_desc); in PreCallValidateGetAndroidHardwareBufferPropertiesANDROID() 3441 if (0 == (ahb_desc.usage & required_flags)) { in PreCallValidateGetAndroidHardwareBufferPropertiesANDROID() 3446 ahb_desc.usage); in PreCallValidateGetAndroidHardwareBufferPropertiesANDROID() 3507 AHardwareBuffer_Desc ahb_desc = {}; in ValidateAllocateMemoryANDROID() local 3508 AHardwareBuffer_describe(import_ahb_info->buffer, &ahb_desc); in ValidateAllocateMemoryANDROID() 3514 …if ((AHARDWAREBUFFER_FORMAT_BLOB != ahb_desc.format) || (0 == (ahb_desc.usage & AHARDWAREBUFFER_US… in ValidateAllocateMemoryANDROID() 3520 …if ((0 == (ahb_desc.usage & ahb_equiv_usage_bits)) || (0 == ahb_format_map_a2v.count(ahb_desc.form… in ValidateAllocateMemoryANDROID() 3525 ahb_desc.format, ahb_desc.usage); in ValidateAllocateMemoryANDROID() 3533 if (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & ahb_desc.usage) { in ValidateAllocateMemoryANDROID() [all …]
|