From 584a375df68ed7d62b38389078c6804edf228f9c Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 30 Jul 2009 18:45:01 -0700 Subject: First pass at implementing the Grass live wallpaper in RenderScript. This change also adds second(), minute() and hour() to the RS library. --- libs/rs/rsScriptC.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/rs/rsScriptC.cpp') diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index 842c836b9ec5..3b9d27a4ed07 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -230,6 +230,12 @@ void rsi_ScriptCSetClearColor(Context * rsc, float r, float g, float b, float a) ss->mEnviroment.mClearColor[3] = a; } +void rsi_ScriptCSetTimeZone(Context * rsc, const char * timeZone, uint32_t length) +{ + ScriptCState *ss = &rsc->mScriptC; + ss->mEnviroment.mTimeZone = timeZone; +} + void rsi_ScriptCSetClearDepth(Context * rsc, float v) { ScriptCState *ss = &rsc->mScriptC; -- cgit v1.2.3-59-g8ed1b