Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayer.cpp653 compositionengine::LayerFE::LayerSettings shadowLayer = casterLayerSettings; in prepareShadowClientComposition() local
655 shadowLayer.shadow = shadow; in prepareShadowClientComposition()
656 shadowLayer.geometry.boundaries = mBounds; // ignore transparent region in prepareShadowClientComposition()
660 shadowLayer.shadow.casterIsTranslucent = !casterIsOpaque || (casterAlpha < 1.0f); in prepareShadowClientComposition()
661 shadowLayer.shadow.ambientColor *= casterAlpha; in prepareShadowClientComposition()
662 shadowLayer.shadow.spotColor *= casterAlpha; in prepareShadowClientComposition()
663 shadowLayer.sourceDataspace = outputDataspace; in prepareShadowClientComposition()
664 shadowLayer.source.buffer.buffer = nullptr; in prepareShadowClientComposition()
665 shadowLayer.source.buffer.fence = nullptr; in prepareShadowClientComposition()
666 shadowLayer.frameNumber = 0; in prepareShadowClientComposition()
[all …]
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp963 renderengine::LayerSettings shadowLayer; in drawShadow() local
964 shadowLayer.geometry.boundaries = castingLayer.geometry.boundaries; in drawShadow()
965 shadowLayer.alpha = castingLayer.alpha; in drawShadow()
966 shadowLayer.shadow = shadow; in drawShadow()
967 layers.push_back(&shadowLayer); in drawShadow()