diff options
| 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 |
| commit | 50210d912925aef14e4ce69be82e4949122a3cd9 (patch) | |
| tree | ba87c37a8b2db6521df6f8c62307319bcf70a823 /libs/hwui/renderthread/RenderProxy.h | |
| parent | 9cb90cbbf8fc91793dad1d1cb317079dbc7e8421 (diff) | |
| download | frameworks_base-50210d912925aef14e4ce69be82e4949122a3cd9.zip frameworks_base-50210d912925aef14e4ce69be82e4949122a3cd9.tar.gz frameworks_base-50210d912925aef14e4ce69be82e4949122a3cd9.tar.bz2 | |
Adjust light source for window position
Bug: 16523629
Change-Id: I2f3fed1edcac0a3cfd5034aded45e08ececfebaf
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.h')
| -rw-r--r-- | libs/hwui/renderthread/RenderProxy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h index 31456cd..5febbe0 100644 --- a/libs/hwui/renderthread/RenderProxy.h +++ b/libs/hwui/renderthread/RenderProxy.h @@ -70,8 +70,9 @@ public: ANDROID_API bool initialize(const sp<ANativeWindow>& window); ANDROID_API void updateSurface(const sp<ANativeWindow>& window); ANDROID_API bool pauseSurface(const sp<ANativeWindow>& window); - ANDROID_API void setup(int width, int height, const Vector3& lightCenter, float lightRadius, + ANDROID_API void setup(int width, int height, float lightRadius, uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha); + ANDROID_API void setLightCenter(const Vector3& lightCenter); ANDROID_API void setOpaque(bool opaque); ANDROID_API int64_t* frameInfo(); ANDROID_API int syncAndDrawFrame(); |
