Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
Dvsoc_composer.cpp514 for (size_t layer_index = num_layers; layer_index > 0;) { in PrepareLayers() local
517 --layer_index; in PrepareLayers()
518 if (IS_TARGET_FRAMEBUFFER(layers[layer_index].compositionType)) { in PrepareLayers()
521 if (layers[layer_index].flags & HWC_SKIP_LAYER) { in PrepareLayers()
524 if (layers[layer_index].compositionType == HWC_BACKGROUND) { in PrepareLayers()
525 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
528 layers[layer_index].compositionType = HWC_OVERLAY; in PrepareLayers()
531 for (size_t top_idx = layer_index + 1; top_idx < num_layers; ++top_idx) { in PrepareLayers()
536 LayersOverlap(layers[layer_index], layers[top_idx]))) { in PrepareLayers()
537 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
[all …]
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dvsoc_composer.cpp518 for (size_t layer_index = num_layers; layer_index > 0;) { in PrepareLayers() local
521 --layer_index; in PrepareLayers()
522 if (IS_TARGET_FRAMEBUFFER(layers[layer_index].compositionType)) { in PrepareLayers()
525 if (layers[layer_index].flags & HWC_SKIP_LAYER) { in PrepareLayers()
528 if (layers[layer_index].compositionType == HWC_BACKGROUND) { in PrepareLayers()
529 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
532 layers[layer_index].compositionType = HWC_OVERLAY; in PrepareLayers()
535 for (size_t top_idx = layer_index + 1; top_idx < num_layers; ++top_idx) { in PrepareLayers()
540 LayersOverlap(layers[layer_index], layers[top_idx]))) { in PrepareLayers()
541 layers[layer_index].compositionType = HWC_FRAMEBUFFER; in PrepareLayers()
[all …]