commit | b5a5435a77bae40b55053ccde93b1ed45d0e8329 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Fri Nov 21 14:54:35 2014 -0800 |
committer | Chris Craik <ccraik@google.com> | Fri Nov 21 16:23:00 2014 -0800 |
tree | 6589f39a057fd5af9147e05abcb2ecb37cc79c4a | |
parent | 6c912b7d056c67b41fd46f31de168795e97c2336 [diff] [blame] |
Improve DisplayList state output bug:17991451 Log hardware layers and shadow casting Change-Id: I2ae40f270d18f5b2a5af985513e0f5e8841216c2
diff --git a/libs/hwui/RenderProperties.h b/libs/hwui/RenderProperties.h index b936d4b..31c4f22 100644 --- a/libs/hwui/RenderProperties.h +++ b/libs/hwui/RenderProperties.h
@@ -570,7 +570,7 @@ } bool hasShadow() const { - return getZ() >= 0.0f + return getZ() > 0.0f && getOutline().getPath() != NULL && getOutline().getAlpha() != 0.0f; }