Lines Matching refs:layer

45 bool LayerNeedsScaling(const Layer& layer) {  in LayerNeedsScaling()  argument
46 common::Rect crop = layer.getSourceCropInt(); in LayerNeedsScaling()
47 common::Rect frame = layer.getDisplayFrame(); in LayerNeedsScaling()
57 bool needs_rot = static_cast<int32_t>(layer.getTransform()) & in LayerNeedsScaling()
63 bool LayerNeedsBlending(const Layer& layer) { in LayerNeedsBlending() argument
64 return layer.getBlendMode() != common::BlendMode::NONE; in LayerNeedsBlending()
67 bool LayerNeedsAttenuation(const Layer& layer) { in LayerNeedsAttenuation() argument
68 return layer.getBlendMode() == common::BlendMode::COVERAGE; in LayerNeedsAttenuation()
564 for (Layer* layer : layers) { in validateDisplay()
565 const auto layerId = layer->getId(); in validateDisplay()
566 const auto layerCompositionType = layer->getCompositionType(); in validateDisplay()
589 if (!canComposeLayer(layer)) { in validateDisplay()
599 for (Layer* layer : layers) { in validateDisplay()
600 const auto layerId = layer->getId(); in validateDisplay()
601 const auto layerCompositionType = layer->getCompositionType(); in validateDisplay()
620 auto layer = layers[layerIndex]; in validateDisplay() local
621 auto layerCompositionType = layer->getCompositionType(); in validateDisplay()
635 __FUNCTION__, displayId, lowerLayerId, layer->getId()); in validateDisplay()
735 [](const Layer* layer) { return layer->getCompositionType() == Composition::CLIENT; }); in presentDisplay() argument
778 for (Layer* layer : layers) { in presentDisplay()
779 const auto layerId = layer->getId(); in presentDisplay()
780 const auto layerCompositionType = layer->getCompositionType(); in presentDisplay()
787 layer, // in presentDisplay()
830 bool GuestFrameComposer::canComposeLayer(Layer* layer) { in canComposeLayer() argument
831 const auto layerCompositionType = layer->getCompositionType(); in canComposeLayer()
840 buffer_handle_t bufferHandle = layer->getBuffer().getBuffer(); in canComposeLayer()