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/CanvasContext.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/CanvasContext.h')
| -rw-r--r-- | libs/hwui/renderthread/CanvasContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h index 8d54304..17917af 100644 --- a/libs/hwui/renderthread/CanvasContext.h +++ b/libs/hwui/renderthread/CanvasContext.h @@ -72,8 +72,9 @@ public: bool pauseSurface(ANativeWindow* window); bool hasSurface() { return mNativeWindow.get(); } - void setup(int width, int height, const Vector3& lightCenter, float lightRadius, + void setup(int width, int height, float lightRadius, uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha); + void setLightCenter(const Vector3& lightCenter); void setOpaque(bool opaque); void makeCurrent(); void processLayerUpdate(DeferredLayerUpdater* layerUpdater); |
