Home
last modified time | relevance | path

Searched refs:layer_stack_ (Results 1 – 25 of 42) sorted by relevance

12

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp411 layer_stack_.layers.push_back(layer); in AllocateLayerStack()
418 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack()
421 layer_stack_ = {}; in FreeLayerStack()
450 layer_stack_.flags.video_present = true; in PrepareLayerParams()
455 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
463 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
486 bool linear = layer_stack_.output_buffer && !IsUBWCFormat(layer_stack_.output_buffer->format); in PrepareLayerParams()
542 Layer *layer = layer_stack_.layers.at(i); in PrePrepareLayerStack()
650 layer_stack_.flags.animating = true; in PrePrepareLayerStack()
654 layer_stack_.flags.skip_present = true; in PrePrepareLayerStack()
[all …]
Dhwc_display_external_test.cpp144 DisplayError error = display_intf_->Prepare(&layer_stack_); in Prepare()
182 error = display_intf_->Commit(&layer_stack_); in Commit()
714 layer_stack_.layers.push_back(layer); in CreateLayerStack()
721 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
722 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
731 layer_stack_.layers = {}; in DestroyLayerStack()
745 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
746 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
753 close(layer_stack_.retire_fence_fd); in PostCommit()
754 layer_stack_.retire_fence_fd = -1; in PostCommit()
Dhwc_display_primary.cpp183 layer_stack_.output_buffer = &output_buffer_; in Prepare()
184 layer_stack_.flags.post_processed_output = post_processed_output_; in Prepare()
441 DumpOutputBuffer(output_buffer_info_, output_buffer_base_, layer_stack_.retire_fence_fd); in HandleFrameDump()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp411 layer_stack_.layers.push_back(layer); in AllocateLayerStack()
418 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack()
421 layer_stack_ = {}; in FreeLayerStack()
450 layer_stack_.flags.video_present = true; in PrepareLayerParams()
455 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
463 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
486 bool linear = layer_stack_.output_buffer && !IsUBWCFormat(layer_stack_.output_buffer->format); in PrepareLayerParams()
542 Layer *layer = layer_stack_.layers.at(i); in PrePrepareLayerStack()
650 layer_stack_.flags.animating = true; in PrePrepareLayerStack()
654 layer_stack_.flags.skip_present = true; in PrePrepareLayerStack()
[all …]
Dhwc_display_external_test.cpp144 DisplayError error = display_intf_->Prepare(&layer_stack_); in Prepare()
182 error = display_intf_->Commit(&layer_stack_); in Commit()
714 layer_stack_.layers.push_back(layer); in CreateLayerStack()
721 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
722 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
731 layer_stack_.layers = {}; in DestroyLayerStack()
745 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
746 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
753 close(layer_stack_.retire_fence_fd); in PostCommit()
754 layer_stack_.retire_fence_fd = -1; in PostCommit()
Dhwc_display_primary.cpp183 layer_stack_.output_buffer = &output_buffer_; in Prepare()
184 layer_stack_.flags.post_processed_output = post_processed_output_; in Prepare()
441 DumpOutputBuffer(output_buffer_info_, output_buffer_base_, layer_stack_.retire_fence_fd); in HandleFrameDump()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp328 layer_stack_.layers.push_back(layer); in AllocateLayerStack()
335 for (Layer *layer : layer_stack_.layers) { in FreeLayerStack()
339 layer_stack_ = {}; in FreeLayerStack()
357 layer_stack_.flags.video_present = true; in PrepareLayerParams()
362 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
367 layer_stack_.flags.secure_present = true; in PrepareLayerParams()
442 Layer *layer = layer_stack_.layers.at(i); in PrePrepareLayerStack()
532 layer_stack_.flags.animating = true; in PrePrepareLayerStack()
536 layer_stack_.flags.skip_present = true; in PrePrepareLayerStack()
540 layer_stack_.flags.cursor_present = true; in PrePrepareLayerStack()
[all …]
Dhwc_display_primary.cpp166 layer_stack_.output_buffer = &output_buffer_; in Prepare()
167 layer_stack_.flags.post_processed_output = post_processed_output_; in Prepare()
387 DumpOutputBuffer(output_buffer_info_, output_buffer_base_, layer_stack_.retire_fence_fd); in HandleFrameDump()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp457 layer_stack_ = LayerStack(); in BuildLayerStack()
507 layer_stack_.flags.video_present = true; in BuildLayerStack()
511 layer_stack_.flags.secure_present = true; in BuildLayerStack()
515 layer_stack_.flags.secure_present = true; in BuildLayerStack()
520 layer_stack_.flags.skip_present = true; in BuildLayerStack()
529 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
565 layer_stack_.layers.push_back(layer); in BuildLayerStack()
577 layer_stack_.flags.skip_present = true; in BuildLayerStack()
583 layer_stack_.flags.geometry_changed = UINT32(geometry_changes_ > 0); in BuildLayerStack()
587 layer_stack_.layers.push_back(sdm_client_target); in BuildLayerStack()
[all …]
Dhwc_display_virtual.cpp125 layer_stack_.output_buffer = output_buffer_; in Validate()
151 layer_stack_.retire_fence_fd); in Present()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp455 layer_stack_ = LayerStack(); in BuildLayerStack()
502 layer_stack_.flags.video_present = true; in BuildLayerStack()
506 layer_stack_.flags.secure_present = true; in BuildLayerStack()
510 layer_stack_.flags.secure_present = true; in BuildLayerStack()
515 layer_stack_.flags.skip_present = true; in BuildLayerStack()
522 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
532 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
568 layer_stack_.layers.push_back(layer); in BuildLayerStack()
580 layer_stack_.flags.skip_present = true; in BuildLayerStack()
586 layer_stack_.flags.geometry_changed = UINT32(geometry_changes_ > 0); in BuildLayerStack()
[all …]
Dhwc_display_virtual.cpp125 layer_stack_.output_buffer = output_buffer_; in Validate()
152 layer_stack_.retire_fence_fd); in Present()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp473 layer_stack_ = LayerStack(); in BuildLayerStack()
478 layer_stack_.flags.animating = animating_; in BuildLayerStack()
519 layer_stack_.flags.video_present = true; in BuildLayerStack()
525 layer_stack_.flags.secure_present = true; in BuildLayerStack()
539 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
549 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
558 layer_stack_.flags.skip_present = true; in BuildLayerStack()
596 layer_stack_.layers.push_back(layer); in BuildLayerStack()
608 layer_stack_.flags.skip_present = true; in BuildLayerStack()
614 layer_stack_.flags.geometry_changed = UINT32(geometry_changes_ > 0); in BuildLayerStack()
[all …]
Dhwc_display_external_test.cpp143 DisplayError error = display_intf_->Prepare(&layer_stack_); in Validate()
175 error = display_intf_->Commit(&layer_stack_); in Present()
707 layer_stack_.layers.push_back(layer); in CreateLayerStack()
714 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
715 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
722 layer_stack_.layers = {}; in DestroyLayerStack()
733 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
734 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
740 close(layer_stack_.retire_fence_fd); in PostCommit()
741 layer_stack_.retire_fence_fd = -1; in PostCommit()
Dhwc_display_virtual.cpp129 layer_stack_.output_buffer = output_buffer_; in Validate()
168 layer_stack_.retire_fence_fd); in Present()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp644 layer_stack_ = LayerStack(); in BuildLayerStack()
647 layer_stack_.flags.animating = animating_; in BuildLayerStack()
649 layer_stack_.flags.fast_path = fast_path_enabled_ && fast_path_composition_; in BuildLayerStack()
692 layer_stack_.flags.video_present = true; in BuildLayerStack()
699 layer_stack_.flags.secure_present = true; in BuildLayerStack()
711 layer_stack_.flags.single_buffered_layer_present = true; in BuildLayerStack()
718 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
728 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
742 layer_stack_.flags.skip_present = true; in BuildLayerStack()
786 layer_stack_.layers.push_back(layer); in BuildLayerStack()
[all …]
Dhwc_display_pluggable_test.cpp147 DisplayError error = display_intf_->Prepare(&layer_stack_); in Validate()
172 DisplayError error = display_intf_->Flush(&layer_stack_); in Present()
187 error = display_intf_->Commit(&layer_stack_); in Present()
705 layer_stack_.layers.push_back(layer); in CreateLayerStack()
712 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
713 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
720 layer_stack_.layers = {}; in DestroyLayerStack()
729 display_intf_->Flush(&layer_stack_); in PostCommit()
732 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
733 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
[all …]
Dhwc_display_virtual.cpp127 layer_stack_.output_buffer = output_buffer_; in Validate()
129 if (output_buffer_ && !output_buffer_->flags.secure && layer_stack_.flags.secure_present) { in Validate()
133 layer_stack_.flags.skip_present = true; in Validate()
158 layer_stack_.output_buffer = output_buffer_; in Present()
188 layer_stack_.retire_fence_fd); in Present()
Dhwc_display_builtin.cpp166 static_cast<bool>(layer_stack_.flags.hdr_present)) != HWC2::Error::None) { in Validate()
177 readback_configured_ = !layer_stack_.flags.secure_present; in Validate()
180 layer_stack_.output_buffer = &output_buffer_; in Validate()
181 layer_stack_.flags.post_processed_output = post_processed_output_; in Validate()
246 ATRACE_INT("FastPath", layer_stack_.flags.fast_path); in Present()
247 ATRACE_INT("GeometryChanged", layer_stack_.flags.geometry_changed); in Present()
248 ATRACE_INT("NumLayers", static_cast <int32_t> (layer_stack_.layers.size())); in Present()
252 DisplayError error = display_intf_->Flush(&layer_stack_); in Present()
608 DisplayError err = display_intf_->HandleSecureEvent(secure_event, &layer_stack_); in HandleSecureSession()
698 DumpOutputBuffer(output_buffer_info_, output_buffer_base_, layer_stack_.retire_fence_fd); in HandleFrameDump()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp327 layer_stack_ = LayerStack(); in BuildLayerStack()
360 layer_stack_.flags.video_present = true; in BuildLayerStack()
364 layer_stack_.flags.secure_present = true; in BuildLayerStack()
368 layer_stack_.flags.secure_present = true; in BuildLayerStack()
373 layer_stack_.flags.skip_present = true; in BuildLayerStack()
407 layer_stack_.layers.push_back(layer); in BuildLayerStack()
410 layer_stack_.flags.geometry_changed = UINT32(geometry_changes_ > 0); in BuildLayerStack()
412 layer_stack_.layers.push_back(client_target_->GetSDMLayer()); in BuildLayerStack()
418 layer_stack_ = LayerStack(); in BuildLayerStack()
421 layer_stack_.layers.push_back(solid_fill_layer_); in BuildLayerStack()
[all …]
Dhwc_display_virtual.cpp125 layer_stack_.output_buffer = output_buffer_; in Validate()
151 layer_stack_.retire_fence_fd); in Present()
Dhwc_display_primary.cpp182 layer_stack_.output_buffer = &output_buffer_; in Validate()
183 layer_stack_.flags.post_processed_output = post_processed_output_; in Validate()
444 DumpOutputBuffer(output_buffer_info_, output_buffer_base_, layer_stack_.retire_fence_fd); in HandleFrameDump()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.cpp677 layer_stack_ = LayerStack(); in BuildLayerStack()
681 layer_stack_.flags.animating = animating_; in BuildLayerStack()
730 layer_stack_.flags.video_present = true; in BuildLayerStack()
739 layer_stack_.flags.secure_present = true; in BuildLayerStack()
752 layer_stack_.flags.single_buffered_layer_present = true; in BuildLayerStack()
759 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
773 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
787 layer_stack_.flags.skip_present = true; in BuildLayerStack()
825 layer_stack_.layers.push_back(layer); in BuildLayerStack()
835 layer_stack_.flags.skip_present = true; in BuildLayerStack()
[all …]
Dhwc_display_external_test.cpp143 DisplayError error = display_intf_->Prepare(&layer_stack_); in Validate()
175 error = display_intf_->Commit(&layer_stack_); in Present()
707 layer_stack_.layers.push_back(layer); in CreateLayerStack()
714 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
715 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
722 layer_stack_.layers = {}; in DestroyLayerStack()
734 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
735 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
741 close(layer_stack_.retire_fence_fd); in PostCommit()
742 layer_stack_.retire_fence_fd = -1; in PostCommit()
Dhwc_display_virtual.cpp122 layer_stack_.output_buffer = output_buffer_; in Validate()
124 if (output_buffer_ && !output_buffer_->flags.secure && layer_stack_.flags.secure_present) { in Validate()
128 layer_stack_.flags.skip_present = true; in Validate()
177 layer_stack_.retire_fence_fd); in Present()

12