Home
last modified time | relevance | path

Searched refs:alloc_buffer_info (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp53 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; in AllocateBuffer() local
105 alloc_buffer_info->fd = data.fd; in AllocateBuffer()
106 alloc_buffer_info->stride = UINT32(aligned_width); in AllocateBuffer()
107 alloc_buffer_info->size = buffer_size; in AllocateBuffer()
120 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; in FreeBuffer() local
123 if (alloc_buffer_info->fd > 0) { in FreeBuffer()
131 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
132 alloc_buffer_info->fd); in FreeBuffer()
135 alloc_buffer_info->size, alloc_buffer_info->fd); in FreeBuffer()
139 alloc_buffer_info->fd = -1; in FreeBuffer()
[all …]
/hardware/qcom/display/msm8996/sdm/include/core/
Dbuffer_allocator.h75 AllocatedBufferInfo alloc_buffer_info; //!< Specifies buffer information of allocated buffer. member