diff options
| author | 2015-05-14 18:05:36 -0700 | |
|---|---|---|
| committer | 2015-05-14 18:05:36 -0700 | |
| commit | 50210d912925aef14e4ce69be82e4949122a3cd9 (patch) | |
| tree | ba87c37a8b2db6521df6f8c62307319bcf70a823 /libs/hwui/OpenGLRenderer.h | |
| parent | 9cb90cbbf8fc91793dad1d1cb317079dbc7e8421 (diff) | |
Adjust light source for window position
Bug: 16523629
Change-Id: I2f3fed1edcac0a3cfd5034aded45e08ececfebaf
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rwxr-xr-x | libs/hwui/OpenGLRenderer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index c34eb2c61f01..218818d8e41d 100755 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -127,8 +127,9 @@ public: void setViewport(int width, int height) { mState.setViewport(width, height); } void initProperties(); - void initLight(const Vector3& lightCenter, float lightRadius, - uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha); + void initLight(float lightRadius, uint8_t ambientShadowAlpha, + uint8_t spotShadowAlpha); + void setLightCenter(const Vector3& lightCenter); /* * Prepares the renderer to draw a frame. This method must be invoked |