Home
last modified time | relevance | path

Searched refs:hwc_layer (Results 1 – 25 of 40) sorted by relevance

12

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument
425 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams()
476 if (hwc_layer->compositionType == HWC_FRAMEBUFFER_TARGET) { in PrepareLayerParams()
507 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument
508 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in CommitLayerParams()
519 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { in CommitLayerParams()
520 close(hwc_layer->acquireFenceFd); in CommitLayerParams()
521 hwc_layer->acquireFenceFd = -1; in CommitLayerParams()
523 layer_buffer.acquire_fence_fd = hwc_layer->acquireFenceFd; in CommitLayerParams()
539 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() local
[all …]
Dblit_engine_c2d.cpp462 hwc_layer_1_t *hwc_layer = &content_list->hwLayers[k]; in Commit() local
466 int ret_val = DrawRectUsingCopybit(hwc_layer, bottom_layer, src_rect, dest_rect); in Commit()
499 int BlitEngineC2d::DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, in DrawRectUsingCopybit() argument
502 const private_handle_t *hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
507 src.handle = const_cast<native_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
554 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_PLANE_ALPHA, hwc_layer->planeAlpha); in DrawRectUsingCopybit()
555 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_BLEND_MODE, hwc_layer->blending); in DrawRectUsingCopybit()
Dhwc_tonemapper.h88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument
425 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams()
476 if (hwc_layer->compositionType == HWC_FRAMEBUFFER_TARGET) { in PrepareLayerParams()
507 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument
508 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in CommitLayerParams()
519 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { in CommitLayerParams()
520 close(hwc_layer->acquireFenceFd); in CommitLayerParams()
521 hwc_layer->acquireFenceFd = -1; in CommitLayerParams()
523 layer_buffer.acquire_fence_fd = hwc_layer->acquireFenceFd; in CommitLayerParams()
539 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() local
[all …]
Dblit_engine_c2d.cpp462 hwc_layer_1_t *hwc_layer = &content_list->hwLayers[k]; in Commit() local
466 int ret_val = DrawRectUsingCopybit(hwc_layer, bottom_layer, src_rect, dest_rect); in Commit()
499 int BlitEngineC2d::DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, in DrawRectUsingCopybit() argument
502 const private_handle_t *hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
507 src.handle = const_cast<native_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
554 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_PLANE_ALPHA, hwc_layer->planeAlpha); in DrawRectUsingCopybit()
555 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_BLEND_MODE, hwc_layer->blending); in DrawRectUsingCopybit()
Dhwc_tonemapper.h88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
Dblit_engine_c2d.h103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp342 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument
343 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams()
380 if (hwc_layer->compositionType == HWC_FRAMEBUFFER_TARGET) { in PrepareLayerParams()
408 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument
409 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in CommitLayerParams()
420 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { in CommitLayerParams()
421 close(hwc_layer->acquireFenceFd); in CommitLayerParams()
422 hwc_layer->acquireFenceFd = -1; in CommitLayerParams()
424 layer_buffer->acquire_fence_fd = hwc_layer->acquireFenceFd; in CommitLayerParams()
440 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in PrePrepareLayerStack() local
[all …]
Dblit_engine_c2d.cpp447 hwc_layer_1_t *hwc_layer = &content_list->hwLayers[k]; in Commit() local
451 int ret_val = DrawRectUsingCopybit(hwc_layer, bottom_layer, src_rect, dest_rect); in Commit()
484 int BlitEngineC2d::DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, in DrawRectUsingCopybit() argument
487 const private_handle_t *hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
492 src.handle = const_cast<native_handle_t *>(hwc_layer->handle); in DrawRectUsingCopybit()
539 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_PLANE_ALPHA, hwc_layer->planeAlpha); in DrawRectUsingCopybit()
540 blit_engine_c2d_->set_parameter(blit_engine_c2d_, COPYBIT_BLEND_MODE, hwc_layer->blending); in DrawRectUsingCopybit()
Dblit_engine_c2d.h103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
/hardware/qcom/sm7250/display/composer/
Dhwc_display_virtual_gpu.cpp96 for (auto hwc_layer : layer_set_) { in Deinit() local
97 delete hwc_layer; in Deinit()
120 for (auto hwc_layer : layer_set_) { in Validate() local
121 auto layer = hwc_layer->GetSDMLayer(); in Validate()
125 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in Validate()
126 layer_changes_[hwc_layer->GetId()] = HWC2::Composition::Device; in Validate()
127 layer_requests_[hwc_layer->GetId()] = HWC2::LayerRequest::ClearClientTarget; in Validate()
130 if (hwc_layer->GetClientRequestedCompositionType() != HWC2::Composition::Client) { in Validate()
131 layer_changes_[hwc_layer->GetId()] = HWC2::Composition::Client; in Validate()
Dhwc_display.cpp616 for (auto hwc_layer : layer_set_) { in Deinit() local
617 delete hwc_layer; in Deinit()
691 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
693 hwc_layer->ResetPerFrameData(); in BuildLayerStack()
695 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
698 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client || in BuildLayerStack()
701 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
705 if (!hwc_layer->IsDataSpaceSupported()) { in BuildLayerStack()
709 if (hwc_layer->IsColorTransformSet()) { in BuildLayerStack()
747 if (IS_RGB_FORMAT(layer->input_buffer.format) && hwc_layer->IsScalingPresent()) { in BuildLayerStack()
[all …]
Dhwc_display_dummy.cpp56 for (auto hwc_layer : layer_set_) { in Present() local
57 hwc_layer->PushBackReleaseFence(nullptr); in Present()
Dhwc_display_virtual_dpu.cpp142 for (auto hwc_layer : layer_set_) { in Validate() local
143 Layer *layer = hwc_layer->GetSDMLayer(); in Validate()
Dhwc_display_builtin.cpp306 for (auto &hwc_layer : layer_set_) { in ValidateUiScaling() local
307 Layer *layer = hwc_layer->GetSDMLayer(); in ValidateUiScaling()
308 if (hwc_layer->IsScalingPresent() && !layer->input_buffer.flags.video) { in ValidateUiScaling()
434 for (auto &hwc_layer : layer_set_) { in CanSkipCommit() local
435 buffers_latched |= hwc_layer->BufferLatched(); in CanSkipCommit()
436 hwc_layer->ResetBufferFlip(); in CanSkipCommit()
571 for (auto hwc_layer : layer_set_) { in SetPartialUpdate() local
572 hwc_layer->SetPartialUpdate(partial_update_enabled_); in SetPartialUpdate()
971 for (auto hwc_layer : layer_set_) { in SetDisplayMode() local
972 hwc_layer->SetPartialUpdate(partial_update_enabled_); in SetDisplayMode()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp585 for (auto hwc_layer : layer_set_) { in Deinit() local
586 delete hwc_layer; in Deinit()
664 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
666 hwc_layer->ResetPerFrameData(); in BuildLayerStack()
668 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
671 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client || in BuildLayerStack()
674 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
678 if (!hwc_layer->IsDataSpaceSupported()) { in BuildLayerStack()
682 if (hwc_layer->IsColorTransformSet()) { in BuildLayerStack()
718 if (hwc_layer->IsSingleBuffered() && in BuildLayerStack()
[all …]
Dhwc_display_dummy.cpp56 for (auto hwc_layer : layer_set_) { in Present() local
57 hwc_layer->PushBackReleaseFence(-1); in Present()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp333 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
334 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
336 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
338 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
380 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
400 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
404 layer->flags.updating = IsLayerUpdating(hwc_layer); in BuildLayerStack()
742 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
743 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
748 layer_requests_[hwc_layer->GetId()] = HWC2::LayerRequest::ClearClientTarget; in BuildLayerStack()
[all …]
Dhwc_session.h75 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction() local
76 if (hwc_layer != nullptr) { in CallLayerFunction()
77 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp410 for (auto hwc_layer : layer_set_) { in Deinit() local
411 delete hwc_layer; in Deinit()
482 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
483 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
485 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
487 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
491 if (!hwc_layer->ValidateAndSetCSC()) { in BuildLayerStack()
535 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor) { in BuildLayerStack()
537 if ((*layer_set_.rbegin())->GetId() == hwc_layer->GetId()) { in BuildLayerStack()
552 if (hwc_layer->IsNonIntegralSourceCrop() && !is_secure && !hdr_layer && in BuildLayerStack()
[all …]
Dhwc_session.h120 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction() local
121 if (hwc_layer != nullptr) { in CallLayerFunction()
122 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp466 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
467 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
469 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
471 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
475 if (!hwc_layer->ValidateAndSetCSC()) { in BuildLayerStack()
481 auto range = hwc_layer->GetLayerDataspace() & HAL_DATASPACE_RANGE_MASK; in BuildLayerStack()
536 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
558 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
562 layer->flags.updating = IsLayerUpdating(hwc_layer); in BuildLayerStack()
570 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
[all …]
Dhwc_session.h76 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction() local
77 if (hwc_layer != nullptr) { in CallLayerFunction()
78 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp465 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
466 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
468 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
470 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
475 if (!hwc_layer->SupportedDataspace()) { in BuildLayerStack()
477 DLOGW_IF(kTagStrategy, "Unsupported dataspace: 0x%x", hwc_layer->GetLayerDataspace()); in BuildLayerStack()
518 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor) { in BuildLayerStack()
520 if ((*layer_set_.rbegin())->GetId() == hwc_layer->GetId()) { in BuildLayerStack()
539 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
561 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
[all …]
Dhwc_session.h109 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction() local
110 if (hwc_layer != nullptr) { in CallLayerFunction()
111 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()

12