Home
last modified time | relevance | path

Searched refs:acquire_fd (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.cpp175 int acquire_fd = -1; in ToneMap() local
182 acquire_fd = dup(layer->input_buffer.acquire_fence_fd); in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
185 if (acquire_fd >= 0) { in ToneMap()
186 CloseFd(&acquire_fd); in ToneMap()
238 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
245 if (*acquire_fd >= 0) { in DumpToneMapOutput()
246 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
267 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.cpp175 int acquire_fd = -1; in ToneMap() local
182 acquire_fd = dup(layer->input_buffer.acquire_fence_fd); in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
185 if (acquire_fd >= 0) { in ToneMap()
186 CloseFd(&acquire_fd); in ToneMap()
238 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
245 if (*acquire_fd >= 0) { in DumpToneMapOutput()
246 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
267 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.cpp229 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() local
230 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
232 if (acquire_fd >= 0) { in ToneMap()
233 CloseFd(&acquire_fd); in ToneMap()
291 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
300 if (*acquire_fd >= 0) { in DumpToneMapOutput()
301 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
308 error = buffer_allocator_->MapBuffer(target_buffer, *acquire_fd); in DumpToneMapOutput()
328 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_tonemapper.cpp231 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() local
232 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
234 if (acquire_fd >= 0) { in ToneMap()
235 CloseFd(&acquire_fd); in ToneMap()
294 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
303 if (*acquire_fd >= 0) { in DumpToneMapOutput()
304 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
311 error = buffer_allocator_->MapBuffer(target_buffer, *acquire_fd); in DumpToneMapOutput()
331 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp232 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() local
233 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
235 if (acquire_fd >= 0) { in ToneMap()
236 CloseFd(&acquire_fd); in ToneMap()
295 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
304 if (*acquire_fd >= 0) { in DumpToneMapOutput()
305 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
312 error = buffer_allocator_->MapBuffer(target_buffer, *acquire_fd); in DumpToneMapOutput()
332 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp229 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() local
230 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
232 if (acquire_fd >= 0) { in ToneMap()
233 CloseFd(&acquire_fd); in ToneMap()
284 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd) { in DumpToneMapOutput() argument
292 if (*acquire_fd >= 0) { in DumpToneMapOutput()
293 int error = sync_wait(*acquire_fd, 1000); in DumpToneMapOutput()
314 CloseFd(acquire_fd); in DumpToneMapOutput()
/hardware/qcom/sm7250/display/composer/
Dhwc_tonemapper.cpp283 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, shared_ptr<Fence> acquire_fd) { in DumpToneMapOutput() argument
291 Fence::Wait(acquire_fd); in DumpToneMapOutput()
293 error = buffer_allocator_->MapBuffer(target_buffer, acquire_fd); in DumpToneMapOutput()