Searched refs:max_buf_index (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_mgr.cpp | 113 ssize_t max_buf_index = -1; in AllocateBuffers() local 114 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 121 if (shared && (max_buf_index >= 0)) { in AllocateBuffers() 123 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) { in AllocateBuffers() 131 if (i != UINT(max_buf_index)) { in AllocateBuffers() 132 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]); in AllocateBuffers()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_buf_mgr.cpp | 116 ssize_t max_buf_index = -1; in AllocateBuffers() local 117 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index); in AllocateBuffers() 124 if (shared && (max_buf_index >= 0)) { in AllocateBuffers() 126 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) { in AllocateBuffers() 134 if (i != UINT(max_buf_index)) { in AllocateBuffers() 135 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]); in AllocateBuffers()
|