Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 25 of 102) sorted by relevance

12345

/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit()
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
311 layer->frame_rate = layer_stack->layers.at(gpu_target_index)->frame_rate; in Prepare()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit()
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
311 layer->frame_rate = layer_stack->layers.at(gpu_target_index)->frame_rate; in Prepare()
[all …]
Dhwc_display_external_test.cpp714 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()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dblit_engine_c2d.cpp209 Layer *layer = layer_stack->layers.at(i); in PostCommit()
214 layer_stack->layers.at(index)->input_buffer->release_fence_fd; in PostCommit()
218 layer_stack->layers.at(index)->input_buffer->release_fence_fd = -1; in PostCommit()
219 fd = layer_stack->layers.at(index)->input_buffer->acquire_fence_fd; in PostCommit()
220 layer_stack->layers.at(index)->input_buffer->acquire_fence_fd = -1; in PostCommit()
257 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Prepare()
262 Layer *layer = layer_stack->layers.at(i); in Prepare()
284 LayerBuffer *layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare()
295 Layer *layer = layer_stack->layers.at(k); in Prepare()
305 layer->frame_rate = layer_stack->layers.at(gpu_target_index)->frame_rate; in Prepare()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dstrategy.cpp85 uint32_t layer_count = UINT32(layer_stack->layers.size()); in Start()
87 if (layer_stack->layers.at(i)->composition == kCompositionGPUTarget) { in Start()
144 for (uint32_t i = 0; i < layer_stack->layers.size(); i++) { in GetNextStrategy()
145 Layer *layer = layer_stack->layers.at(i); in GetNextStrategy()
Ddisplay_base.cpp150 std::vector<Layer *>layers = layer_stack->layers; in ValidateGPUTarget() local
156 uint32_t layer_count = UINT32(layers.size()); in ValidateGPUTarget()
157 while ((i < layer_count) && (layers.at(i)->composition != kCompositionGPUTarget)) { in ValidateGPUTarget()
169 Layer *gpu_target_layer = layers.at(gpu_target_index); in ValidateGPUTarget()
581 Layer *layer = hw_layers_.info.stack->layers.at(layer_index); in AppendDump()
945 uint32_t layer_count = UINT32(layer_stack->layers.size()); in NeedsMixerReconfiguration()
957 std::vector<Layer *> layers = layer_stack->layers; in NeedsMixerReconfiguration() local
960 Layer *layer = layers.at(i); in NeedsMixerReconfiguration()
978 Layer *layer = layers.at(max_area_layer_index); in NeedsMixerReconfiguration()
Dcomp_manager.cpp225 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
439 for (int32_t i = INT32(layer_stack->layers.size() - 1); i >= 0; i--) { in SupportLayerAsCursor()
440 Layer *layer = layer_stack->layers.at(UINT32(i)); in SupportLayerAsCursor()
449 Layer *cursor_layer = layer_stack->layers.at(UINT32(gpu_index) - 1); in SupportLayerAsCursor()
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h171 void setChangedCompositionTypes(const std::vector<Layer>& layers, in setChangedCompositionTypes() argument
173 size_t totalLayers = std::min(layers.size(), types.size()); in setChangedCompositionTypes()
182 write64(layers[currentLayer + i]); in setChangedCompositionTypes()
191 void setDisplayRequests(uint32_t displayRequestMask, const std::vector<Layer>& layers, in setDisplayRequests() argument
193 size_t totalLayers = std::min(layers.size(), layerRequestMasks.size()); in setDisplayRequests()
203 write64(layers[currentLayer + i]); in setDisplayRequests()
219 void setReleaseFences(const std::vector<Layer>& layers, const std::vector<int>& releaseFences) { in setReleaseFences() argument
220 size_t totalLayers = std::min(layers.size(), releaseFences.size()); in setReleaseFences()
229 write64(layers[currentLayer + i]); in setReleaseFences()
/hardware/qcom/sdm845/display/sdm/libs/core/
Dstrategy.cpp131 layer_stack->layers.at(i)->composition = kCompositionGPU; in GetNextStrategy()
132 layer_stack->layers.at(i)->request.flags.request_flags = 0; // Reset layer request in GetNextStrategy()
138 Layer *gpu_target_layer = layer_stack->layers.at(hw_layers_info_->gpu_target_index); in GetNextStrategy()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dstrategy.cpp142 layer_stack->layers.at(i)->composition = kCompositionGPU; in GetNextStrategy()
143 layer_stack->layers.at(i)->request.flags.request_flags = 0; // Reset layer request in GetNextStrategy()
150 Layer *gpu_target_layer = layer_stack->layers.at(hw_layers_info_->gpu_target_index); in GetNextStrategy()
Dcomp_manager.cpp253 for(auto &layer : hw_layers->info.stack->layers) { in PrepareStrategyConstraints()
269 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
520 for (int32_t i = INT32(layer_stack->layers.size() - 1); i >= 0; i--) { in SupportLayerAsCursor()
521 Layer *layer = layer_stack->layers.at(UINT32(i)); in SupportLayerAsCursor()
530 Layer *cursor_layer = layer_stack->layers.at(UINT32(gpu_index) - 1); in SupportLayerAsCursor()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dstrategy.cpp142 layer_stack->layers.at(i)->composition = kCompositionGPU; in GetNextStrategy()
143 layer_stack->layers.at(i)->request.flags.request_flags = 0; // Reset layer request in GetNextStrategy()
150 Layer *gpu_target_layer = layer_stack->layers.at(hw_layers_info_->gpu_target_index); in GetNextStrategy()
Ddisplay_base.cpp143 std::vector<Layer *> &layers = layer_stack->layers; in BuildLayerStackStats() local
148 for (auto &layer : layers) { in BuildLayerStackStats()
157 "display type: %d", layers.size(), hw_layers_info.app_layer_count, in BuildLayerStackStats()
174 Layer *gpu_target_layer = hw_layers_info.stack->layers.at(hw_layers_info.gpu_target_index); in ValidateGPUTargetParams()
574 Layer *sdm_layer = hw_layers_.info.stack->layers.at(layer_index); in AppendDump()
1101 uint32_t layer_count = UINT32(layer_stack->layers.size()); in NeedsMixerReconfiguration()
1115 std::vector<Layer *> layers = layer_stack->layers; in NeedsMixerReconfiguration() local
1127 Layer *layer = layers.at(i); in NeedsMixerReconfiguration()
1142 Layer *layer = layers.at(max_area_layer_index); in NeedsMixerReconfiguration()
1264 Layer *sdm_layer = layer_stack->layers.at(hw_layers_.info.index[i]); in CommitLayerParams()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Dstrategy.cpp142 layer_stack->layers.at(i)->composition = kCompositionGPU; in GetNextStrategy()
143 layer_stack->layers.at(i)->request.flags.request_flags = 0; // Reset layer request in GetNextStrategy()
150 Layer *gpu_target_layer = layer_stack->layers.at(hw_layers_info_->gpu_target_index); in GetNextStrategy()
Ddisplay_base.cpp147 std::vector<Layer *> &layers = layer_stack->layers; in BuildLayerStackStats() local
152 for (auto &layer : layers) { in BuildLayerStackStats()
161 "display type: %d", layers.size(), hw_layers_info.app_layer_count, in BuildLayerStackStats()
178 Layer *gpu_target_layer = hw_layers_info.stack->layers.at(hw_layers_info.gpu_target_index); in ValidateGPUTargetParams()
591 if (layer_index >= hw_layers_.info.stack->layers.size()) { in AppendDump()
594 Layer *sdm_layer = hw_layers_.info.stack->layers.at(layer_index); in AppendDump()
1124 uint32_t layer_count = UINT32(layer_stack->layers.size()); in NeedsMixerReconfiguration()
1138 std::vector<Layer *> layers = layer_stack->layers; in NeedsMixerReconfiguration() local
1150 Layer *layer = layers.at(i); in NeedsMixerReconfiguration()
1165 Layer *layer = layers.at(max_area_layer_index); in NeedsMixerReconfiguration()
[all …]
/hardware/interfaces/graphics/common/aidl/aidl_api/android.hardware.graphics.common/current/android/hardware/graphics/common/
DHardwareBufferDescription.aidl23 int layers;
/hardware/interfaces/graphics/common/aidl/android/hardware/graphics/common/
DHardwareBufferDescription.aidl31 int layers;
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp224 void writeLayers(const std::vector<std::shared_ptr<TestLayer>>& layers) { in writeLayers() argument
225 for (auto layer : layers) { in writeLayers()
495 std::vector<std::shared_ptr<TestLayer>> layers = {layer}; in TEST_F() local
505 writeLayers(layers); in TEST_F()
550 std::vector<std::shared_ptr<TestLayer>> layers = {layer}; in TEST_F() local
552 writeLayers(layers); in TEST_F()
643 std::vector<std::shared_ptr<TestLayer>> layers = {layer}; in TEST_F() local
648 writeLayers(layers); in TEST_F()
810 std::vector<std::shared_ptr<TestLayer>> layers = {layer}; in TEST_F() local
816 writeLayers(layers); in TEST_F()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/
Dstrategy.cpp140 layer_stack->layers.at(i)->composition = kCompositionGPU; in GetNextStrategy()
141 layer_stack->layers.at(i)->request.flags.request_flags = 0; // Reset layer request in GetNextStrategy()
147 Layer *gpu_target_layer = layer_stack->layers.at(hw_layers_info_->gpu_target_index); in GetNextStrategy()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h280 std::vector<Layer> layers; in executePresentOrValidateDisplay() local
284 : mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentOrValidateDisplay()
288 mWriter.setReleaseFences(layers, fences); in executePresentOrValidateDisplay()
333 std::vector<Layer> layers; in executePresentDisplay() local
335 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentDisplay()
338 mWriter.setReleaseFences(layers, fences); in executePresentDisplay()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Ddisplay_null.cpp120 for (auto layer : layer_stack->layers) { in Prepare()
144 for (Layer *layer : layer_stack->layers) { in Commit()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Ddisplay_null.cpp37 for (Layer *layer : layer_stack->layers) { in Commit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Ddisplay_null.cpp37 for (Layer *layer : layer_stack->layers) { in Commit()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Ddisplay_null.cpp37 for (Layer *layer : layer_stack->layers) { in Commit()
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal48 * no layers are marked for client composition.
55 * layers are not marked as Composition::CLIENT or the given display
140 * The device must not request any composition type changes for layers
655 * setChangedCompositionTypes(vec<Layer> layers,
658 * Sets the layers for which the device requires a different composition
664 * @param layers is an array of layer handles.
666 * an element of layers.
672 * vec<Layer> layers,
684 * @param layers is an array of layers which all have at least one
687 * of layers.
[all …]

12345