diff options
Diffstat (limited to 'libs/rs/rsContext.h')
| -rw-r--r-- | libs/rs/rsContext.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 929c0f9..184740f 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -42,7 +42,6 @@ namespace android { namespace renderscript { - class Context { public: @@ -77,6 +76,10 @@ public: void setupCheck(); + void assignName(ObjectBase *obj, const char *name); + void removeName(ObjectBase *obj); + ObjectBase * lookupName(const char *name) const; + protected: Device *mDev; @@ -112,7 +115,7 @@ private: void initEGL(); - bool runScript(Script *s); + bool runScript(Script *s, uint32_t launchID); bool runRootScript(); static void * threadProc(void *); @@ -120,6 +123,8 @@ private: // todo: put in TLS static Context *gCon; Surface *mWndSurface; + + Vector<ObjectBase *> mNames; }; |
