AHardwareBuffer_allocate

Allocates a buffer that backs an AHardwareBuffer using the passed AHardwareBuffer_Desc.

\return 0 on success, or an error number of the allocation fails for any reason. The returned buffer has a reference count of 1.

version(Android)
extern (C) @system nothrow @nogc
int
AHardwareBuffer_allocate

Meta