summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-01-23 17:48:45 -0800
committerJason Sams <rjsams@android.com>2011-01-23 17:48:45 -0800
commitc55de66ad20c7834b04d605e8704dd2a0e3d23fa (patch)
tree72c1f4efe6fe2d8e9910f8becb0b46096bca8836 /libs/rs/rsScriptC.h
parentb867b1f6a2854e271223bddb2e39d594bdb493b6 (diff)
downloadframeworks_base-c55de66ad20c7834b04d605e8704dd2a0e3d23fa.zip
frameworks_base-c55de66ad20c7834b04d605e8704dd2a0e3d23fa.tar.gz
frameworks_base-c55de66ad20c7834b04d605e8704dd2a0e3d23fa.tar.bz2
Cleanup script init to fix bogus log printing and
reduce memory churn. Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
Diffstat (limited to 'libs/rs/rsScriptC.h')
-rw-r--r--libs/rs/rsScriptC.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h
index 612e38a..7143c67 100644
--- a/libs/rs/rsScriptC.h
+++ b/libs/rs/rsScriptC.h
@@ -76,11 +76,9 @@ public:
ScriptCState();
~ScriptCState();
- ObjectBaseRef<ScriptC> mScript;
+ char * mScriptText;
+ size_t mScriptLen;
- void init(Context *rsc);
-
- void clear(Context *rsc);
bool runCompiler(Context *rsc, ScriptC *s, const char *resName, const char *cacheDir);
struct SymbolTable_t {
@@ -88,7 +86,6 @@ public:
void * mPtr;
bool threadable;
};
- //static SymbolTable_t gSyms[];
static const SymbolTable_t * lookupSymbol(const char *);
static const SymbolTable_t * lookupSymbolCL(const char *);
static const SymbolTable_t * lookupSymbolGL(const char *);