Home
last modified time | relevance | path

Searched refs:hwc_layer (Results 1 – 25 of 26) 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);
Dhwc_tonemapper.cpp173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap() argument
180 const private_handle_t *src_hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in ToneMap()
Dhwc_session.cpp1666 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in HandleSecureDisplaySession() local
1667 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer.handle); in HandleSecureDisplaySession()
/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);
Dhwc_tonemapper.cpp173 void HWCToneMapper::ToneMap(hwc_layer_1_t *hwc_layer, Layer* layer, ToneMapSession *session) { in ToneMap() argument
180 const private_handle_t *src_hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in ToneMap()
/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);
Dhwc_session.cpp1528 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in HandleSecureDisplaySession() local
1529 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer.handle); in HandleSecureDisplaySession()
/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()
478 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
479 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
481 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
483 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
487 if (!hwc_layer->ValidateAndSetCSC()) { in BuildLayerStack()
534 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor) { in BuildLayerStack()
536 if ((*layer_set_.rbegin())->GetId() == hwc_layer->GetId()) { in BuildLayerStack()
554 if (hwc_layer->GetGeometryChanges() & kDisplayFrame) { 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/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()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp325 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
326 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
328 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
330 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
372 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
392 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
732 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
733 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
738 layer_requests_[hwc_layer->GetId()] = HWC2::LayerRequest::ClearClientTarget; in BuildLayerStack()
741 HWC2::Composition requested_composition = hwc_layer->GetClientRequestedCompositionType(); 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/msm8998/sdm/libs/hwc2/
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()

12