Home
last modified time | relevance | path

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

12

/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,
Dhwc_display.h252 int PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
253 void CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
/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);
Dblit_engine_c2d.h103 int DrawRectUsingCopybit(hwc_layer_1_t *hwc_layer, Layer *layer, LayerRect blit_rect,
Dhwc_display.h252 int PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
253 void CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
/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,
Dhwc_display.h207 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/
Dhwc_display.cpp616 for (auto hwc_layer : layer_set_) { in Deinit() local
617 delete hwc_layer; in Deinit()
689 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
691 hwc_layer->ResetPerFrameData(); in BuildLayerStack()
693 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
695 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
697 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
701 if (!hwc_layer->ValidateAndSetCSC()) { in BuildLayerStack()
705 auto range = hwc_layer->GetLayerDataspace() & HAL_DATASPACE_RANGE_MASK; in BuildLayerStack()
745 if (hwc_layer->IsSingleBuffered() && in BuildLayerStack()
[all …]
Dhwc_display_virtual.cpp125 for (auto hwc_layer : layer_set_) { in Validate() local
126 Layer *layer = hwc_layer->GetSDMLayer(); in Validate()
Dhwc_session.h136 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/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