MCPcopy Create free account
hub / github.com/alibaba/MNN / Allocate

Method Allocate

tools/cpp/GpuInterTest.cpp:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131int AndroidHardwareBufferCompat::Allocate(const AHardwareBuffer_Desc* desc,
132 AHardwareBuffer** out_buffer) {
133 DCHECK(IsSupportAvailable());
134 return allocate_(desc, out_buffer);
135}
136void AndroidHardwareBufferCompat::Acquire(AHardwareBuffer* buffer) {
137 DCHECK(IsSupportAvailable());
138 acquire_(buffer);

Callers 1

creatAHardwareBufferFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected