Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_display.cpp433 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { in PrepareLayerParams() argument
434 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams()
484 if (hwc_layer->compositionType == HWC_FRAMEBUFFER_TARGET) { in PrepareLayerParams()
514 void HWCDisplay::CommitLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer) { in CommitLayerParams() argument
515 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in CommitLayerParams()
527 if (swap_interval_zero_ && hwc_layer->acquireFenceFd >= 0) { in CommitLayerParams()
528 close(hwc_layer->acquireFenceFd); in CommitLayerParams()
529 hwc_layer->acquireFenceFd = -1; in CommitLayerParams()
531 layer_buffer.acquire_fence_fd = hwc_layer->acquireFenceFd; in CommitLayerParams()
547 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.h251 int PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer *layer);
252 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.cpp1634 hwc_layer_1_t &hwc_layer = content_list->hwLayers[i]; in HandleSecureDisplaySession() local
1635 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer.handle); in HandleSecureDisplaySession()
/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/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp324 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
325 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
327 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
329 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
368 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor) { in BuildLayerStack()
370 if ((*layer_set_.rbegin())->GetId() == hwc_layer->GetId()) { in BuildLayerStack()
380 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
400 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
740 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
741 Layer *layer = hwc_layer->GetSDMLayer(); 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_display.cpp329 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
330 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
332 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client) { in BuildLayerStack()
334 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
372 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor) { in BuildLayerStack()
374 if ((*layer_set_.rbegin())->GetId() == hwc_layer->GetId()) { in BuildLayerStack()
384 hwc_layer->SetLayerDisplayFrame(scaled_display_frame); in BuildLayerStack()
407 geometry_changes_ |= hwc_layer->GetGeometryChanges(); in BuildLayerStack()
747 for (auto hwc_layer : layer_set_) { in BuildLayerStack() local
748 Layer *layer = hwc_layer->GetSDMLayer(); in BuildLayerStack()
[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()