Home
last modified time | relevance | path

Searched refs:layers_ (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp109 layers_.push_back(HwcLayer(layer_id)); in CreateLayer()
110 return &layers_.back(); in CreateLayer()
114 for (size_t i = 0; i < layers_.size(); ++i) in GetLayer()
115 if (layers_[i].info.id == id) in GetLayer()
116 return &layers_[i]; in GetLayer()
122 for (auto it = layers_.begin(); it != layers_.end(); ++it) { in DestroyLayer()
124 layers_.erase(it); in DestroyLayer()
135 std::sort(layers_.begin(), layers_.end(), in GetChangedCompositionTypes()
142 for (size_t i = 0; i < layers_.size(); ++i) { in GetChangedCompositionTypes()
143 switch (layers_[i].composition_type) { in GetChangedCompositionTypes()
[all …]
Dvr_hwc.h174 std::vector<HwcLayer> layers_; variable
/frameworks/native/vulkan/libvulkan/
Dapi.cpp493 ActiveLayer* layers_; member in vulkan::api::__anona3a2f4e70111::LayerChain
517 layers_(nullptr), in LayerChain()
532 DestroyLayers(layers_, layer_count_, allocator_); in ~LayerChain()
559 layers_ = AllocateLayerArray(layer_count); in ActivateLayers()
560 if (!layers_) in ActivateLayers()
565 result = LoadLayer(layers_[i], layer_names[i]); in ActivateLayers()
621 layers_ = AllocateLayerArray(instance_layer_count); in ActivateLayers()
622 if (!layers_) in ActivateLayers()
633 new (&layers_[layer_count_++]) ActiveLayer{GetLayerRef(l), {}}; in ActivateLayers()
680 ActiveLayer& layer = layers_[i]; in SetupLayerLinks()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp253 layers_.clear(); in OnPostThreadPaused()
465 stream << "Active layers: " << layers_.size() << std::endl; in Dump()
468 for (size_t i = 0; i < layers_.size(); i++) { in Dump()
470 stream << " type=" << layers_[i].GetCompositionType().to_string(); in Dump()
471 stream << " surface_id=" << layers_[i].GetSurfaceId(); in Dump()
472 stream << " buffer_id=" << layers_[i].GetBufferId(); in Dump()
489 for (auto& layer : layers_) { in PostLayers()
515 for (auto& layer : layers_) { in PostLayers()
526 for (size_t i = 0; i < layers_.size(); i++) { in PostLayers()
528 i, layers_[i].GetBufferId(), in PostLayers()
[all …]
Dhardware_composer.h495 std::vector<Layer> layers_; variable