Loading libs/rs/java/Fountain/AndroidManifest.xml +1 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,7 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.fountain"> <application android:label="Fountain"> <activity android:name="Fountain" android:theme="@android:style/Theme.Translucent"> <activity android:name="Fountain"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> Loading libs/rs/rsContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -317,7 +317,7 @@ Context::Context(Device *dev, Surface *sur, bool useDepth) } while(!mRunning) { sleep(1); usleep(100); } pthread_attr_destroy(&threadAttr); Loading libs/rs/rsLocklessFifo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ void LocklessCommandFifo::makeSpace(uint32_t bytes) if ((mPut+bytes) > mEnd) { // Need to loop regardless of where get is. while((mGet > mPut) && (mBuffer+4 >= mGet)) { sleep(1); usleep(100); } // Toss in a reset then the normal wait for space will do the rest. Loading @@ -170,7 +170,7 @@ void LocklessCommandFifo::makeSpace(uint32_t bytes) // it will fit here so we just need to wait for space. while(getFreeSpace() < bytes) { sleep(1); usleep(100); } } Loading libs/rs/rsScript.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,7 @@ void rsi_ScriptSetInvoke(Context *rsc, const char *name, uint32_t slot) void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) { Script *s = static_cast<Script *>(vs); s->setupScript(); s->mEnviroment.mInvokables[slot](); } Loading libs/rs/rsScript.h +1 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ public: virtual void setupScript() = 0; virtual bool run(Context *, uint32_t launchID) = 0; }; Loading Loading
libs/rs/java/Fountain/AndroidManifest.xml +1 −2 Original line number Diff line number Diff line Loading @@ -2,8 +2,7 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.fountain"> <application android:label="Fountain"> <activity android:name="Fountain" android:theme="@android:style/Theme.Translucent"> <activity android:name="Fountain"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> Loading
libs/rs/rsContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -317,7 +317,7 @@ Context::Context(Device *dev, Surface *sur, bool useDepth) } while(!mRunning) { sleep(1); usleep(100); } pthread_attr_destroy(&threadAttr); Loading
libs/rs/rsLocklessFifo.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ void LocklessCommandFifo::makeSpace(uint32_t bytes) if ((mPut+bytes) > mEnd) { // Need to loop regardless of where get is. while((mGet > mPut) && (mBuffer+4 >= mGet)) { sleep(1); usleep(100); } // Toss in a reset then the normal wait for space will do the rest. Loading @@ -170,7 +170,7 @@ void LocklessCommandFifo::makeSpace(uint32_t bytes) // it will fit here so we just need to wait for space. while(getFreeSpace() < bytes) { sleep(1); usleep(100); } } Loading
libs/rs/rsScript.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,7 @@ void rsi_ScriptSetInvoke(Context *rsc, const char *name, uint32_t slot) void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) { Script *s = static_cast<Script *>(vs); s->setupScript(); s->mEnviroment.mInvokables[slot](); } Loading
libs/rs/rsScript.h +1 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,7 @@ public: virtual void setupScript() = 0; virtual bool run(Context *, uint32_t launchID) = 0; }; Loading