/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 101 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 …]
|
D | hwc_display_primary.cpp | 183 layer_stack_.output_buffer = &output_buffer_; in Validate() 431 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture() 432 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture() 433 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture() 434 output_buffer_.release_fence_fd = -1; in HandleFrameCapture() 439 output_buffer_ = {}; in HandleFrameCapture() 443 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump() 444 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump() 445 ::close(output_buffer_.release_fence_fd); in HandleFrameDump() 446 output_buffer_.release_fence_fd = -1; in HandleFrameDump() [all …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
D | hwc_display_primary.h | 93 LayerBuffer output_buffer_ = {}; variable
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 101 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 …]
|
D | hwc_display_primary.cpp | 182 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 …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
D | hwc_display_primary.h | 94 LayerBuffer output_buffer_ = {}; variable
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 101 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 …]
|
D | hwc_display_primary.cpp | 182 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 …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
D | hwc_display_primary.h | 92 LayerBuffer output_buffer_ = {}; variable
|
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 104 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 …]
|
D | hwc_display_primary.cpp | 183 layer_stack_.output_buffer = &output_buffer_; in Prepare() 411 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture() 412 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture() 413 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture() 414 output_buffer_.release_fence_fd = -1; in HandleFrameCapture() 419 output_buffer_ = {}; in HandleFrameCapture() 423 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump() 424 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump() 425 ::close(output_buffer_.release_fence_fd); in HandleFrameDump() 426 output_buffer_.release_fence_fd = -1; in HandleFrameDump() [all …]
|
D | hwc_display_virtual.h | 54 LayerBuffer *output_buffer_ = NULL; variable
|
D | hwc_display_primary.h | 74 LayerBuffer output_buffer_ = {}; variable
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 104 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 …]
|
D | hwc_display_primary.cpp | 166 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 …]
|
D | hwc_display_virtual.h | 54 LayerBuffer *output_buffer_ = NULL; variable
|
D | hwc_display_primary.h | 81 LayerBuffer output_buffer_ = {}; variable
|