summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2015-05-14 18:05:36 -0700
committer Alan Viverette <alanv@google.com> 2015-05-14 18:05:36 -0700
commit50210d912925aef14e4ce69be82e4949122a3cd9 (patch)
treeba87c37a8b2db6521df6f8c62307319bcf70a823 /libs/hwui/OpenGLRenderer.h
parent9cb90cbbf8fc91793dad1d1cb317079dbc7e8421 (diff)
Adjust light source for window position
Bug: 16523629 Change-Id: I2f3fed1edcac0a3cfd5034aded45e08ececfebaf
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rwxr-xr-xlibs/hwui/OpenGLRenderer.h5
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