Home
last modified time | relevance | path

Searched refs:outBufferHandles (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/ui/
DGralloc2.cpp387 uint32_t* outStride, buffer_handle_t* outBufferHandles, in allocate() argument
416 &outBufferHandles[i]); in allocate()
419 mMapper.freeBuffer(outBufferHandles[j]); in allocate()
420 outBufferHandles[j] = nullptr; in allocate()
427 outBufferHandles[i] = native_handle_clone( in allocate()
429 if (!outBufferHandles[i]) { in allocate()
432 outBufferHandles[j]); in allocate()
435 outBufferHandles[j] = nullptr; in allocate()
DGralloc3.cpp375 buffer_handle_t* outBufferHandles, bool importBuffers) const { in allocate() argument
399 &outBufferHandles[i]); in allocate()
402 mMapper.freeBuffer(outBufferHandles[j]); in allocate()
403 outBufferHandles[j] = nullptr; in allocate()
410 outBufferHandles[i] = native_handle_clone( in allocate()
412 if (!outBufferHandles[i]) { in allocate()
415 outBufferHandles[j]); in allocate()
418 outBufferHandles[j] = nullptr; in allocate()
DGralloc4.cpp1044 buffer_handle_t* outBufferHandles, bool importBuffers) const { in allocate() argument
1078 error = mMapper.importBuffer(handle, &outBufferHandles[i]); in allocate()
1082 mMapper.freeBuffer(outBufferHandles[j]); in allocate()
1083 outBufferHandles[j] = nullptr; in allocate()
1090 outBufferHandles[i] = dupFromAidl(result.buffers[i]); in allocate()
1091 if (!outBufferHandles[i]) { in allocate()
1093 auto buffer = const_cast<native_handle_t*>(outBufferHandles[j]); in allocate()
1096 outBufferHandles[j] = nullptr; in allocate()
1121 &outBufferHandles[i]); in allocate()
1124 mMapper.freeBuffer(outBufferHandles[j]); in allocate()
[all …]
DGralloc5.cpp228 buffer_handle_t* outBufferHandles, bool importBuffers) const { in allocate() argument
240 outBufferHandles[0] = result.handle; in allocate()
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h39 buffer_handle_t* outBufferHandles, bool less),
/frameworks/native/libs/ui/include/ui/
DGralloc2.h85 buffer_handle_t* outBufferHandles, bool importBuffers = true) const override;
DGralloc3.h86 buffer_handle_t* outBufferHandles, bool importBuffers = true) const override;
DGralloc.h222 uint32_t* outStride, buffer_handle_t* outBufferHandles,
DGralloc5.h175 uint32_t* outStride, buffer_handle_t* outBufferHandles,
DGralloc4.h178 buffer_handle_t* outBufferHandles, bool importBuffers = true) const override;