Loading services/surfaceflinger/Layer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ Layer::Layer(const LayerCreationArgs& args) mCurrentState.hasColorTransform = false; mCurrentState.colorSpaceAgnostic = false; mCurrentState.metadata = args.metadata; mCurrentState.shadowRadius = 0.f; // drawing state & current state are identical mDrawingState = mCurrentState; Loading services/surfaceflinger/Layer.h +1 −1 Original line number Diff line number Diff line Loading @@ -950,7 +950,7 @@ private: // The inherited shadow radius after taking into account the layer hierarchy. This is the // final shadow radius for this layer. If a shadow is specified for a layer, then effective // shadow radius is the set shadow radius, otherwise its the parent's shadow radius. float mEffectiveShadowRadius; float mEffectiveShadowRadius = 0.f; // Returns true if the layer can draw shadows on its border. virtual bool canDrawShadows() const { return true; } Loading Loading
services/surfaceflinger/Layer.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ Layer::Layer(const LayerCreationArgs& args) mCurrentState.hasColorTransform = false; mCurrentState.colorSpaceAgnostic = false; mCurrentState.metadata = args.metadata; mCurrentState.shadowRadius = 0.f; // drawing state & current state are identical mDrawingState = mCurrentState; Loading
services/surfaceflinger/Layer.h +1 −1 Original line number Diff line number Diff line Loading @@ -950,7 +950,7 @@ private: // The inherited shadow radius after taking into account the layer hierarchy. This is the // final shadow radius for this layer. If a shadow is specified for a layer, then effective // shadow radius is the set shadow radius, otherwise its the parent's shadow radius. float mEffectiveShadowRadius; float mEffectiveShadowRadius = 0.f; // Returns true if the layer can draw shadows on its border. virtual bool canDrawShadows() const { return true; } Loading