Searched refs:ahb_desc (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 3285 AHardwareBuffer_Desc ahb_desc; in PreCallValidateGetAndroidHardwareBufferProperties() local 3286 AHardwareBuffer_describe(buffer, &ahb_desc); in PreCallValidateGetAndroidHardwareBufferProperties() 3290 if (0 == (ahb_desc.usage & required_flags)) { in PreCallValidateGetAndroidHardwareBufferProperties() 3295 ahb_desc.usage); in PreCallValidateGetAndroidHardwareBufferProperties() 3358 AHardwareBuffer_Desc ahb_desc = {}; in ValidateAllocateMemoryANDROID() local 3359 AHardwareBuffer_describe(import_ahb_info->buffer, &ahb_desc); in ValidateAllocateMemoryANDROID() 3365 …if ((AHARDWAREBUFFER_FORMAT_BLOB != ahb_desc.format) || (0 == (ahb_desc.usage & AHARDWAREBUFFER_US… in ValidateAllocateMemoryANDROID() 3371 …if ((0 == (ahb_desc.usage & ahb_equiv_usage_bits)) || (0 == ahb_format_map_a2v.count(ahb_desc.form… in ValidateAllocateMemoryANDROID() 3376 ahb_desc.format, ahb_desc.usage); in ValidateAllocateMemoryANDROID() 3384 if (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & ahb_desc.usage) { in ValidateAllocateMemoryANDROID() [all …]
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 36616 AHardwareBuffer_Desc ahb_desc = {}; in TEST_F() local 36617 ahb_desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM; in TEST_F() 36618 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F() 36619 ahb_desc.width = 64; in TEST_F() 36620 ahb_desc.height = 64; in TEST_F() 36621 ahb_desc.layers = 1; in TEST_F() 36623 AHardwareBuffer_allocate(&ahb_desc, &ahb); in TEST_F() 36809 AHardwareBuffer_Desc ahb_desc = {}; in TEST_F() local 36819 auto recreate_ahb = [&ahb, &iahbi, &ahb_desc, &ahb_props, dev, pfn_GetAHBProps]() { in TEST_F() 36822 AHardwareBuffer_allocate(&ahb_desc, &ahb); in TEST_F() [all …]
|