/aosp12/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.cpp | 591 if (!hwc_layer) in setLayerCursorPosition() 608 if (!hwc_layer) in setLayerBuffer() 626 if (!hwc_layer) in setLayerSurfaceDamage() 640 if (!hwc_layer) in setLayerBlendMode() 657 if (!hwc_layer) in setLayerColor() 672 if (!hwc_layer) in setLayerCompositionType() 688 if (!hwc_layer) in setLayerDataspace() 703 if (!hwc_layer) in setLayerDisplayFrame() 719 if (!hwc_layer) in setLayerPlaneAlpha() 743 if (!hwc_layer) in setLayerSourceCrop() [all …]
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 520 close(hwc_layer->acquireFenceFd); in CommitLayerParams() 521 hwc_layer->acquireFenceFd = -1; in CommitLayerParams() 606 if (hwc_layer.flags & kDimLayer) { in PrePrepareLayerStack() 742 hwc_layer.hints |= HWC_HINT_CLEAR_FB; in PrepareLayerStack() 855 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 868 close(hwc_layer.releaseFenceFd); in PostCommitLayerStack() 869 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 874 if (hwc_layer.acquireFenceFd >= 0) { in PostCommitLayerStack() 875 close(hwc_layer.acquireFenceFd); in PostCommitLayerStack() 876 hwc_layer.acquireFenceFd = -1; in PostCommitLayerStack() [all …]
|
H A D | blit_engine_c2d.cpp | 462 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()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 520 close(hwc_layer->acquireFenceFd); in CommitLayerParams() 521 hwc_layer->acquireFenceFd = -1; in CommitLayerParams() 606 if (hwc_layer.flags & kDimLayer) { in PrePrepareLayerStack() 742 hwc_layer.hints |= HWC_HINT_CLEAR_FB; in PrepareLayerStack() 855 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 868 close(hwc_layer.releaseFenceFd); in PostCommitLayerStack() 869 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 874 if (hwc_layer.acquireFenceFd >= 0) { in PostCommitLayerStack() 875 close(hwc_layer.acquireFenceFd); in PostCommitLayerStack() 876 hwc_layer.acquireFenceFd = -1; in PostCommitLayerStack() [all …]
|
H A D | blit_engine_c2d.cpp | 462 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()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 421 close(hwc_layer->acquireFenceFd); in CommitLayerParams() 422 hwc_layer->acquireFenceFd = -1; in CommitLayerParams() 498 if (hwc_layer.flags & kDimLayer) { in PrePrepareLayerStack() 606 hwc_layer.hints |= HWC_HINT_CLEAR_FB; in PrepareLayerStack() 693 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 705 close(hwc_layer.releaseFenceFd); in PostCommitLayerStack() 706 hwc_layer.releaseFenceFd = -1; in PostCommitLayerStack() 710 if (hwc_layer.acquireFenceFd >= 0) { in PostCommitLayerStack() 711 close(hwc_layer.acquireFenceFd); in PostCommitLayerStack() 712 hwc_layer.acquireFenceFd = -1; in PostCommitLayerStack() [all …]
|
H A D | blit_engine_c2d.cpp | 447 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()
|
H A D | hwc_display.h | 207 int PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer); 208 void CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 617 for (auto hwc_layer : layer_set_) { in Deinit() local 618 delete hwc_layer; in Deinit() 692 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 751 !(hwc_layer->IsRotationPresent() || hwc_layer->IsScalingPresent())) { in BuildLayerStack() 798 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 1356 hwc_layer->ResetValidation(); in PrepareLayerStack() 1380 if (hwc_layer != nullptr) { in AcceptDisplayChanges() 1422 auto hwc_layer = *it; in GetReleaseFences() local 2052 if (hwc_layer == nullptr) { in SetCursorPosition() 2382 hwc_layer->GetId()); in CanSkipValidate() [all …]
|
H A D | hwc_session.h | 136 auto hwc_layer = hwc_session->hwc_display_[display]->GetHWCLayer(layer); in CallLayerFunction() local 137 if (hwc_layer != nullptr) { in CallLayerFunction() 138 status = (hwc_layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A D | hwc_display.cpp | 599 for (auto hwc_layer : layer_set_) { in Deinit() local 600 delete hwc_layer; in Deinit() 674 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 676 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 735 !(hwc_layer->IsRotationPresent() || hwc_layer->IsScalingPresent())) { in BuildLayerStack() 785 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 1475 hwc_layer->ResetValidation(); in PrepareLayerStack() 1500 if (hwc_layer != nullptr) { in AcceptDisplayChanges() 1542 auto hwc_layer = *it; in GetReleaseFences() local 2076 if (hwc_layer == nullptr) { in SetCursorPosition() [all …]
|
H A D | hwc_display_virtual_gpu.cpp | 60 for (auto hwc_layer : layer_set_) { in Deinit() local 61 delete hwc_layer; in Deinit() 84 for (auto hwc_layer : layer_set_) { in Validate() local 85 auto layer = hwc_layer->GetSDMLayer(); in Validate() 89 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in Validate() 90 layer_changes_[hwc_layer->GetId()] = HWC2::Composition::Device; in Validate() 91 layer_requests_[hwc_layer->GetId()] = HWC2::LayerRequest::ClearClientTarget; in Validate() 94 if (hwc_layer->GetClientRequestedCompositionType() != HWC2::Composition::Client) { in Validate() 95 layer_changes_[hwc_layer->GetId()] = HWC2::Composition::Client; in Validate()
|
H A D | hwc_display_dummy.cpp | 56 for (auto hwc_layer : layer_set_) { in Present() local 57 hwc_layer->PushBackReleaseFence(nullptr); in Present()
|
H A D | hwc_display_builtin.cpp | 275 for (auto &hwc_layer : layer_set_) { in ValidateUiScaling() local 276 Layer *layer = hwc_layer->GetSDMLayer(); in ValidateUiScaling() 391 for (auto &hwc_layer : layer_set_) { in CanSkipCommit() local 392 buffers_latched |= hwc_layer->BufferLatched(); in CanSkipCommit() 393 hwc_layer->ResetBufferFlip(); in CanSkipCommit() 528 for (auto hwc_layer : layer_set_) { in SetPartialUpdate() local 529 hwc_layer->SetPartialUpdate(partial_update_enabled_); in SetPartialUpdate() 928 for (auto hwc_layer : layer_set_) { in SetDisplayMode() local 929 hwc_layer->SetPartialUpdate(partial_update_enabled_); in SetDisplayMode() 1662 for (auto hwc_layer : layer_set_) { in SetCpuPerfHintLargeCompCycle() local [all …]
|
H A D | hwc_display_virtual_dpu.cpp | 142 for (auto hwc_layer : layer_set_) { in Validate() local 143 Layer *layer = hwc_layer->GetSDMLayer(); in Validate()
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 585 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() 719 !(hwc_layer->IsRotationPresent() || hwc_layer->IsScalingPresent())) { in BuildLayerStack() 763 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 1580 hwc_layer->ResetValidation(); in PrepareLayerStack() 1609 if (hwc_layer != nullptr) { in AcceptDisplayChanges() 1651 auto hwc_layer = *it; in GetReleaseFences() local 2153 if (hwc_layer == nullptr) { in SetCursorPosition() [all …]
|
H A D | hwc_display_dummy.cpp | 56 for (auto hwc_layer : layer_set_) { in Present() local 57 hwc_layer->PushBackReleaseFence(-1); in Present()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 333 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 742 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 760 hwc_layer->ResetValidation(); in BuildLayerStack() 786 if (hwc_layer == nullptr) { in BuildLayerStack() 920 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 921 hwc_layer->ResetGeometryChanges(); in BuildLayerStack() 1399 if (hwc_layer == nullptr) { in BuildLayerStack() 1444 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1454 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1641 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local [all …]
|
H A D | hwc_session.h | 75 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()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 410 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 601 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1017 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1035 hwc_layer->ResetValidation(); in BuildLayerStack() 1060 if (hwc_layer != nullptr) { in BuildLayerStack() 1247 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1708 if (hwc_layer == nullptr) { in BuildLayerStack() 2045 hwc_layer->GetId()); in BuildLayerStack() [all …]
|
H A D | hwc_session.h | 120 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()
|
/aosp12/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 466 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 570 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 958 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 976 hwc_layer->ResetValidation(); in BuildLayerStack() 1002 if (hwc_layer != nullptr) { in BuildLayerStack() 1183 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1184 hwc_layer->ResetGeometryChanges(); in BuildLayerStack() 1598 if (hwc_layer == nullptr) { in BuildLayerStack() 1646 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1656 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local [all …]
|
H A D | hwc_session.h | 76 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()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 465 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 573 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 954 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 972 hwc_layer->ResetValidation(); in BuildLayerStack() 996 if (hwc_layer != nullptr) { in BuildLayerStack() 1182 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1615 if (hwc_layer == nullptr) { in BuildLayerStack() 1664 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1675 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 1872 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local [all …]
|
H A D | hwc_session.h | 109 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()
|