diff options
| author | 2014-07-16 10:15:56 -0700 | |
|---|---|---|
| committer | 2014-07-23 11:04:53 -0700 | |
| commit | c93e45cf045f41aea95f856173e4043d988a5a5c (patch) | |
| tree | d1a400594fda90adf629e9f781d340ddc81a4cf0 /libs/hwui/SpotShadow.cpp | |
| parent | 94ca6cd7c932689b8018d1b118ddcd6b7a9eab27 (diff) | |
Build layer damage bounds for shadows
bug:15538815
Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d
Diffstat (limited to 'libs/hwui/SpotShadow.cpp')
| -rw-r--r-- | libs/hwui/SpotShadow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/SpotShadow.cpp b/libs/hwui/SpotShadow.cpp index 06f6204e85fb..82dbe7a1485a 100644 --- a/libs/hwui/SpotShadow.cpp +++ b/libs/hwui/SpotShadow.cpp @@ -508,6 +508,7 @@ void SpotShadow::createSpotShadow(bool isCasterOpaque, const Vector3* poly, computeSpotShadow(isCasterOpaque, light, lightVertexCount, lightCenter, poly, polyLength, retStrips); retStrips.setMode(VertexBuffer::kTwoPolyRingShadow); + retStrips.computeBounds<AlphaVertex>(); } /** |