Home
last modified time | relevance | path

Searched refs:output_buffer_ (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_virtual.cpp101 output_buffer_ = new LayerBuffer(); in Init()
107 if (output_buffer_) { in Deinit()
108 if (output_buffer_->acquire_fence_fd >= 0) { in Deinit()
109 close(output_buffer_->acquire_fence_fd); in Deinit()
110 output_buffer_->acquire_fence_fd = -1; in Deinit()
112 delete output_buffer_; in Deinit()
113 output_buffer_ = nullptr; in Deinit()
129 layer_stack_.output_buffer = output_buffer_; in Validate()
153 reinterpret_cast<const private_handle_t *>(output_buffer_->buffer_id); in Present()
183 if (output_buffer_->acquire_fence_fd >= 0) { in Present()
[all …]
Dhwc_display_primary.cpp192 layer_stack_.output_buffer = &output_buffer_; in Validate()
462 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
463 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
464 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
465 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
470 output_buffer_ = {}; in HandleFrameCapture()
474 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
475 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
476 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
477 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h58 LayerBuffer *output_buffer_ = NULL; variable
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_virtual.cpp101 output_buffer_ = new LayerBuffer(); in Init()
107 if (output_buffer_) { in Deinit()
108 delete output_buffer_; in Deinit()
109 output_buffer_ = nullptr; in Deinit()
125 layer_stack_.output_buffer = output_buffer_; in Validate()
144 reinterpret_cast<const private_handle_t *>(output_buffer_->buffer_id); in Present()
159 close(output_buffer_->acquire_fence_fd); in Present()
179 output_buffer_->acquire_fence_fd = dup(release_fence); in SetOutputBuffer()
183 output_buffer_->buffer_id = reinterpret_cast<uint64_t>(output_handle); in SetOutputBuffer()
190 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
[all …]
Dhwc_display_primary.cpp182 layer_stack_.output_buffer = &output_buffer_; in Validate()
442 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
443 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
444 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
445 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
450 output_buffer_ = {}; in HandleFrameCapture()
454 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
455 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
456 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
457 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h58 LayerBuffer *output_buffer_ = NULL; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_virtual.cpp101 output_buffer_ = new LayerBuffer(); in Init()
107 if (output_buffer_) { in Deinit()
108 delete output_buffer_; in Deinit()
109 output_buffer_ = nullptr; in Deinit()
125 layer_stack_.output_buffer = output_buffer_; in Validate()
145 reinterpret_cast<const private_handle_t *>(output_buffer_->buffer_id); in Present()
160 close(output_buffer_->acquire_fence_fd); in Present()
180 output_buffer_->acquire_fence_fd = dup(release_fence); in SetOutputBuffer()
184 output_buffer_->buffer_id = reinterpret_cast<uint64_t>(output_handle); in SetOutputBuffer()
191 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
[all …]
Dhwc_display_primary.cpp189 layer_stack_.output_buffer = &output_buffer_; in Validate()
439 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
440 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
441 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
442 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
447 output_buffer_ = {}; in HandleFrameCapture()
451 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
452 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
453 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
454 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h58 LayerBuffer *output_buffer_ = NULL; variable
Dhwc_display_primary.h95 LayerBuffer output_buffer_ = {}; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_virtual.cpp101 output_buffer_ = new LayerBuffer(); in Init()
107 if (output_buffer_) { in Deinit()
108 delete output_buffer_; in Deinit()
109 output_buffer_ = nullptr; in Deinit()
125 layer_stack_.output_buffer = output_buffer_; in Validate()
144 reinterpret_cast<const private_handle_t *>(output_buffer_->buffer_id); in Present()
159 close(output_buffer_->acquire_fence_fd); in Present()
179 output_buffer_->acquire_fence_fd = dup(release_fence); in SetOutputBuffer()
182 output_buffer_->buffer_id = reinterpret_cast<uint64_t>(output_handle); in SetOutputBuffer()
189 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
[all …]
Dhwc_display_primary.cpp182 layer_stack_.output_buffer = &output_buffer_; in Validate()
424 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
425 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
426 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
427 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
432 output_buffer_ = {}; in HandleFrameCapture()
436 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
437 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
438 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
439 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h58 LayerBuffer *output_buffer_ = NULL; variable
Dhwc_display_primary.h92 LayerBuffer output_buffer_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_virtual.cpp104 output_buffer_ = new LayerBuffer(); in Init()
105 if (!output_buffer_) { in Init()
120 if (output_buffer_) { in Deinit()
121 delete output_buffer_; in Deinit()
122 output_buffer_ = NULL; in Deinit()
225 if ((active_width != INT(output_buffer_->width)) || in SetOutputSliceFromMetadata()
226 (active_height!= INT(output_buffer_->height)) || in SetOutputSliceFromMetadata()
227 (format != output_buffer_->format)) { in SetOutputSliceFromMetadata()
274 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
276 if (output_buffer_->format == kFormatInvalid) { in SetOutputBuffer()
[all …]
Dhwc_display_primary.cpp183 layer_stack_.output_buffer = &output_buffer_; in Prepare()
422 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
423 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
424 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
425 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
430 output_buffer_ = {}; in HandleFrameCapture()
434 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
435 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
436 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
437 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h54 LayerBuffer *output_buffer_ = NULL; variable
Dhwc_display_primary.h75 LayerBuffer output_buffer_ = {}; variable
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_virtual.cpp104 output_buffer_ = new LayerBuffer(); in Init()
105 if (!output_buffer_) { in Init()
120 if (output_buffer_) { in Deinit()
121 delete output_buffer_; in Deinit()
122 output_buffer_ = NULL; in Deinit()
225 if ((active_width != INT(output_buffer_->width)) || in SetOutputSliceFromMetadata()
226 (active_height!= INT(output_buffer_->height)) || in SetOutputSliceFromMetadata()
227 (format != output_buffer_->format)) { in SetOutputSliceFromMetadata()
274 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
276 if (output_buffer_->format == kFormatInvalid) { in SetOutputBuffer()
[all …]
Dhwc_display_virtual.h54 LayerBuffer *output_buffer_ = NULL; variable
Dhwc_display_primary.h75 LayerBuffer output_buffer_ = {}; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_virtual.cpp104 output_buffer_ = new LayerBuffer(); in Init()
105 if (!output_buffer_) { in Init()
120 if (output_buffer_) { in Deinit()
121 delete output_buffer_; in Deinit()
122 output_buffer_ = NULL; in Deinit()
225 if ((active_width != INT(output_buffer_->width)) || in SetOutputSliceFromMetadata()
226 (active_height!= INT(output_buffer_->height)) || in SetOutputSliceFromMetadata()
227 (format != output_buffer_->format)) { in SetOutputSliceFromMetadata()
274 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); in SetOutputBuffer()
276 if (output_buffer_->format == kFormatInvalid) { in SetOutputBuffer()
[all …]
Dhwc_display_primary.cpp166 layer_stack_.output_buffer = &output_buffer_; in Prepare()
368 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
369 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
370 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
371 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
376 output_buffer_ = {}; in HandleFrameCapture()
380 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
381 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
382 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
383 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
[all …]
Dhwc_display_virtual.h54 LayerBuffer *output_buffer_ = NULL; variable
Dhwc_display_primary.h81 LayerBuffer output_buffer_ = {}; variable

12