summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Caches.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-04-30 18:20:03 -0700
committerChris Craik <ccraik@google.com>2014-04-30 18:20:30 -0700
commitf5be3ca5cc5b3a10747b577f60059a99862bb9a8 (patch)
treea35aca46d1a60b88df40e8015c6a1815acccdb61 /libs/hwui/Caches.h
parent7a70981fc1eead712d62d9502f6dccb963779ae8 (diff)
downloadframeworks_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.h11
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;