summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread/RenderProxy.h
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-05-14 18:05:36 -0700
committerAlan Viverette <alanv@google.com>2015-05-14 18:05:36 -0700
commit50210d912925aef14e4ce69be82e4949122a3cd9 (patch)
treeba87c37a8b2db6521df6f8c62307319bcf70a823 /libs/hwui/renderthread/RenderProxy.h
parent9cb90cbbf8fc91793dad1d1cb317079dbc7e8421 (diff)
downloadframeworks_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.h3
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();