commit | c93e45cf045f41aea95f856173e4043d988a5a5c | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Wed Jul 16 10:15:56 2014 -0700 |
committer | Chris Craik <ccraik@google.com> | Wed Jul 23 11:04:53 2014 -0700 |
tree | d1a400594fda90adf629e9f781d340ddc81a4cf0 | |
parent | 94ca6cd7c932689b8018d1b118ddcd6b7a9eab27 [diff] [blame] |
Build layer damage bounds for shadows bug:15538815 Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d
diff --git a/libs/hwui/SpotShadow.cpp b/libs/hwui/SpotShadow.cpp index 06f6204..82dbe7a 100644 --- a/libs/hwui/SpotShadow.cpp +++ b/libs/hwui/SpotShadow.cpp
@@ -508,6 +508,7 @@ computeSpotShadow(isCasterOpaque, light, lightVertexCount, lightCenter, poly, polyLength, retStrips); retStrips.setMode(VertexBuffer::kTwoPolyRingShadow); + retStrips.computeBounds<AlphaVertex>(); } /**