/hardware/qcom/display/msm8996/sdm/include/core/ |
buffer_allocator.h | 75 AllocatedBufferInfo alloc_buffer_info; //!< Specifies buffer information of allocated buffer. member in struct:sdm::BufferInfo
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_buffer_allocator.cpp | 53 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; local 105 alloc_buffer_info->fd = data.fd; 106 alloc_buffer_info->stride = UINT32(aligned_width); 107 alloc_buffer_info->size = buffer_size; 120 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; local 123 if (alloc_buffer_info->fd > 0) { 131 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, 132 alloc_buffer_info->fd) [all...] |
/hardware/qcom/display/msmcobalt/sdm/include/core/ |
buffer_allocator.h | 77 AllocatedBufferInfo alloc_buffer_info; //!< Specifies buffer information of allocated buffer. member in struct:sdm::BufferInfo
|
/hardware/qcom/display/msmcobalt/sdm/libs/hwc/ |
hwc_buffer_allocator.cpp | 53 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; local 105 alloc_buffer_info->fd = data.fd; 107 alloc_buffer_info->stride = UINT32(aligned_width); 108 alloc_buffer_info->aligned_width = UINT32(aligned_width); 109 alloc_buffer_info->aligned_height = UINT32(aligned_height); 110 alloc_buffer_info->size = buffer_size; 123 AllocatedBufferInfo *alloc_buffer_info = &buffer_info->alloc_buffer_info; local 126 if (alloc_buffer_info->fd > 0) [all...] |
hwc_display_primary.cpp | 358 const AllocatedBufferInfo &alloc_buffer_info = output_buffer_info.alloc_buffer_info; local 360 output_buffer->width = alloc_buffer_info.aligned_width; 361 output_buffer->height = alloc_buffer_info.aligned_height; 365 output_buffer->planes[0].fd = alloc_buffer_info.fd; 366 output_buffer->planes[0].stride = alloc_buffer_info.stride; 404 if (munmap(output_buffer_base_, output_buffer_info_.alloc_buffer_info.size) != 0) { 440 void *buffer = mmap(NULL, output_buffer_info_.alloc_buffer_info.size, 442 MAP_SHARED, output_buffer_info_.alloc_buffer_info.fd, 0); 459 if (output_buffer_info.alloc_buffer_info.fd < 0) [all...] |
/hardware/qcom/display/msmcobalt/sdm/libs/hwc2/ |
hwc_display_primary.cpp | 407 const AllocatedBufferInfo &alloc_buffer_info = output_buffer_info.alloc_buffer_info; local 409 output_buffer->width = alloc_buffer_info.aligned_width; 410 output_buffer->height = alloc_buffer_info.aligned_height; 414 output_buffer->planes[0].fd = alloc_buffer_info.fd; 415 output_buffer->planes[0].stride = alloc_buffer_info.stride; 453 if (munmap(output_buffer_base_, output_buffer_info_.alloc_buffer_info.size) != 0) { 489 void *buffer = mmap(NULL, output_buffer_info_.alloc_buffer_info.size, PROT_READ | PROT_WRITE, 490 MAP_SHARED, output_buffer_info_.alloc_buffer_info.fd, 0); 507 if (output_buffer_info.alloc_buffer_info.fd < 0) [all...] |