Lines Matching refs:layer

115     struct compose_layer layer[0];  member
123 struct compose_layer layer[0]; member
391 for (const auto& layer : layers) { in validateDisplay() local
392 switch (layer->getCompositionType()) { in validateDisplay()
395 ALOGE("%s layer:%" PRIu64 " CompositionType not set", __FUNCTION__, layer->getId()); in validateDisplay()
411 for (const auto& layer : layers) { in validateDisplay() local
412 const auto& layerCompositionType = layer->getCompositionType(); in validateDisplay()
420 __FUNCTION__, static_cast<uint32_t>(layer->getId()), in validateDisplay()
426 __FUNCTION__, static_cast<uint32_t>(layer->getId()), in validateDisplay()
437 … static_cast<uint32_t>(layer->getId()), layerCompositionTypeString.c_str()); in validateDisplay()
443 changes.emplace(layer, layerFallBackTo.value()); in validateDisplay()
450 for (auto& layer : layers) { in validateDisplay() local
451 if (layer->getCompositionType() == Composition::INVALID) { in validateDisplay()
454 if (layer->getCompositionType() != Composition::CLIENT) { in validateDisplay()
455 changes.emplace(layer, Composition::CLIENT); in validateDisplay()
461 for (auto& [layer, newCompositionType] : changes) { in validateDisplay()
462 layer->logCompositionFallbackIfChanged(newCompositionType); in validateDisplay()
463 outChanges->addLayerCompositionChange(displayId, layer->getId(), newCompositionType); in validateDisplay()
504 for (auto layer : layers) { in presentDisplay() local
505 if (layer->getCompositionType() == Composition::DEVICE || in presentDisplay()
506 layer->getCompositionType() == Composition::SOLID_COLOR) { in presentDisplay()
550 l = p->layer; in presentDisplay()
553 l = p2->layer; in presentDisplay()
557 for (auto layer : layers) { in presentDisplay() local
558 const auto& layerCompositionType = layer->getCompositionType(); in presentDisplay()
565 layerCompositionTypeString.c_str(), (uint32_t)layer->getId()); in presentDisplay()
570 releaseLayerIds.emplace_back(layer->getId()); in presentDisplay()
572 ::android::base::unique_fd fence = layer->getBuffer().getFence(); in presentDisplay()
580 (uint32_t)layer->getId()); in presentDisplay()
582 const native_handle_t* cb = layer->getBuffer().getBuffer(); in presentDisplay()
586 ALOGE("%s null buffer for layer %d", __FUNCTION__, (uint32_t)layer->getId()); in presentDisplay()
593 l->displayFrame = AsHwcRect(layer->getDisplayFrame()); in presentDisplay()
594 l->crop = AsHwcFrect(layer->getSourceCrop()); in presentDisplay()
595 l->blendMode = static_cast<int32_t>(layer->getBlendMode()); in presentDisplay()
596 l->alpha = layer->getPlaneAlpha(); in presentDisplay()
597 l->color = AsHwcColor(layer->getColor()); in presentDisplay()
598 l->transform = AsHwcTransform(layer->getTransform()); in presentDisplay()
603 l->displayFrame.right, l->displayFrame.bottom, layer->getZOrder(), l->composeMode, in presentDisplay()