summaryrefslogtreecommitdiffstats
path: root/libs/hwui/ShadowTessellator.h
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-01-17 10:34:10 -0800
committerztenghui <ztenghui@google.com>2014-01-17 13:42:09 -0800
commitcc3c25622c731d14a6f01bce684330eccba7db5a (patch)
tree6e35c1358b88c77410f066f309590a0e87bc023b /libs/hwui/ShadowTessellator.h
parent3a3bdd042d8bd056d31a1b37332e91c1307060a0 (diff)
downloadframeworks_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.h5
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,