/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() 158 if (output_buffer_->acquire_fence_fd >= 0) { in Present() 159 close(output_buffer_->acquire_fence_fd); in Present() 160 output_buffer_->acquire_fence_fd = -1; in Present() 181 output_buffer_->acquire_fence_fd = dup(release_fence); 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
|
/hardware/qcom/display/msm8909w_3100/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() 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 …]
|
D | hwc_display_primary.cpp | 189 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 …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 101 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 …]
|
D | hwc_display_primary.cpp | 192 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 …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 99 output_buffer_ = new LayerBuffer(); in Init() 106 if (output_buffer_) { in Deinit() 107 if (output_buffer_->acquire_fence_fd >= 0) { in Deinit() 108 close(output_buffer_->acquire_fence_fd); in Deinit() 110 delete output_buffer_; in Deinit() 111 output_buffer_ = nullptr; in Deinit() 127 layer_stack_.output_buffer = output_buffer_; in Validate() 129 if (output_buffer_ && !output_buffer_->flags.secure && layer_stack_.flags.secure_present) { in Validate() 150 if (!output_buffer_->buffer_id) { in Present() 158 layer_stack_.output_buffer = output_buffer_; in Present() [all …]
|
D | hwc_display_builtin.cpp | 174 CloseFd(&output_buffer_.release_fence_fd); in Validate() 180 layer_stack_.output_buffer = &output_buffer_; in Validate() 293 CloseFd(&output_buffer_.acquire_fence_fd); in Present() 406 output_buffer_.width = UINT32(handle->width); in SetReadbackBuffer() 407 output_buffer_.height = UINT32(handle->height); in SetReadbackBuffer() 408 output_buffer_.unaligned_width = UINT32(handle->unaligned_width); in SetReadbackBuffer() 409 output_buffer_.unaligned_height = UINT32(handle->unaligned_height); in SetReadbackBuffer() 410 output_buffer_.format = HWCLayer::GetSDMFormat(handle->format, handle->flags); in SetReadbackBuffer() 411 output_buffer_.planes[0].fd = handle->fd; in SetReadbackBuffer() 412 output_buffer_.planes[0].stride = UINT32(handle->width); in SetReadbackBuffer() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 98 output_buffer_ = new LayerBuffer(); in Init() 104 if (output_buffer_) { in Deinit() 105 delete output_buffer_; in Deinit() 106 output_buffer_ = nullptr; in Deinit() 122 layer_stack_.output_buffer = output_buffer_; in Validate() 124 if (output_buffer_ && !output_buffer_->flags.secure && layer_stack_.flags.secure_present) { in Validate() 145 if (!output_buffer_->buffer_id) { in Present() 162 reinterpret_cast<const private_handle_t *>(output_buffer_->buffer_id); in Present() 191 if (output_buffer_->acquire_fence_fd >= 0) { in Present() 192 close(output_buffer_->acquire_fence_fd); in Present() [all …]
|
D | hwc_display_primary.cpp | 260 CloseFd(&output_buffer_.release_fence_fd); in Validate() 266 layer_stack_.output_buffer = &output_buffer_; in Validate() 346 CloseFd(&output_buffer_.acquire_fence_fd); in Present() 456 output_buffer_.width = UINT32(handle->width); in SetReadbackBuffer() 457 output_buffer_.height = UINT32(handle->height); in SetReadbackBuffer() 458 output_buffer_.unaligned_width = UINT32(handle->unaligned_width); in SetReadbackBuffer() 459 output_buffer_.unaligned_height = UINT32(handle->unaligned_height); in SetReadbackBuffer() 460 output_buffer_.format = GetSDMFormat(handle->format, handle->flags); in SetReadbackBuffer() 461 output_buffer_.planes[0].fd = handle->fd; in SetReadbackBuffer() 462 output_buffer_.planes[0].stride = UINT32(handle->width); in SetReadbackBuffer() [all …]
|
/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() 425 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture() 426 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture() 427 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture() 428 output_buffer_.release_fence_fd = -1; in HandleFrameCapture() 433 output_buffer_ = {}; in HandleFrameCapture() 437 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump() 438 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump() 439 ::close(output_buffer_.release_fence_fd); in HandleFrameDump() 440 output_buffer_.release_fence_fd = -1; in HandleFrameDump() [all …]
|
D | hwc_display_virtual.h | 58 LayerBuffer *output_buffer_ = NULL; variable
|
/hardware/qcom/display/msm8909w_3100/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() 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 …]
|
D | hwc_display_virtual.h | 54 LayerBuffer *output_buffer_ = NULL; variable
|
/hardware/qcom/display/msm8909/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() 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 …]
|
D | hwc_display_virtual.h | 54 LayerBuffer *output_buffer_ = NULL; 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
|