Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dcpu_composer.cpp603 for (size_t layer_index = num_layers; layer_index > 0;) { in PrepareLayers() local
606 --layer_index; in PrepareLayers()
607 if (IS_TARGET_FRAMEBUFFER(layers[layer_index].compositionType)) { in PrepareLayers()
610 if (layers[layer_index].flags & HWC_SKIP_LAYER) { in PrepareLayers()
613 if (layers[layer_index].compositionType == HWC_BACKGROUND) { in PrepareLayers()
614 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
617 layers[layer_index].compositionType = HWC_OVERLAY; in PrepareLayers()
620 for (size_t top_idx = layer_index + 1; top_idx < num_layers; ++top_idx) { in PrepareLayers()
625 LayersOverlap(layers[layer_index], layers[top_idx]))) { in PrepareLayers()
626 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
[all …]