Searched refs:max_buf_index (Results 1 - 3 of 3) sorted by relevance

/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_buf_mgr.cpp117 ssize_t max_buf_index = -1; local
118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index);
126 if (shared && (max_buf_index >= 0)) {
128 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) {
136 if (i != UINT(max_buf_index)) {
137 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]);
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_buf_mgr.cpp117 ssize_t max_buf_index = -1; local
118 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index);
126 if (shared && (max_buf_index >= 0)) {
128 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) {
136 if (i != UINT(max_buf_index)) {
137 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]);
/hardware/qcom/display/sdm845/libgralloc1/
H A Dgr_buf_mgr.cpp123 ssize_t max_buf_index = -1; local
124 shared = allocator_->CheckForBufferSharing(num_descriptors, descriptors, &max_buf_index);
132 if (shared && (max_buf_index >= 0)) {
134 if (AllocateBuffer(*descriptors[UINT(max_buf_index)], &out_buffers[max_buf_index])) {
142 if (i != UINT(max_buf_index)) {
143 CreateSharedHandle(out_buffers[max_buf_index], *descriptors[i], &out_buffers[i]);

Completed in 33 milliseconds