Home
last modified time | relevance | path

Searched refs:use_placeholder (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp208 …eap(uint64_t usage, size_t size, const std::string& buffer_name = "", bool use_placeholder = false) in alloc_from_dmabuf_heap() argument
213 auto heap_name = use_placeholder ? "system" : select_dmabuf_heap(usage); in alloc_from_dmabuf_heap()
214 if (use_placeholder) size = 1; in alloc_from_dmabuf_heap()
362 bool *shared_backend, bool use_placeholder) in mali_gralloc_ion_allocate() argument
406 …oc_from_dmabuf_heap(usage, bufDescriptor->alloc_sizes[fidx], bufDescriptor->name, use_placeholder); in mali_gralloc_ion_allocate()
419 if (use_placeholder) return 0; in mali_gralloc_ion_allocate()
Dmali_gralloc_ion.h27 bool use_placeholder = false);
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.h103 bool use_placeholder = false);
Dmali_gralloc_bufferallocation.cpp1184 bool use_placeholder) in mali_gralloc_buffer_allocate() argument
1223 err = mali_gralloc_ion_allocate(descriptors, numDescriptors, pHandle, &shared, use_placeholder); in mali_gralloc_buffer_allocate()
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp83 bool use_placeholder = bufferDescriptor.producer_usage & GRALLOC_USAGE_PLACEHOLDER_BUFFER; in allocate() local
105 …t = mali_gralloc_buffer_allocate(grallocBufferDescriptor, 1, &tmpBuffer, nullptr, use_placeholder); in allocate()