diff options
author | Chris Craik <ccraik@google.com> | 2014-04-30 18:20:03 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-04-30 18:20:30 -0700 |
commit | f5be3ca5cc5b3a10747b577f60059a99862bb9a8 (patch) | |
tree | a35aca46d1a60b88df40e8015c6a1815acccdb61 /libs/hwui/Caches.h | |
parent | 7a70981fc1eead712d62d9502f6dccb963779ae8 (diff) | |
download | frameworks_base-f5be3ca5cc5b3a10747b577f60059a99862bb9a8.zip frameworks_base-f5be3ca5cc5b3a10747b577f60059a99862bb9a8.tar.gz frameworks_base-f5be3ca5cc5b3a10747b577f60059a99862bb9a8.tar.bz2 |
Add more shadow control knobs
Change-Id: I1ff500bf429029a97b681ced9df652f4ee9f1332
Diffstat (limited to 'libs/hwui/Caches.h')
-rw-r--r-- | libs/hwui/Caches.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libs/hwui/Caches.h b/libs/hwui/Caches.h index ba3ccaf..2e2ee15 100644 --- a/libs/hwui/Caches.h +++ b/libs/hwui/Caches.h @@ -352,13 +352,10 @@ public: void initTempProperties(); void setTempProperty(const char* name, const char* value); - // These scaling factors range from 0 to 1, to scale the light position - // within the bound of (screenwidth, screenheight, max(screenwidth, screenheight)); - // The default scale is (0.5, 0, 1) which put the light at - // (screenwidth / 2, 0, max(screenwidth, screenheight)). - float propertyLightPosXScale; - float propertyLightPosYScale; - float propertyLightPosZScale; + float propertyLightDiameter; + float propertyLightPosY; + float propertyLightPosZ; + float propertyAmbientRatio; int propertyAmbientShadowStrength; int propertySpotShadowStrength; |