diff options
author | ztenghui <ztenghui@google.com> | 2014-01-17 10:34:10 -0800 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2014-01-17 13:42:09 -0800 |
commit | cc3c25622c731d14a6f01bce684330eccba7db5a (patch) | |
tree | 6e35c1358b88c77410f066f309590a0e87bc023b /libs/hwui/ShadowTessellator.h | |
parent | 3a3bdd042d8bd056d31a1b37332e91c1307060a0 (diff) | |
download | frameworks_base-cc3c25622c731d14a6f01bce684330eccba7db5a.zip frameworks_base-cc3c25622c731d14a6f01bce684330eccba7db5a.tar.gz frameworks_base-cc3c25622c731d14a6f01bce684330eccba7db5a.tar.bz2 |
Property support for light positioning.
Tune up the light size to make it look better.
Change-Id: I139a05f3dd53dacbe55759b91188f0e1cc2c7f80
Diffstat (limited to 'libs/hwui/ShadowTessellator.h')
-rw-r--r-- | libs/hwui/ShadowTessellator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/ShadowTessellator.h b/libs/hwui/ShadowTessellator.h index 44ac8c0..2399f8f 100644 --- a/libs/hwui/ShadowTessellator.h +++ b/libs/hwui/ShadowTessellator.h @@ -30,8 +30,9 @@ public: const mat4& casterTransform, VertexBuffer& shadowVertexBuffer); static void tessellateSpotShadow(float width, float height, - const mat4& receiverTransform, int screenWidth, int screenHeight, - const mat4& casterTransform, VertexBuffer& shadowVertexBuffer); + const Vector3& lightPosScale, const mat4& receiverTransform, + int screenWidth, int screenHeight, const mat4& casterTransform, + VertexBuffer& shadowVertexBuffer); private: static void generateCasterPolygon(float width, float height, |