Home
last modified time | relevance | path

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

12

/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/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/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()
Dhwc_display_virtual.cpp190 layer_stack_.retire_fence_fd); in Commit()
295 layer_stack_.output_buffer = output_buffer_; in SetOutputBuffer()
/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/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/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/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()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp654 layer_stack_ = LayerStack(); in BuildLayerStack()
657 layer_stack_.flags.animating = animating_; in BuildLayerStack()
659 layer_stack_.flags.fast_path = fast_path_enabled_ && fast_path_composition_; in BuildLayerStack()
702 layer_stack_.flags.video_present = true; in BuildLayerStack()
709 layer_stack_.flags.secure_present = true; in BuildLayerStack()
721 layer_stack_.flags.single_buffered_layer_present = true; in BuildLayerStack()
730 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
748 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
753 layer_stack_.flags.skip_present = true; in BuildLayerStack()
797 layer_stack_.flags.mask_present |= layer->input_buffer.flags.mask_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.cpp131 layer_stack_.output_buffer = output_buffer_; in Validate()
133 if (output_buffer_ && !output_buffer_->flags.secure && layer_stack_.flags.secure_present) { in Validate()
137 layer_stack_.flags.skip_present = true; in Validate()
162 layer_stack_.output_buffer = output_buffer_; in Present()
192 layer_stack_.retire_fence_fd); in Present()
Dhwc_display_builtin.cpp228 static_cast<bool>(layer_stack_.flags.hdr_present)) != HWC2::Error::None) { in Validate()
239 readback_configured_ = !layer_stack_.flags.secure_present; in Validate()
242 layer_stack_.output_buffer = &output_buffer_; in Validate()
243 layer_stack_.flags.post_processed_output = post_processed_output_; in Validate()
247 if (layer_stack_.flags.hdr_present != hdr_present_) { in Validate()
248 error = display_intf_->ControlIdlePowerCollapse(!layer_stack_.flags.hdr_present, true); in Validate()
249 hdr_present_ = layer_stack_.flags.hdr_present; in Validate()
325 ATRACE_INT("FastPath", layer_stack_.flags.fast_path); in Present()
326 ATRACE_INT("GeometryChanged", layer_stack_.flags.geometry_changed); in Present()
327 ATRACE_INT("NumLayers", static_cast <int32_t> (layer_stack_.layers.size())); in Present()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.cpp678 layer_stack_ = LayerStack(); in BuildLayerStack()
682 layer_stack_.flags.animating = animating_; in BuildLayerStack()
731 layer_stack_.flags.video_present = true; in BuildLayerStack()
740 layer_stack_.flags.secure_present = true; in BuildLayerStack()
753 layer_stack_.flags.single_buffered_layer_present = true; in BuildLayerStack()
760 layer_stack_.flags.cursor_present = true; in BuildLayerStack()
774 layer_stack_.flags.hdr_present = true; in BuildLayerStack()
788 layer_stack_.flags.skip_present = true; in BuildLayerStack()
826 layer_stack_.layers.push_back(layer); in BuildLayerStack()
836 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()
708 layer_stack_.layers.push_back(layer); in CreateLayerStack()
715 for (uint32_t i = 0; i < UINT32(layer_stack_.layers.size()); i++) { in DestroyLayerStack()
716 Layer *layer = layer_stack_.layers.at(i); in DestroyLayerStack()
723 layer_stack_.layers = {}; in DestroyLayerStack()
735 for (size_t i = 0; i < layer_stack_.layers.size(); i++) { in PostCommit()
736 Layer *layer = layer_stack_.layers.at(i); in PostCommit()
742 close(layer_stack_.retire_fence_fd); in PostCommit()
743 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