Home
last modified time | relevance | path

Searched refs:AHardwareBuffer_Desc (Results 1 – 25 of 31) sorted by relevance

12

/external/vulkan-validation-layers/layers/
Dandroid_ndk_types.h87 typedef struct AHardwareBuffer_Desc { struct
96 } AHardwareBuffer_Desc; argument
99 static inline int AHardwareBuffer_allocate(const AHardwareBuffer_Desc *ahbDesc, AHardwareBuffer **b… in AHardwareBuffer_allocate()
101 if (size < sizeof(AHardwareBuffer_Desc)) size = sizeof(AHardwareBuffer_Desc); in AHardwareBuffer_allocate()
103 memcpy((void *)(*buffer), (void *)ahbDesc, sizeof(AHardwareBuffer_Desc)); in AHardwareBuffer_allocate()
111 static inline void AHardwareBuffer_describe(const AHardwareBuffer *buffer, AHardwareBuffer_Desc *ou… in AHardwareBuffer_describe()
113 memcpy((void *)outDesc, (void *)buffer, sizeof(AHardwareBuffer_Desc)); in AHardwareBuffer_describe()
/external/libchrome/base/android/
Dandroid_hardware_buffer_abi.h59 typedef struct AHardwareBuffer_Desc { struct
68 } AHardwareBuffer_Desc; argument
70 using PFAHardwareBuffer_allocate = void (*)(const AHardwareBuffer_Desc* desc,
74 AHardwareBuffer_Desc* outDesc);
Dandroid_hardware_buffer_compat.h22 void Allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer);
24 void Describe(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* outDesc);
Dandroid_hardware_buffer_compat.cc78 void AndroidHardwareBufferCompat::Allocate(const AHardwareBuffer_Desc* desc, in Allocate()
90 AHardwareBuffer_Desc* out_desc) { in Describe()
/external/mesa3d/include/android_stub/android/
Dhardware_buffer.h293 typedef struct AHardwareBuffer_Desc { struct
310 } AHardwareBuffer_Desc; argument
350 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc,
377 AHardwareBuffer_Desc* outDesc) __INTRODUCED_IN(26);
527 int AHardwareBuffer_isSupported(const AHardwareBuffer_Desc* desc) __INTRODUCED_IN(29);
/external/angle/src/libANGLE/renderer/vulkan/android/
DAHBFunctions.h22 void describe(const AHardwareBuffer *buffer, AHardwareBuffer_Desc *outDesc) const in describe()
33 AHardwareBuffer_Desc *outDesc);
DHardwareBufferImageSiblingVkAndroid.cpp24 VkImageTiling AhbDescUsageToVkImageTiling(const AHardwareBuffer_Desc &ahbDescription) in AhbDescUsageToVkImageTiling()
147 VkImageUsageFlags AhbDescUsageToVkImageUsage(const AHardwareBuffer_Desc &ahbDescription, in AhbDescUsageToVkImageUsage()
227 AHardwareBuffer_Desc ahbDescription; in initImpl()
/external/deqp/modules/egl/
DteglAndroidUtil.cpp85 typedef int (*pfnAHardwareBuffer_allocate)(const AHardwareBuffer_Desc* desc, AHardwareBuffer** out…
86 typedef void (*pfnAHardwareBuffer_describe)(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* ou…
89 typedef int (*pfnAHardwareBuffer_isSupported)(const AHardwareBuffer_Desc* desc);
203 AHardwareBuffer_Desc hbufferdesc = { in AndroidNativeClientBuffer()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.hpp67 …static VkResult GetAndroidHardwareBufferFormatProperties(const AHardwareBuffer_Desc &ahbDesc, VkAn…
89 AHardwareBuffer_Desc ahbDesc = {};
DVkDeviceMemoryExternalAndroid.cpp402 …ferExternalMemory::GetAndroidHardwareBufferFormatProperties(const AHardwareBuffer_Desc &ahbDesc, V… in GetAndroidHardwareBufferFormatProperties()
429 AHardwareBuffer_Desc ahbDesc; in GetAndroidHardwareBufferProperties()
/external/mesa3d/include/android_stub/vndk/
Dhardware_buffer.h48 int AHardwareBuffer_createFromHandle(const AHardwareBuffer_Desc* desc,
/external/skia/tests/
DGrAHardwareBufferTest.cpp122 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper()
232 AHardwareBuffer_Desc hwbDesc; in surface_draw_test_helper()
DMultiPictureDocumentTest.cpp238 AHardwareBuffer_Desc hwbDesc; in makeAHardwareBufferTestImage()
DVkHardwareBufferTest.cpp1137 AHardwareBuffer_Desc hwbDesc; in run_test()
/external/angle/src/common/
Dandroid_util.cpp313 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in CreateEGLClientBufferFromAHardwareBuffer()
/external/skqp/tests/
DGrAHardwareBufferTest.cpp121 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper()
/external/mesa3d/src/intel/vulkan/
Danv_android.c116 AHardwareBuffer_Desc desc; in get_ahw_buffer_format_properties()
367 struct AHardwareBuffer_Desc desc = { in anv_create_ahw_memory()
/external/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp52 AHardwareBuffer_Desc bufferDesc; in Make()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c566 AHardwareBuffer_Desc desc; in get_ahb_buffer_format_properties()
825 struct AHardwareBuffer_Desc desc = { in radv_create_ahb_memory()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1328 typedef int (*pfnAHardwareBuffer_allocate)(const AHardwareBuffer_Desc* desc, AHardwareBuffer** out…
1329 typedef void (*pfnAHardwareBuffer_describe)(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* ou…
1417 AHardwareBuffer_Desc hbufferdesc = { in allocate()
1452 AHardwareBuffer_Desc desc; in describe()
/external/angle/src/tests/gl_tests/
DExternalBufferTest.cpp43 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in createAndroidHardwareBuffer()
DImageTest.cpp539 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in writeAHBData()
567 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in createAndroidHardwareBuffer()
769 AHardwareBuffer_Desc aHardwareBufferDescription; in verifyResultAHB()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp72 AHardwareBuffer_Desc bufferDesc; in Make()
/external/skia/src/image/
DSkSurface_Gpu.cpp668 AHardwareBuffer_Desc bufferDesc; in MakeFromAHardwareBuffer()
DSkImage_Gpu.cpp700 AHardwareBuffer_Desc bufferDesc; in MakeFromAHardwareBufferWithData()

12