@@ -67,7 +67,6 @@ layer_state_t::layer_state_t()
6767 reserved(0 ),
6868 cornerRadius(0 .0f ),
6969 clientDrawnCornerRadius(0 .0f ),
70- clientDrawnShadowRadius(0 .0f ),
7170 backgroundBlurRadius(0 ),
7271 color(0 ),
7372 bufferTransform(0 ),
@@ -143,7 +142,6 @@ status_t layer_state_t::write(Parcel& output) const
143142 SAFE_PARCEL (output.write , colorTransform.asArray (), 16 * sizeof (float ));
144143 SAFE_PARCEL (output.writeFloat , cornerRadius);
145144 SAFE_PARCEL (output.writeFloat , clientDrawnCornerRadius);
146- SAFE_PARCEL (output.writeFloat , clientDrawnShadowRadius);
147145 SAFE_PARCEL (output.writeUint32 , backgroundBlurRadius);
148146 SAFE_PARCEL (output.writeParcelable , metadata);
149147 SAFE_PARCEL (output.writeFloat , bgColor.r );
@@ -279,7 +277,6 @@ status_t layer_state_t::read(const Parcel& input)
279277 SAFE_PARCEL (input.read , &colorTransform, 16 * sizeof (float ));
280278 SAFE_PARCEL (input.readFloat , &cornerRadius);
281279 SAFE_PARCEL (input.readFloat , &clientDrawnCornerRadius);
282- SAFE_PARCEL (input.readFloat , &clientDrawnShadowRadius);
283280 SAFE_PARCEL (input.readUint32 , &backgroundBlurRadius);
284281 SAFE_PARCEL (input.readParcelable , &metadata);
285282
@@ -606,10 +603,6 @@ void layer_state_t::merge(const layer_state_t& other) {
606603 what |= eClientDrawnCornerRadiusChanged;
607604 clientDrawnCornerRadius = other.clientDrawnCornerRadius ;
608605 }
609- if (other.what & eClientDrawnShadowsChanged) {
610- what |= eClientDrawnShadowsChanged;
611- clientDrawnShadowRadius = other.clientDrawnShadowRadius ;
612- }
613606 if (other.what & eBackgroundBlurRadiusChanged) {
614607 what |= eBackgroundBlurRadiusChanged;
615608 backgroundBlurRadius = other.backgroundBlurRadius ;
@@ -824,7 +817,6 @@ uint64_t layer_state_t::diff(const layer_state_t& other) const {
824817 CHECK_DIFF (diff, eLayerStackChanged, other, layerStack);
825818 CHECK_DIFF (diff, eCornerRadiusChanged, other, cornerRadius);
826819 CHECK_DIFF (diff, eClientDrawnCornerRadiusChanged, other, clientDrawnCornerRadius);
827- CHECK_DIFF (diff, eClientDrawnShadowsChanged, other, clientDrawnShadowRadius);
828820 CHECK_DIFF (diff, eBackgroundBlurRadiusChanged, other, backgroundBlurRadius);
829821 if (other.what & eBlurRegionsChanged) diff |= eBlurRegionsChanged;
830822 if (other.what & eRelativeLayerChanged) {
0 commit comments