/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display.cpp | 424 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 …]
|
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()
|
D | hwc_tonemapper.h | 88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
|
D | blit_engine_c2d.h | 103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display.cpp | 424 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 …]
|
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()
|
D | hwc_tonemapper.h | 88 void ToneMap(hwc_layer_1_t *hwc_layer, Layer *layer, ToneMapSession *session);
|
D | blit_engine_c2d.h | 103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display.cpp | 342 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 …]
|
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()
|
D | blit_engine_c2d.h | 103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
|
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);
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 617 for (auto hwc_layer : layer_set_) { in Deinit() local 618 delete hwc_layer; in Deinit() 690 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local 692 hwc_layer->ResetPerFrameData(); in BuildLayerStack() 694 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack() 696 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack() 698 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack() 702 if (!hwc_layer->ValidateAndSetCSC()) { in BuildLayerStack() 706 auto range = hwc_layer->GetLayerDataspace() & HAL_DATASPACE_RANGE_MASK; in BuildLayerStack() 711 if (hwc_layer->IsColorTransformSet()) { in BuildLayerStack() [all …]
|
D | hwc_display_virtual.cpp | 125 for (auto hwc_layer : layer_set_) { in Validate() local 126 Layer *layer = hwc_layer->GetSDMLayer(); in Validate()
|
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()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
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() 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 …]
|
D | hwc_display_dummy.cpp | 56 for (auto hwc_layer : layer_set_) { in Present() local 57 hwc_layer->PushBackReleaseFence(-1); in Present()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.cpp | 333 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 …]
|
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()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
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 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 …]
|
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()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.cpp | 466 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 …]
|
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()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 465 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 …]
|
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()
|